summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
authoracurtis@pcgem.rdg.cyberkinetica.com <>2004-12-13 12:26:28 +0000
committeracurtis@pcgem.rdg.cyberkinetica.com <>2004-12-13 12:26:28 +0000
commit9818cadd1b9f755334ebb8bfb29546260d6fe676 (patch)
tree74dc7fe4fb76d0fd7e5bf58eca907c162b9d3b30 /sql/sql_prepare.cc
parent5b0e3b132c05c5aafbdef98bd2a6cf8a409323d9 (diff)
downloadmariadb-git-9818cadd1b9f755334ebb8bfb29546260d6fe676.tar.gz
WL#2274 - INSERT..SELECT..UPDATE
UPDATE clause conflicts with SELECT for use of item_list field. Alter UPDATE clause to use new lex field update_list Tests included
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index bcb9d18d827..f4a96d751cd 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -1343,7 +1343,7 @@ static int mysql_test_insert_select(Prepared_statement *stmt,
{
int res;
LEX *lex= stmt->lex;
- if ((res= insert_select_precheck(stmt->thd, tables)))
+ if ((res= insert_precheck(stmt->thd, tables)))
return res;
TABLE_LIST *first_local_table=
(TABLE_LIST *)lex->select_lex.table_list.first;