Bug #9636 INSERT INTO table from a complex View
| Submitted: | 5 Apr 2005 6:45 | Modified: | 15 May 2005 23:05 |
|---|---|---|---|
| Reporter: | David Hammink | Email Updates: | |
| Status: | Can't repeat | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 5.0.3 rpm | OS: | Linux (Linux Fedore Core 2) |
| Assigned to: | Oleksandr Byelkin | CPU Architecture: | Any |
[5 Apr 2005 6:45]
David Hammink
[5 Apr 2005 7:10]
David Hammink
Having changed the ALGORITHM to TEMPTABLE has solved the problem CREATE ALGORITHM=TEMPTABLE VIEW `StatsGermany`.`vwServiceNumbers` AS .....
[6 Apr 2005 18:30]
MySQL Verification Team
Verified with latest 5.0 BK tree.
(gdb) bt
#0 0x081e5876 in find_table_in_list (table=0x8efa9a8, offset=4, db_name=0x8ee12b0 "test",
table_name=0x8ef98e8 "tblServiceNumber") at sql_base.cc:707
#1 0x081cbba8 in find_table_in_global_list (table=0x8efa9a8, db_name=0x8ee12b0 "test",
table_name=0x8ef98e8 "tblServiceNumber") at mysql_priv.h:942
#2 0x081e5ab8 in unique_table (table=0x8ef9930, table_list=0x8efa9a8) at sql_base.cc:761
#3 0x08219def in select_insert::prepare (this=0x8f1b568, values=@0x8edd5bc, u=0x8edd374) at sql_insert.cc:1804
#4 0x081f40ca in JOIN::prepare (this=0x8ef5748, rref_pointer_array=0x8edd674, tables_init=0x8efa9a8,
wild_num=0, conds_init=0x8f1b4a8, og_num=0, order_init=0x0, group_init=0x0, having_init=0x0,
proc_param_init=0x0, select_lex_arg=0x8edd550, unit_arg=0x8edd374) at sql_select.cc:462
#5 0x081f86f9 in mysql_select (thd=0x8edd328, rref_pointer_array=0x8edd674, tables=0x8efa9a8, wild_num=0,
fields=@0x8edd5bc, conds=0x8f1b4a8, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0,
select_options=3498330624, result=0x8f1b568, unit=0x8edd374, select_lex=0x8edd550) at sql_select.cc:2031
#6 0x081f3829 in handle_select (thd=0x8edd328, lex=0x8edd368, result=0x8f1b568,
setup_tables_done_option=1073741824) at sql_select.cc:239
#7 0x081c2970 in mysql_execute_command (thd=0x8edd328) at sql_parse.cc:3176
#8 0x081c8225 in mysql_parse (thd=0x8edd328,
inBuf=0x8ef9770 "INSERT INTO tblServiceNumber\n (PrefixID,MachineID,DDI,PremiumRateNumber,GeographicNumber,TerminationID,\nSecurityCode,LanguageID)\nSELECT PrefixID,MachineID,DDI,PremiumRateNumber,IF(GeographicNumber IS\n"..., length=332) at sql_parse.cc:5156
#9 0x081be8ce in dispatch_command (command=COM_QUERY, thd=0x8edd328,
packet=0x8ef1711 "INSERT INTO tblServiceNumber\n (PrefixID,MachineID,DDI,PremiumRateNumber,GeographicNumber,TerminationID,\nSecurityCode,LanguageID)\nSELECT PrefixID,MachineID,DDI,PremiumRateNumber,IF(GeographicNumber IS\n"..., packet_length=333) at sql_parse.cc:1647
#10 0x081be17d in do_command (thd=0x8edd328) at sql_parse.cc:1453
#11 0x081bd308 in handle_one_connection (arg=0x8edd328) at sql_parse.cc:1110
#12 0xb7e4514b in pthread_start_thread () from /lib/libpthread.so.0
#13 0xb7e451df in pthread_start_thread_event () from /lib/libpthread.so.0
#14 0xb7d7850a in clone () from /lib/libc.so.6
[15 May 2005 23:05]
Oleksandr Byelkin
Thank you for bugreport! I can't repeat this bug on last bk repository, so it was fixed by some pervious bugfixes.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.