From 2090bc6e4347fe69189302a5b520ae3051785746 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 3 Apr 2003 13:07:42 +0300 Subject: Fixed bug in memory allocation that could affect 64 bit systems (affected hammer) mysys/my_vsnprintf.c: safety fix sql/log.cc: safety fix --- sql/ha_myisam.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/ha_myisam.cc') 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; -- cgit v1.2.1