diff options
author | unknown <jimw@mysql.com> | 2005-03-22 16:00:02 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-03-22 16:00:02 -0800 |
commit | 18e7d8f6d78fe83a1d4b53e605cfc4a22096fb45 (patch) | |
tree | 12ada67da810ea124528f68f0088718c36329d21 /bdb/hash | |
parent | 3a88de432160d0aa9bfb1cf6e8d3c4febd0eff71 (diff) | |
download | mariadb-git-18e7d8f6d78fe83a1d4b53e605cfc4a22096fb45.tar.gz |
Fix calls to memset() with arguments out of order. (Bug #9323)
bdb/hash/hash_open.c:
Fix order of arguments to memset()
bdb/btree/bt_open.c:
Fix order of arguments to memset()
ndb/src/kernel/vm/VMSignal.cpp:
Fix order of arguments to memset()
Diffstat (limited to 'bdb/hash')
-rw-r--r-- | bdb/hash/hash_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/hash/hash_open.c b/bdb/hash/hash_open.c index 041a1df1e7b..f976f5b6816 100644 --- a/bdb/hash/hash_open.c +++ b/bdb/hash/hash_open.c @@ -409,7 +409,7 @@ __ham_new_file(dbp, txn, fhp, name) goto err; } else { #ifdef DIAGNOSTIC - memset(buf, dbp->pgsize, 0); + memset(buf, 0, dbp->pgsize); #endif page = (PAGE *)buf; } |