summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2007-06-11 13:38:37 +0400
committerevgen@moonbone.local <>2007-06-11 13:38:37 +0400
commitdcc1d8229bcdb649ae7c22b383721cbf4859fb2d (patch)
tree849ace074847e7c48c28942442560a22b1ccad01 /sql/item_cmpfunc.cc
parenta52c981d6aa0a373b40f6b8ec3b431bc3a4606bb (diff)
downloadmariadb-git-dcc1d8229bcdb649ae7c22b383721cbf4859fb2d.tar.gz
item_cmpfunc.cc, field.cc, sql_insert.cc, sql_class.h, sql_yacc.yy:
Post merge fix.
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 19809ed08c7..39ea5ae1236 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -1772,6 +1772,7 @@ void Item_func_between::fix_length_and_dec()
int i;
bool datetime_found= FALSE;
compare_as_dates= TRUE;
+ THD *thd= current_thd;
/*
As some compare functions are generated after sql_yacc,