Bug #12172 | segmentation fault in c code using mysql API | ||
---|---|---|---|
Submitted: | 26 Jul 2005 9:18 | Modified: | 2 Aug 2005 11:10 |
Reporter: | Emad Damra | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | mysql-5.0.3 beta statndard verion | OS: | Linux (Linux Redhat 9) |
Assigned to: | CPU Architecture: | Any |
[26 Jul 2005 9:18]
Emad Damra
[26 Jul 2005 9:24]
Jan Lindström
Could you please provide output from show create table user_info and contents of that table if there are not very many rows (e.g. doing select * from user_info in mysql client). Regards, JanL
[26 Jul 2005 9:26]
Emad Damra
hi here is the output of your request: +-----------+----------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------ ------------------------------+ | Table | Create Table | +-----------+----------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------ ------------------------------+ | user_info | CREATE TABLE `user_info` ( `username` varchar(20) NOT NULL default '', `password` varchar(20) NOT NULL default '', `PrivilegeId` int(2) NOT NULL default '0', `GroupName` varchar(30) default NULL, UNIQUE KEY `username` (`username`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 | +-----------+----------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------------ ------------------------------+ 1 row in set (0.00 sec) Thanks alot..:)
[2 Aug 2005 11:10]
Andrey Hristov
Can't reproduce with 4.1.12 and 5.0.11-beta. As a side note C API does not check for consistency of the pointers passed to the library functions and every result from the API has be inspected in "user land".