summaryrefslogtreecommitdiff
path: root/sql/sp.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-07-22 00:26:33 +0200
committerunknown <serg@serg.mylan>2004-07-22 00:26:33 +0200
commit1d29e6b0d46abd0416a151734e3b95171a9666a4 (patch)
tree8cd0c0e590ed0d49e90882e0a975bd31a5e810b0 /sql/sp.cc
parenta9856042bc2955bb92da5a4b62fe5c756be84bcb (diff)
downloadmariadb-git-1d29e6b0d46abd0416a151734e3b95171a9666a4.tar.gz
after merge fixes
sql/opt_range.h: compatibility fix sql/sql_lex.cc: cleanup
Diffstat (limited to 'sql/sp.cc')
-rw-r--r--sql/sp.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sp.cc b/sql/sp.cc
index 408d676aebe..4164a27ca5f 100644
--- a/sql/sp.cc
+++ b/sql/sp.cc
@@ -265,8 +265,7 @@ db_find_routine(THD *thd, int type, sp_name *name, sp_head **sphp)
*/
List<Item> vals= thd->lex->value_list;
- mysql_init_query(thd, TRUE);
- lex_start(thd, (uchar*)defstr.c_ptr(), defstr.length());
+ mysql_init_query(thd, (uchar*)defstr.c_ptr(), defstr.length(), TRUE);
thd->lex->value_list= vals;
}