Bug #1434 | MySQL crashes on CREATE TABLE IF NOT EXISTS ... SELECT ... | ||
---|---|---|---|
Submitted: | 29 Sep 2003 13:24 | Modified: | 6 Oct 2003 10:54 |
Reporter: | Alexander Keremidarski | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | OS: | ||
Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[29 Sep 2003 13:24]
Alexander Keremidarski
[2 Oct 2003 21:36]
MySQL Verification Team
Thank you for the bug report I was able to repeat on 4.0.16 Windows server. below call stack: mysqld.exe!Field::set_notnull(int row_offset=0) Line 115 + 0xb C++ mysqld.exe!Item_int::save_in_field(Field * field=0xa5a5a5a5, int no_conversions=0) Line 557 C++ mysqld.exe!fill_record(Field * * ptr=0x031fc610, List<Item> & values={...}, int ignore_errors=1) Line 2149 + 0x11 C++ mysqld.exe!select_create::send_data(List<Item> & values={...}) Line 1469 + 0x12 C++ mysqld.exe!mysql_select(THD * thd=0x03205040, st_table_list * tables=0x00000000, List<Item> & fields={...}, Item * conds=0x00000000, st_order * order=0x00000000, st_order * group=0x00000000, Item * having=0x00000000, st_order * proc_param=0x00000000, unsigned long select_options=2231931904, select_result * result=0x031f85a0) Line 432 + 0x18 C++ mysqld.exe!handle_select(THD * thd=0x03205040, st_lex * lex=0x03205170, select_result * result=0x031f85a0) Line 191 + 0x51 C++ mysqld.exe!mysql_execute_command() Line 1660 + 0x11 C++ mysqld.exe!mysql_parse(THD * thd=0x03205040, char * inBuf=0x031f8470, unsigned int length=40) Line 2971 C++ mysqld.exe!dispatch_command(enum_server_command command=COM_QUERY, THD * thd=0x03205040, char * packet=0x00cf7041, unsigned int packet_length=40) Line 1064 + 0x17 C++ mysqld.exe!do_command(THD * thd=0x03205040) Line 939 + 0x31 C++ mysqld.exe!handle_one_connection(void * arg=0x03205040) Line 722 + 0x9 C++ mysqld.exe!pthread_start(void * param=0x00be7f18) Line 63 + 0x7 C mysqld.exe!_threadstart(void * ptd=0x00cf9080) Line 173 + 0xd C kernel32.dll!77e6d33b()
[6 Oct 2003 10:54]
Sergei Golubchik
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html fixed in 4.0.16