diff options
author | bell@sanja.is.com.ua <> | 2004-03-17 14:26:26 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-03-17 14:26:26 +0200 |
commit | 8035ce40eca47844ecda29d48e84639f9c9334d9 (patch) | |
tree | 879e13469f1915539666e702fc32401e7f3a61d2 /sql/item_row.cc | |
parent | b8c065c527846fdeb0122e26d3fc20731e28ca4f (diff) | |
download | mariadb-git-8035ce40eca47844ecda29d48e84639f9c9334d9.tar.gz |
DBUG_ASSERT(fixed == 0) added to fix_fields()
Diffstat (limited to 'sql/item_row.cc')
-rw-r--r-- | sql/item_row.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_row.cc b/sql/item_row.cc index 2b0cd38e3c1..c7e4bc0acf4 100644 --- a/sql/item_row.cc +++ b/sql/item_row.cc @@ -55,6 +55,7 @@ void Item_row::illegal_method_call(const char *method) bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref) { + DBUG_ASSERT(fixed == 0); null_value= 0; maybe_null= 0; Item **arg, **arg_end; @@ -78,6 +79,7 @@ bool Item_row::fix_fields(THD *thd, TABLE_LIST *tabl, Item **ref) maybe_null|= item->maybe_null; with_sum_func= with_sum_func || item->with_sum_func; } + fixed= 1; return 0; } |