summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-03-17 14:26:26 +0200
committerbell@sanja.is.com.ua <>2004-03-17 14:26:26 +0200
commit8035ce40eca47844ecda29d48e84639f9c9334d9 (patch)
tree879e13469f1915539666e702fc32401e7f3a61d2 /sql/item_strfunc.h
parentb8c065c527846fdeb0122e26d3fc20731e28ca4f (diff)
downloadmariadb-git-8035ce40eca47844ecda29d48e84639f9c9334d9.tar.gz
DBUG_ASSERT(fixed == 0) added to fix_fields()
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 5b9c442b5db..74b66d37491 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -100,6 +100,7 @@ public:
void update_used_tables();
bool fix_fields(THD *thd, TABLE_LIST *tlist, Item **ref)
{
+ DBUG_ASSERT(fixed == 0);
return (separator->fix_fields(thd, tlist, &separator) ||
separator->check_cols(1) ||
Item_func::fix_fields(thd, tlist, ref));
@@ -411,6 +412,7 @@ public:
String *val_str(String *str);
bool fix_fields(THD *thd, TABLE_LIST *tlist, Item **ref)
{
+ DBUG_ASSERT(fixed == 0);
return (item->fix_fields(thd, tlist, &item) ||
item->check_cols(1) ||
Item_func::fix_fields(thd, tlist, ref));