Michael Widenius
f610296d98
Changed MariaDB error numbers to start from 1900 to not conflict with MySQL error numbers
...
extra/comp_err.c:
Allow one to have multiple start-error-numbers in the same error.txt file.
Generate 'empty' error strings for the missing error numbers in the errmsg.sys file
mysql-test/r/bigint.result:
Update results to use new error numbers
mysql-test/r/dyncol.result:
Update results to use new error numbers
mysql-test/r/func_math.result:
Update results to use new error numbers
mysql-test/r/func_str.result:
Update results to use new error numbers
mysql-test/r/plugin.result:
Update results to use new error numbers
mysql-test/r/table_options.result:
Update results to use new error numbers
mysql-test/r/type_newdecimal.result:
Update results to use new error numbers
mysql-test/r/warnings.result:
Update results to use new error numbers
mysql-test/suite/vcol/r/vcol_ins_upd_innodb.result:
Update results to use new error numbers
mysql-test/suite/vcol/r/vcol_ins_upd_myisam.result:
Update results to use new error numbers
mysql-test/suite/vcol/r/vcol_misc.result:
Update results to use new error numbers
sql/derror.cc:
Ensure we don't read a errmsg.sys with a missing required error message; This change was needed as errmsg.sys may now contain empty error messages between the MySQL and MariaDB error messages.
If error message file didn't exist and we have not read one in the past, don't continue.
Give better error message if the errmsg.sys header has changed.
sql/share/errmsg.txt:
Create new section, starting from 1900, for MariaDB error messages
2011-05-21 00:46:18 +03:00
..
2009-08-25 15:56:50 +02:00
2011-04-28 19:56:10 +03:00
2010-09-15 15:48:15 +03:00
2010-05-24 21:54:08 +08:00
2010-03-04 09:03:07 +01:00
2011-04-14 12:11:57 +04:00
2010-10-18 13:33:05 -07:00
2011-01-20 19:08:12 +02:00
2011-01-04 14:36:37 +01:00
2010-02-09 11:30:50 +01:00
2011-05-21 00:46:18 +03:00
2010-05-28 00:07:40 +04:00
2010-02-02 14:17:21 +02:00
2010-04-22 15:52:00 +02:00
2009-09-18 16:01:18 +03:00
2010-01-15 17:27:55 +02:00
2009-10-27 12:09:19 +04:00
2011-05-11 02:41:02 +03:00
2011-02-28 19:39:30 +02:00
2011-01-14 19:50:34 +05:30
2011-01-28 12:09:15 +00:00
2010-09-06 15:34:24 +03:00
2010-10-18 13:33:05 -07:00
2009-05-15 12:15:56 +02:00
2009-05-15 12:15:56 +02:00
2011-02-28 19:39:30 +02:00
2009-05-11 20:54:00 -03:00
2009-04-16 13:47:44 -04:00
2009-12-22 13:52:23 +04:00
2010-05-24 21:54:08 +08:00
2009-12-27 15:54:41 +02:00
2011-05-16 14:05:45 +03:00
2011-01-25 12:14:28 +05:30
2011-01-20 19:08:12 +02:00
2011-04-02 14:04:45 +04:00
2009-05-31 13:44:41 +08:00
2011-05-10 18:17:43 +03:00
2011-02-17 12:43:53 +01:00
2011-02-17 12:43:53 +01:00
2011-02-17 12:43:53 +01:00
2009-07-24 11:27:23 +05:00
2009-09-30 08:35:31 +02:00
2010-11-18 11:53:08 +03:00
2010-03-22 16:27:59 +04:00
2011-01-17 15:11:33 +03:00
2009-08-10 15:46:20 -03:00
2011-03-03 18:39:26 +03:00
2009-11-30 14:42:24 +02:00
2011-05-02 20:58:45 +03:00
2010-11-11 13:25:23 +03:00
2010-12-10 23:23:34 -08:00
2010-11-12 13:12:15 +03:00
2011-02-22 19:28:50 +05:30
2011-02-22 19:28:50 +05:30
2009-09-29 17:38:40 +02:00
2010-02-17 16:13:42 +04:00
2010-01-15 17:27:55 +02:00
2010-08-31 02:16:38 +04:00
2011-03-09 15:47:59 +02:00
2010-10-18 13:33:05 -07:00
2010-09-03 19:20:30 +03:00
2011-05-21 00:46:18 +03:00
2010-06-24 15:21:23 +02:00
2011-05-03 19:10:10 +03:00
2010-05-19 11:18:59 +02:00
2009-08-03 22:09:53 +02:00
2011-05-10 23:20:35 +03:00
2010-05-24 21:54:08 +08:00
2011-04-28 18:02:26 +03:00
2010-03-10 15:39:02 +02:00
2009-12-22 17:52:15 +02:00
2010-11-25 00:57:34 +02:00
2011-02-03 17:00:28 +02:00
2010-06-26 14:05:41 +04:00
2009-06-01 16:00:38 +04:00
2009-04-17 18:52:57 +03:00
2011-03-03 15:04:04 +03:00
2009-04-27 15:05:01 +05:00
2011-03-09 15:47:59 +02:00
2010-10-18 13:33:05 -07:00
2011-05-16 15:07:04 +03:00
2011-05-10 18:17:43 +03:00
2010-06-08 10:22:40 +04:00
2011-01-17 12:30:22 +03:00
2011-05-21 00:46:18 +03:00
2010-11-25 00:57:34 +02:00
2010-08-13 16:05:46 +03:00
2009-06-16 16:36:15 +02:00
2011-05-21 00:46:18 +03:00
2011-05-12 14:30:34 +03:00
2010-04-28 14:52:24 +02:00
2011-05-10 18:17:43 +03:00
2010-03-29 17:13:53 +02:00
2010-10-18 21:03:53 +07:00
2011-05-18 16:27:19 +03:00
2011-05-18 16:27:19 +03:00
2009-10-27 12:09:19 +04:00
2011-05-03 19:10:10 +03:00
2010-10-18 13:33:05 -07:00
2011-05-16 15:07:04 +03:00
2011-02-03 17:00:28 +02:00
2011-04-19 14:34:40 +02:00
2009-05-05 17:03:23 -04:00
2009-09-29 17:38:40 +02:00
2009-10-05 15:22:23 +02:00
2011-05-02 20:58:45 +03:00
2010-11-23 12:35:37 +02:00
2010-11-23 12:35:37 +02:00
2009-12-15 10:16:46 +03:00
2011-05-11 13:59:17 +03:00
2011-05-11 13:59:17 +03:00
2011-01-14 13:07:50 +03:00
2011-05-02 21:59:16 +03:00
2010-09-11 20:43:48 +02:00
2010-11-29 18:51:46 -06:00
2010-11-29 18:51:46 -06:00
2010-12-19 18:07:28 +01:00
2010-04-12 14:56:24 +03:00
2010-04-12 14:56:24 +03:00
2010-04-12 14:56:24 +03:00
2010-01-15 16:58:25 +01:00
2009-06-09 15:19:13 +02:00
2009-06-09 15:19:13 +02:00
2009-06-09 15:19:13 +02:00
2010-01-15 16:58:25 +01:00
2010-01-15 16:58:25 +01:00
2010-01-15 16:58:25 +01:00
2010-01-15 16:58:25 +01:00
2011-02-08 19:17:12 -08:00
2010-06-10 11:11:52 +02:00
2009-06-09 15:19:13 +02:00
2011-04-02 14:04:45 +04:00
2011-04-02 14:04:45 +04:00
2010-05-28 00:07:40 +04:00
2011-01-27 15:56:44 +01:00
2010-04-12 14:56:24 +03:00
2009-12-27 15:54:41 +02:00
2009-06-09 15:19:13 +02:00
2010-01-15 16:58:25 +01:00
2009-06-09 15:19:13 +02:00
2010-04-12 14:56:24 +03:00
2010-04-12 14:56:24 +03:00
2010-04-12 14:56:24 +03:00
2010-01-18 13:56:10 +01:00
2011-04-02 14:04:45 +04:00
2011-02-16 21:43:12 +01:00
2009-04-28 20:12:18 +02:00
2010-10-19 15:58:35 +02:00
2011-04-04 12:38:08 +04:00
2011-05-02 21:59:16 +03:00
2011-03-01 14:16:28 +02:00
2009-12-15 10:16:46 +03:00
2011-05-04 18:08:44 -07:00
2011-05-04 18:08:44 -07:00
2011-03-30 10:10:59 +03:00
2011-04-02 14:04:45 +04:00
2010-10-18 13:33:05 -07:00
2011-02-03 17:00:28 +02:00
2009-06-07 13:05:19 +03:00
2011-04-15 12:51:34 +04:00
2009-10-19 13:44:44 +05:00
2009-08-28 18:49:16 -03:00
2009-08-28 18:49:16 -03:00
2011-01-10 23:22:40 +02:00
2011-03-29 10:09:05 +02:00
2009-10-19 20:14:48 +03:00
2010-05-12 13:19:12 +02:00
2009-06-15 20:27:27 -03:00
2010-09-06 02:15:34 +03:00
2011-02-28 19:39:30 +02:00
2009-10-27 12:09:19 +04:00
2010-10-27 16:31:22 -07:00
2011-04-04 16:04:15 +03:00
2009-08-28 16:13:27 +02:00
2010-10-19 12:27:09 +02:00
2010-06-25 15:59:44 +03:00
2011-02-08 19:17:12 -08:00
2011-04-02 14:04:45 +04:00
2010-11-02 17:22:57 +02:00
2009-10-03 21:12:24 +02:00
2011-04-02 14:04:45 +04:00
2010-03-12 10:33:16 +04:00
2011-04-02 14:04:45 +04:00
2010-12-14 12:33:03 +03:00
2009-10-14 16:26:16 +05:00
2009-10-28 09:52:34 +02:00
2011-02-18 21:45:32 +02:00
2011-05-02 21:59:16 +03:00
2011-04-04 12:38:08 +04:00
2009-04-07 17:06:15 +05:30
2010-07-30 09:17:10 -03:00
2010-09-06 02:15:34 +03:00
2009-06-25 02:44:14 +04:00
2009-06-10 11:24:47 +04:00
2010-12-01 12:25:31 +05:30
2011-01-16 02:04:08 +05:30
2011-01-12 19:32:45 +00:00
2010-03-22 13:10:18 +01:00
2009-08-27 10:32:27 +01:00
2009-09-30 08:35:31 +02:00
2011-01-13 13:28:36 +01:00
2011-05-10 18:17:43 +03:00
2011-01-29 18:51:12 +01:00
2009-10-02 14:09:01 +03:00
2010-12-19 18:07:28 +01:00
2011-05-03 14:01:11 +02:00
2011-05-02 20:58:45 +03:00
2010-06-03 10:31:26 +02:00
2010-06-03 10:31:26 +02:00
2009-04-08 18:55:26 +02:00
2011-05-02 20:58:45 +03:00
2009-10-09 10:09:24 +02:00
2011-05-18 15:17:26 +02:00
2011-02-12 17:44:01 +01:00
2009-12-15 10:16:46 +03:00
2010-02-05 17:51:55 +00:00
2011-02-04 10:47:46 +06:00
2010-09-05 13:52:33 +03:00
2009-06-05 18:36:14 +03:00
2009-09-25 11:26:49 +02:00
2011-03-05 12:56:22 +03:00
2011-04-02 14:04:45 +04:00
2009-11-06 17:54:19 +03:00
2010-06-14 01:13:32 +03:00
2011-03-01 14:16:28 +02:00
2011-05-10 18:17:43 +03:00
2010-05-07 00:41:37 +04:00
2011-03-25 12:57:27 +02:00
2009-05-20 17:04:44 -07:00
2009-04-17 16:00:53 -04:00
2010-11-24 18:51:31 +01:00
2009-12-13 23:29:50 +03:00
2009-09-03 08:38:06 +02:00
2010-02-01 16:07:00 +01:00
2011-01-26 16:50:21 +01:00
2010-05-11 16:49:23 +02:00
2010-08-27 10:43:51 +02:00
2009-09-25 11:26:49 +02:00
2010-10-05 14:57:51 +02:00
2010-12-08 14:34:08 +01:00
2010-10-15 20:13:35 +05:00
2009-04-17 16:00:53 -04:00
2010-07-08 14:36:55 +02:00
2009-07-27 16:50:43 +05:30
2009-10-08 15:36:43 +02:00
2010-12-06 10:25:44 +02:00
2010-08-27 10:43:51 +02:00
2009-07-27 16:50:43 +05:30
2011-01-24 13:41:44 +01:00
2010-06-16 19:01:22 +02:00
2010-12-01 13:54:50 +01:00
2011-05-21 00:46:18 +03:00
2010-10-18 13:33:05 -07:00
2011-04-02 14:04:45 +04:00
2010-12-06 10:25:44 +02:00
2010-11-23 23:39:59 +02:00
2010-11-23 23:39:59 +02:00
2010-11-23 23:39:59 +02:00
2011-02-03 17:00:28 +02:00
2010-10-27 10:41:45 +02:00
2009-10-27 14:09:36 +04:00
2010-12-06 10:25:44 +02:00
2009-06-17 16:28:11 +02:00
2010-01-11 14:15:28 +01:00
2010-03-24 17:37:41 +01:00
2011-05-18 16:27:19 +03:00
2011-04-20 15:30:21 -07:00
2011-04-20 15:30:21 -07:00
2011-05-10 18:17:43 +03:00
2009-10-11 11:06:55 +02:00
2010-05-21 22:47:32 +04:00
2009-04-14 19:19:15 +05:00
2009-06-09 17:08:46 +02:00
2009-06-09 17:08:46 +02:00
2010-12-10 23:23:34 -08:00
2010-06-26 19:36:00 +02:00
2011-02-28 17:27:41 -08:00
2011-05-03 17:11:45 -07:00
2011-05-03 17:11:45 -07:00
2010-09-28 12:39:33 -07:00
2011-05-03 17:11:45 -07:00
2011-05-10 18:17:43 +03:00
2011-05-02 20:58:45 +03:00
2010-03-31 16:12:37 +03:00
2010-06-01 21:52:20 +02:00
2010-01-12 15:16:26 +01:00
2010-05-24 21:54:08 +08:00
2010-02-09 11:30:50 +01:00
2010-11-11 10:52:51 +06:00
2011-05-02 20:58:45 +03:00
2010-02-09 11:30:50 +01:00
2009-07-03 10:19:32 +02:00
2009-11-27 18:10:28 +02:00
2011-01-04 00:55:41 +02:00
2009-12-02 15:17:08 +04:00
2011-05-08 13:24:06 +03:00
2010-06-26 14:05:41 +04:00
2009-06-12 18:11:19 -03:00
2011-03-11 16:16:34 +05:30
2010-10-18 13:33:05 -07:00
2010-10-18 13:33:05 -07:00
2010-07-19 21:08:06 +03:00
2009-06-10 11:58:36 +03:00
2011-05-16 15:07:04 +03:00
2010-02-18 00:59:41 +03:00
2011-05-02 21:59:16 +03:00
2011-05-02 21:59:16 +03:00
2011-05-05 15:24:28 +03:00
2011-02-03 17:00:28 +02:00
2011-04-28 17:15:05 +03:00
2011-02-22 12:44:58 +02:00
2011-05-02 21:59:16 +03:00
2011-05-16 15:07:04 +03:00
2011-05-16 15:07:04 +03:00
2011-05-16 15:07:04 +03:00
2010-03-20 15:01:47 +03:00
2010-01-17 17:51:10 +03:00
2010-11-25 00:34:50 +02:00
2011-05-20 14:15:22 +04:00
2011-05-20 19:08:55 +04:00
2011-05-20 14:15:22 +04:00
2011-05-20 10:13:02 +04:00
2011-05-20 10:13:02 +04:00
2011-05-16 15:07:04 +03:00
2010-04-01 18:49:02 +04:00
2010-04-08 14:10:05 +02:00
2010-09-28 12:39:33 -07:00
2011-04-02 14:04:45 +04:00
2011-05-21 00:46:18 +03:00
2010-08-06 23:29:37 +04:00
2010-11-23 23:39:59 +02:00
2010-10-19 15:58:35 +02:00
2010-02-16 13:13:49 +04:00
2011-05-08 14:46:32 +03:00
2010-06-26 14:05:41 +04:00
2011-05-10 18:17:43 +03:00
2011-05-21 00:46:18 +03:00
2010-05-31 13:25:11 +04:00
2011-04-18 10:44:41 +02:00
2011-01-12 10:37:15 +01:00
2010-11-02 17:22:57 +02:00
2010-03-18 11:26:27 +01:00
2011-05-16 15:07:04 +03:00
2010-07-19 11:03:52 +02:00
2011-05-11 14:09:48 +03:00
2010-12-06 23:38:31 +03:00
2009-04-28 20:12:18 +02:00
2010-02-11 14:26:58 +01:00
2009-10-03 22:56:54 +04:00
2010-09-22 23:33:18 +04:00
2010-11-15 16:17:38 +01:00
2011-05-03 19:10:10 +03:00
2011-05-16 15:07:04 +03:00
2010-03-09 07:36:26 -03:00
2011-01-12 16:08:30 +03:00
2011-05-19 20:01:43 -07:00
2010-11-03 22:40:53 +01:00
2010-08-17 11:14:46 +04:00
2011-05-21 00:46:18 +03:00
2009-09-22 08:22:07 -03:00
2011-03-31 14:29:23 +02:00
2010-03-10 19:31:22 +04:00
2011-03-01 15:30:18 +03:00