summaryrefslogtreecommitdiff
path: root/sql/item_sum.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_sum.h
parentb8c065c527846fdeb0122e26d3fc20731e28ca4f (diff)
downloadmariadb-git-8035ce40eca47844ecda29d48e84639f9c9334d9.tar.gz
DBUG_ASSERT(fixed == 0) added to fix_fields()
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r--sql/item_sum.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h
index 11c95100db5..41d700b0ff8 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -533,6 +533,7 @@ public:
const char *func_name() const { return udf.name(); }
bool fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
{
+ DBUG_ASSERT(fixed == 0);
fixed= 1;
return udf.fix_fields(thd,tables,this,this->arg_count,this->args);
}