diff options
author | mskold/marty@mysql.com/linux.site <> | 2007-04-24 14:24:06 +0200 |
---|---|---|
committer | mskold/marty@mysql.com/linux.site <> | 2007-04-24 14:24:06 +0200 |
commit | eaba3f254840c4fca051e471576fe4279ae6f176 (patch) | |
tree | 03b91c4c17538204deb7f2a1c0bca9726b3688b4 /sql/ha_ndbcluster_cond.h | |
parent | b4b9a326b5ff7d252f6dcc2088c18d3c863509af (diff) | |
download | mariadb-git-eaba3f254840c4fca051e471576fe4279ae6f176.tar.gz |
ha_ndbcluster.h, ha_ndbcluster.cc:
Refactored code for engine_condition_pushdown to ha_ndbcluster_cond
Makefile.am:
Added compilation of ha_ndbcluster_cond
ha_ndbcluster_cond.h, ha_ndbcluster_cond.cc:
Merge
Diffstat (limited to 'sql/ha_ndbcluster_cond.h')
-rw-r--r-- | sql/ha_ndbcluster_cond.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/ha_ndbcluster_cond.h b/sql/ha_ndbcluster_cond.h index d4e68de6635..617302107d8 100644 --- a/sql/ha_ndbcluster_cond.h +++ b/sql/ha_ndbcluster_cond.h @@ -212,7 +212,12 @@ public: const Item *item= value.item; if (item && field) - ((Item *)item)->save_in_field(field, false); + { + my_bitmap_map *old_map= + dbug_tmp_use_all_columns(field->table, field->table->write_set); + ((Item *)item)->save_in_field(field, FALSE); + dbug_tmp_restore_column_map(field->table->write_set, old_map); + } }; static NDB_FUNC_TYPE item_func_to_ndb_func(Item_func::Functype fun) |