summaryrefslogtreecommitdiff
path: root/support-files/compiler_warnings.supp
diff options
context:
space:
mode:
authorMichael Widenius <monty@mariadb.org>2014-03-26 21:58:27 +0200
committerMichael Widenius <monty@mariadb.org>2014-03-26 21:58:27 +0200
commitded448d1d035d211c8146141546a08126bb728b6 (patch)
tree0ebba8935193517995519651885a34e46ff53515 /support-files/compiler_warnings.supp
parent99316b51b6e78191eca303dc35ae5a204f8b5c4f (diff)
downloadmariadb-git-ded448d1d035d211c8146141546a08126bb728b6.tar.gz
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
Diffstat (limited to 'support-files/compiler_warnings.supp')
-rw-r--r--support-files/compiler_warnings.supp2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/compiler_warnings.supp b/support-files/compiler_warnings.supp
index 17021bc4ddc..6a31ff21c55 100644
--- a/support-files/compiler_warnings.supp
+++ b/support-files/compiler_warnings.supp
@@ -49,7 +49,7 @@ ibuf/ibuf0ibuf.c: null argument where non-null required: 700-1000
fsp0fsp\.c: result of 32-bit shift implicitly converted to 64 bits
log/log0log\.c : passing arg 1 of `atomic_add_64_nv' from incompatible pointer type
log/log0online\.c : passing arg 1 of `atomic_add_64_nv' from incompatible pointer type
-buf/buf0buf\.c : warning: label.*loop2.* defined but not used
+buf/buf0buf\.c : label.*loop2.* defined but not used
#
# bdb is not critical to keep up to date