diff options
author | unknown <monty@narttu.mysql.fi> | 2003-04-03 13:07:42 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2003-04-03 13:07:42 +0300 |
commit | 2090bc6e4347fe69189302a5b520ae3051785746 (patch) | |
tree | ca9fb70f9dfcab0d4ec8417433c20b4c46587b71 /sql/ha_myisam.cc | |
parent | 68fc04c4236b57a3a83d5731fb991329d6be95ef (diff) | |
download | mariadb-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.cc | 2 |
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; |