Commit bab5491d authored by unknown's avatar unknown

Merge mysql.com:/home/jimw/my/mysql-4.1-9323

into mysql.com:/home/jimw/my/mysql-4.1-clean
parents a143dd14 f73f6c91
...@@ -489,7 +489,7 @@ __bam_new_file(dbp, txn, fhp, name) ...@@ -489,7 +489,7 @@ __bam_new_file(dbp, txn, fhp, name)
goto err; goto err;
} else { } else {
#ifdef DIAGNOSTIC #ifdef DIAGNOSTIC
memset(buf, dbp->pgsize, 0); memset(buf, 0, dbp->pgsize);
#endif #endif
root = (PAGE *)buf; root = (PAGE *)buf;
} }
......
...@@ -409,7 +409,7 @@ __ham_new_file(dbp, txn, fhp, name) ...@@ -409,7 +409,7 @@ __ham_new_file(dbp, txn, fhp, name)
goto err; goto err;
} else { } else {
#ifdef DIAGNOSTIC #ifdef DIAGNOSTIC
memset(buf, dbp->pgsize, 0); memset(buf, 0, dbp->pgsize);
#endif #endif
page = (PAGE *)buf; page = (PAGE *)buf;
} }
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
#include <string.h> #include <string.h>
Signal::Signal(){ Signal::Signal(){
memset(&header, sizeof(header), 0); memset(&header, 0, sizeof(header));
memset(theData, sizeof(theData), 0); memset(theData, 0, sizeof(theData));
} }
void void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment