1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Changed to use my_global.h

Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
This commit is contained in:
monty@hundin.mysql.fi
2001-09-14 02:54:33 +03:00
parent e28586e005
commit 7cadc6e711
143 changed files with 261 additions and 179 deletions

View File

@@ -839,14 +839,16 @@ int ha_create_table(const char *name, HA_CREATE_INFO *create_info,
}
error=table.file->create(name,&table,create_info);
VOID(closefrm(&table));
if (error) {
if (table.db_type == DB_TYPE_INNOBASE) {
if (error)
{
if (table.db_type == DB_TYPE_INNODB)
{
/* Creation of InnoDB table cannot fail because of an OS error:
put error as the number */
my_error(ER_CANT_CREATE_TABLE,MYF(ME_BELL+ME_WAITTANG),name,error);
} else {
my_error(ER_CANT_CREATE_TABLE,MYF(ME_BELL+ME_WAITTANG),name,my_errno);
}
else
my_error(ER_CANT_CREATE_TABLE,MYF(ME_BELL+ME_WAITTANG),name,my_errno);
}
DBUG_RETURN(error != 0);
}