diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-18 04:58:15 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-18 04:58:15 +0300 |
commit | c91a3df5c38ee5f4ebc7e42f0c17da79d4930801 (patch) | |
tree | 4ac99859c8cc85b07cbaadfa18dc36026c886644 /extra | |
parent | 9d62e4a05b1c8399787b624a90e0cab0aa42c57c (diff) | |
download | mariadb-git-c91a3df5c38ee5f4ebc7e42f0c17da79d4930801.tar.gz |
Fix for LOAD DATA FROM MASTER when using tables with checksum
Fixed some wrong test cases
Docs/manual.texi:
Changelog
extra/perror.c:
Added BDB table errors
include/myisam.h:
Fix for LOAD DATA FROM MASTER when using tables with checksum
myisam/mi_check.c:
Fix for LOAD DATA FROM MASTER when using tables with checksum
mysql-test/mysql-test-run.sh:
Better logging
mysql-test/r/join.result:
Fixed missing results
mysql-test/r/rpl000006.result:
Updated result
mysql-test/t/join.test:
Fixed wrong test
mysql-test/t/rpl000001.test:
Fixed wrong test
mysql-test/t/rpl000006.test:
Cleanup
mysql-test/t/rpl000017-slave.sh:
Fixed too long password
mysql-test/t/rpl000017.test:
Fixed too long password
sql/ha_myisam.cc:
Fix for LOAD DATA FROM MASTER when using tables with checksum
sql/handler.cc:
Unique error for DEADLOCK
sql/slave.cc:
Fix for LOAD DATA FROM MASTER when using tables with checksum
Diffstat (limited to 'extra')
-rw-r--r-- | extra/perror.c | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/extra/perror.c b/extra/perror.c index 038665438d9..6cb86eedf27 100644 --- a/extra/perror.c +++ b/extra/perror.c @@ -17,7 +17,7 @@ /* Return error-text for system error messages and nisam messages */ -#define PERROR_VERSION "2.6" +#define PERROR_VERSION "2.7" #include <global.h> #include <my_sys.h> @@ -71,6 +71,18 @@ static HA_ERRORS ha_errlist[]= { 147,"Lock table is full; Restart program with a larger locktable"}, { 148,"Updates are not allowed under a read only transactions"}, { 149,"Lock deadlock; Retry transaction"}, + { -30999, "DB_INCOMPLETE: Sync didn't finish"}, + { -30998, "DB_KEYEMPTY: Key/data deleted or never created"}, + { -30997, "DB_KEYEXIST: The key/data pair already exists"}, + { -30996, "DB_LOCK_DEADLOCK: Deadlock"}, + { -30995, "DB_LOCK_NOTGRANTED: Lock unavailable"}, + { -30994, "DB_NOSERVER: Server panic return"}, + { -30993, "DB_NOSERVER_HOME: Bad home sent to server"}, + { -30992, "DB_NOSERVER_ID: Bad ID sent to server"}, + { -30991, "DB_NOTFOUND: Key/data pair not found (EOF)"}, + { -30990, "DB_OLD_VERSION: Out-of-date version"}, + { -30989, "DB_RUNRECOVERY: Panic return"}, + { -30988, "DB_VERIFY_BAD: Verify failed; bad format"}, { 0,NullS }, }; @@ -85,7 +97,8 @@ static void usage(void) { print_version(); puts("This software comes with ABSOLUTELY NO WARRANTY. This is free software,\nand you are welcome to modify and redistribute it under the GPL license\n"); - printf("Print a description for a system error code or a error code from\na MyISAM/ISAM table handler\n"); + printf("Print a description for a system error code or a error code from\na MyISAM/ISAM/BDB table handler.\n"); + printf("If you want to get the error for a negative error code, you should use\n-- before the first error code to tell perror that there was no more options.\n\n"); printf("Usage: %s [OPTIONS] [ERRORCODE [ERRORCODE...]]\n",my_progname); printf("\n\ -?, --help Displays this help and exits.\n\ |