summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authordavi@mysql.com/endora.local <>2008-02-28 20:22:11 -0300
committerdavi@mysql.com/endora.local <>2008-02-28 20:22:11 -0300
commit369c24937036a7850e61f7a77d5f9e169be3f724 (patch)
treeed97f664f7bd0542b628de12d3d64ab16fa85ea3 /sql/item.cc
parent361262c7c0fa9b755a625852be384de4444dc099 (diff)
downloadmariadb-git-369c24937036a7850e61f7a77d5f9e169be3f724.tar.gz
Post-merge fix for Bug 33851. The initialization order of members
must match the order which they were declared in the class definition.
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc
index a6a18e27b09..a9e99c65580 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -2385,14 +2385,14 @@ default_set_param_func(Item_param *param,
Item_param::Item_param(unsigned pos_in_query_arg) :
- limit_clause_param(FALSE),
state(NO_VALUE),
item_result_type(STRING_RESULT),
/* Don't pretend to be a literal unless value for this item is set. */
item_type(PARAM_ITEM),
param_type(MYSQL_TYPE_VARCHAR),
pos_in_query(pos_in_query_arg),
- set_param_func(default_set_param_func)
+ set_param_func(default_set_param_func),
+ limit_clause_param(FALSE)
{
name= (char*) "?";
/*