From b3d977df1071ab18440ae995bbcf974054abe209 Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Fri, 17 Jun 2005 23:26:25 +0400 Subject: Rename all prepared statements COM_ commands to prefix with COM_STMT_ --- sql/sql_lex.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_lex.cc') diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 1270aab18ae..d1adb66bd80 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -967,7 +967,7 @@ int yylex(void *arg, void *yythd) { THD* thd= (THD*)yythd; if ((thd->client_capabilities & CLIENT_MULTI_STATEMENTS) && - (thd->command != COM_PREPARE)) + (thd->command != COM_STMT_PREPARE)) { lex->safe_to_cache_query= 0; lex->found_semicolon=(char*) lex->ptr; -- cgit v1.2.1