mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
Merge mysql.com:/home/jimw/my/mysql-4.1-9323
into mysql.com:/home/jimw/my/mysql-4.1-clean
This commit is contained in:
commit
3785d2188f
3 changed files with 4 additions and 4 deletions
|
|
@ -489,7 +489,7 @@ __bam_new_file(dbp, txn, fhp, name)
|
|||
goto err;
|
||||
} else {
|
||||
#ifdef DIAGNOSTIC
|
||||
memset(buf, dbp->pgsize, 0);
|
||||
memset(buf, 0, dbp->pgsize);
|
||||
#endif
|
||||
root = (PAGE *)buf;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
#include <string.h>
|
||||
|
||||
Signal::Signal(){
|
||||
memset(&header, sizeof(header), 0);
|
||||
memset(theData, sizeof(theData), 0);
|
||||
memset(&header, 0, sizeof(header));
|
||||
memset(theData, 0, sizeof(theData));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue