diff options
author | unknown <monty@tramp.mysql.fi> | 2001-10-29 10:49:35 +0200 |
---|---|---|
committer | unknown <monty@tramp.mysql.fi> | 2001-10-29 10:49:35 +0200 |
commit | b3a974963dee53187668e9f467310069b4a67fcc (patch) | |
tree | fc5532fe3c9a3bc29a1e71b5db41e1b702f4980a /myisam/mi_open.c | |
parent | 440de598ee325364b89468c8bd66925956b0e66f (diff) | |
download | mariadb-git-b3a974963dee53187668e9f467310069b4a67fcc.tar.gz |
Fixed error message when opening a not-MyISAM file.
Extended MODIFY and CHANGE in ALTER TABLE to accept the AFTER keyword.
Extended MyISAM to handle records > 16M.
Docs/manual.texi:
Updated state of different modules.
Rewrote description of 'perror' and 'Packet too large'.
myisam/mi_dynrec.c:
Extended MyISAM to handle records > 16M
myisam/mi_open.c:
Fix error message when opening a not-MyISAM file.
myisam/myisamdef.h:
Extended MyISAM to handle records > 16M
mysql-test/r/alter_table.result:
Added test for CHANGE col ... AFTER
mysql-test/t/alter_table.test:
Added test for CHANGE col ... AFTER
sql/sql_table.cc:
Extended MODIFY and CHANGE in ALTER TABLE to accept the AFTER keyword.
sql/sql_yacc.yy:
Extended MODIFY and CHANGE in ALTER TABLE to accept the AFTER keyword.
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r-- | myisam/mi_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index 675dac38d41..6da1dc926c5 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -115,7 +115,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) DBUG_PRINT("error",("Wrong header in %s",name_buff)); DBUG_DUMP("error_dump",(char*) share->state.header.file_version, head_length); - my_errno=HA_ERR_CRASHED; + my_errno=HA_ERR_WRONG_TABLE_DEF; goto err; } share->options= mi_uint2korr(share->state.header.options); |