summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authortimour/timka@lamia.home <>2006-09-13 15:24:06 +0300
committertimour/timka@lamia.home <>2006-09-13 15:24:06 +0300
commitc8ebf3761e99e62bd665b9b8edc2bcd74b260a38 (patch)
tree8f02ee23dfe417cd983e0b773685472e8731acc9 /sql/sql_parse.cc
parente38f04a09f3c5fbc261273cb50bbf06434830fa3 (diff)
parent38a450b44a64176effcc94a26f65f3d049fd2b73 (diff)
downloadmariadb-git-c8ebf3761e99e62bd665b9b8edc2bcd74b260a38.tar.gz
Merge lamia.home:/home/timka/mysql/src/5.0-bug-21774-sm
into lamia.home:/home/timka/mysql/src/5.0-dbg
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index e2c147e4cf7..d809c1b2cb0 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -3344,8 +3344,6 @@ end_with_restore_list:
DBUG_ASSERT(first_table == all_tables && first_table != 0);
if ((res= insert_precheck(thd, all_tables)))
break;
- /* Skip first table, which is the table we are inserting in */
- select_lex->context.table_list= first_table->next_local;
if (!thd->locked_tables &&
!(need_start_waiting= !wait_if_global_read_lock(thd, 0, 1)))