Bug #21919 | Segmentation fault when reporting ER_DUP_ENTRY | ||
---|---|---|---|
Submitted: | 30 Aug 2006 8:23 | Modified: | 22 Oct 2007 11:32 |
Reporter: | Marko Mäkelä | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S4 (Feature request) |
Version: | 5.1-bk | OS: | Any (all) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[30 Aug 2006 8:23]
Marko Mäkelä
[30 Aug 2006 9:22]
Sveta Smirnova
Thank you for the reasonable feature request. Problem can be repeated as below: $libexec/mysqld --defaults-file=support-files/my-small.cnf --skip-networking --basedir=. --datadir=./data --log-error --language=/users/ssmirnova/mysql5.1b/share/mysql/english & $bin/mysql -uroot test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 5.0.25-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> CREATE TABLE `t1` ( -> `id` int(11) NOT NULL default '0', -> PRIMARY KEY (`id`) -> ) ENGINE=MyISAM DEFAULT CHARSET=latin1; Query OK, 0 rows affected (0.11 sec) mysql> insert into t1 values(1),(2),(3); Query OK, 3 rows affected (0.00 sec) Records: 3 Duplicates: 0 Warnings: 0 mysql> insert into t1 values(1); ERROR 2013 (HY000): Lost connection to MySQL server during query mysql> \q Bye [1]+ Exit 1 libexec/mysqld --defaults-file=support-files/my-small.cnf --skip-networking --basedir=. --datadir=./data --log-error --language=/users/ssmirnova/mysql5.1b/share/mysql/english
[22 Oct 2007 11:32]
Sergei Golubchik
Fixed as bug#28842