summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-04-03 13:07:42 +0300
committerunknown <monty@narttu.mysql.fi>2003-04-03 13:07:42 +0300
commit2090bc6e4347fe69189302a5b520ae3051785746 (patch)
treeca9fb70f9dfcab0d4ec8417433c20b4c46587b71 /sql/ha_myisam.cc
parent68fc04c4236b57a3a83d5731fb991329d6be95ef (diff)
downloadmariadb-git-2090bc6e4347fe69189302a5b520ae3051785746.tar.gz
Fixed bug in memory allocation that could affect 64 bit systems (affected hammer)
mysys/my_vsnprintf.c: safety fix sql/log.cc: safety fix
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index 895558320fd..d0d68156bac 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -953,7 +953,7 @@ int ha_myisam::create(const char *name, register TABLE *form,
&keydef, form->keys*sizeof(MI_KEYDEF),
&keyseg,
((form->key_parts + form->keys) * sizeof(MI_KEYSEG)),
- 0)))
+ NullS)))
DBUG_RETURN(1);
pos=form->key_info;