1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00
configure.in:
  Auto merged
Docs/manual.texi:
  Auto merged
myisam/mi_create.c:
  Auto merged
This commit is contained in:
unknown
2001-09-02 20:13:07 +02:00
4 changed files with 16 additions and 14 deletions

View File

@ -64,7 +64,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
ci=&tmp_create_info;
}
if (keys + uniques > MI_MAX_KEY)
if (keys + uniques > MI_MAX_KEY || columns == 0)
{
DBUG_RETURN(my_errno=HA_WRONG_CREATE_OPTION);
}