mariadb/storage/heap
Michael Widenius ded448d1d0 MDEV-5905: Creating tmp. memory table kills the server
The reason was that a couple of variables that hold number of rows that was used to calculate buffers was uint and caused an overflow.

Fixed by changing variables that could hold number of rows from uint to ulong and also added a cast for this test.

include/heap.h:
  Reorder to get better alignment. Changed variables that could hold number of rows from uint to ulong
mysql-test/suite/heap/heap.result:
  Added test case
mysql-test/suite/heap/heap.test:
  Added test case
mysql-test/suite/plugins/t/server_audit.test:
  Added sleep as we want to have disconnect logged before we try a new connect
storage/heap/ha_heap.cc:
  Changed variables that could hold number of rows from uint to ulong
  Limit number of rows to 4G  (as most of the variables that holds rows are ulong anyway)
  reset records_changed when key_stat_version is changed to not cause increments for every row changed
storage/heap/ha_heap.h:
  changed records_changed to ulong as this can get big
storage/heap/hp_create.c:
  Changed variables that could hold number of rows from uint to ulong
  Added cast (fixed the original bug)
storage/heap/hp_delete.c:
  Changed variables that could hold number of rows from uint to ulong
storage/heap/hp_open.c:
  Removed not needed cast
storage/heap/hp_write.c:
  Changed variables that could hold number of rows from uint to ulong
support-files/compiler_warnings.supp:
  Removed extra : from supression
2014-03-26 21:58:27 +02:00
..
mysql-test/mtr2 overlay support for mysql-test-run and mysqltest 2012-02-23 07:50:11 +01:00
_check.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
_rectest.c Updated/added copyright headers 2014-01-06 10:52:35 +05:30
ChangeLog Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
CMakeLists.txt MDEV-672 : storage/maria and storage/perfschema do not appear to honor WITH_UNIT_TESTS 2012-10-30 23:05:55 +01:00
ha_heap.cc MDEV-5905: Creating tmp. memory table kills the server 2014-03-26 21:58:27 +02:00
ha_heap.h MDEV-5905: Creating tmp. memory table kills the server 2014-03-26 21:58:27 +02:00
heapdef.h Merge mariadb 5.3->mariadb 5.5 2012-03-24 18:21:22 +01:00
hp_block.c Use less memory when growing HEAP tables. See MDEV-436 2012-08-07 01:58:05 +03:00
hp_clear.c mysql-5.5.18 merge 2011-11-03 19:17:05 +01:00
hp_close.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
hp_create.c MDEV-5905: Creating tmp. memory table kills the server 2014-03-26 21:58:27 +02:00
hp_delete.c MDEV-5905: Creating tmp. memory table kills the server 2014-03-26 21:58:27 +02:00
hp_extra.c Updated/added copyright headers 2014-01-06 10:52:35 +05:30
hp_hash.c Fixed Bug#1002564: Wrong result for a lookup query from a heap table 2012-09-10 16:46:33 +03:00
hp_info.c Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
hp_open.c MDEV-5905: Creating tmp. memory table kills the server 2014-03-26 21:58:27 +02:00
hp_panic.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
hp_rename.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
hp_rfirst.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
hp_rkey.c 5.3->5.5 merge 2012-11-22 10:19:31 +01:00
hp_rlast.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
hp_rnext.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
hp_rprev.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
hp_rrnd.c Updated/added copyright headers 2014-01-06 10:52:35 +05:30
hp_rsame.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
hp_scan.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
hp_static.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
hp_test1.c Updated/added copyright headers 2011-06-30 17:46:53 +02:00
hp_test2.c Merge mariadb 5.3->mariadb 5.5 2012-03-24 18:21:22 +01:00
hp_update.c MySQL-5.5.36 merge 2014-02-17 11:00:51 +01:00
hp_write.c MDEV-5905: Creating tmp. memory table kills the server 2014-03-26 21:58:27 +02:00