diff options
author | konstantin@mysql.com <> | 2005-06-17 23:26:25 +0400 |
---|---|---|
committer | konstantin@mysql.com <> | 2005-06-17 23:26:25 +0400 |
commit | b3d977df1071ab18440ae995bbcf974054abe209 (patch) | |
tree | c717e85867b447ea03e767d03e54e0085e7ecbee /sql/item_cmpfunc.cc | |
parent | c78b19768d9247ef5b1fd1cd3f15707a62df3a26 (diff) | |
download | mariadb-git-b3d977df1071ab18440ae995bbcf974054abe209.tar.gz |
Rename all prepared statements COM_ commands to prefix with COM_STMT_
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r-- | sql/item_cmpfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index eabc89bc429..5a2e14eef2e 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -649,7 +649,7 @@ bool Item_in_optimizer::fix_left(THD *thd, If it is preparation PS only then we do not know values of parameters => cant't get there values and do not need that values. */ - if (!thd->only_prepare()) + if (!thd->current_arena->is_stmt_prepare()) cache->store(args[0]); if (cache->cols() == 1) { |