diff options
author | unknown <hf@deer.(none)> | 2004-01-19 19:53:25 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-01-19 19:53:25 +0400 |
commit | 25a2c07330241d88a439161d14d0390aac00945c (patch) | |
tree | 6442c2ebc134789f4bed8f0e909b2928c8f04321 /sql/item_cmpfunc.cc | |
parent | ddd422cc710366b17ee861f81a3c61ee23b3032f (diff) | |
download | mariadb-git-25a2c07330241d88a439161d14d0390aac00945c.tar.gz |
Code cleanup (working on PS & cleanup() code)
Item & changed with Item* in Item_xxx constructors
tables_list.first -> get_table_list()
sql/item.cc:
Item& -> Item*
sql/item.h:
Item& -> Item*
sql/item_cmpfunc.cc:
Item& -> Item*
sql/item_cmpfunc.h:
Item& -> Item*
sql/item_func.cc:
Item& -> Item*
sql/item_func.h:
Item& -> Item*
sql/item_sum.cc:
Item& -> Item*
sql/item_sum.h:
Item& -> Item*
sql/item_uniq.h:
Item& -> Item*
sql/sql_prepare.cc:
Code cleanup
sql/sql_select.cc:
Item& -> Item*
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r-- | sql/item_cmpfunc.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index 4b270c6aad0..0b9c7f8d92a 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -1651,10 +1651,10 @@ longlong Item_func_bit_and::val_int() return (longlong) (arg1 & arg2); } -Item_cond::Item_cond(THD *thd, Item_cond &item) +Item_cond::Item_cond(THD *thd, Item_cond *item) :Item_bool_func(thd, item), - abort_on_null(item.abort_on_null), - and_tables_cache(item.and_tables_cache) + abort_on_null(item->abort_on_null), + and_tables_cache(item->and_tables_cache) { /* here should be following text: |