summaryrefslogtreecommitdiff
path: root/sql/ha_heap.h
diff options
context:
space:
mode:
authorunknown <ingo@mysql.com>2005-06-24 19:47:18 +0200
committerunknown <ingo@mysql.com>2005-06-24 19:47:18 +0200
commit2e6d41d13202d7c7756e502592340295af1684eb (patch)
treeafb4dd093ca8e3fdf8832f455c54e2b835bf00f8 /sql/ha_heap.h
parentbe3d7091703c73686e4d6097734245a40151c276 (diff)
parenta7e66efc2cc37b8ca32868ac8c8e3e3c05675e48 (diff)
downloadmariadb-git-2e6d41d13202d7c7756e502592340295af1684eb.tar.gz
Bug#10178 - failure to find a row in heap table by concurrent UPDATEs
Bug#10568 - Function 'LAST_DAY(date)' does not return NULL for invalid argument. Manual merge. include/my_global.h: Auto merged mysql-test/t/heap_hash.test: Auto merged sql/ha_heap.h: Auto merged sql/item_timefunc.cc: Auto merged mysql-test/r/func_time.result: Manual merge. Used local for the backported fix for Bug#10568. mysql-test/r/heap_hash.result: Bug#10178 - failure to find a row in heap table by concurrent UPDATEs Manual merge. mysql-test/t/func_time.test: Manual merge. Used local for the backported fix for Bug#10568. sql/ha_heap.cc: Bug#10178 - failure to find a row in heap table by concurrent UPDATEs Manual merge.
Diffstat (limited to 'sql/ha_heap.h')
-rw-r--r--sql/ha_heap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/ha_heap.h b/sql/ha_heap.h
index 2aa065e0d96..7a97c727049 100644
--- a/sql/ha_heap.h
+++ b/sql/ha_heap.h
@@ -29,8 +29,10 @@ class ha_heap: public handler
key_map btree_keys;
/* number of records changed since last statistics update */
uint records_changed;
+ bool key_stats_ok;
public:
- ha_heap(TABLE *table): handler(table), file(0), records_changed(0) {}
+ ha_heap(TABLE *table): handler(table), file(0), records_changed(0),
+ key_stats_ok(0) {}
~ha_heap() {}
const char *table_type() const
{