unknown
03db11cfda
MBug#423035: error in parsing enum value for plugin variable in mysqld command-line option
...
Fix parsing of invalid plugin enum option value.
Previous patch to fix plugin enum option parsing on big-endian introduced another bug due
to incorrect comparison of unsigned value. This would cause an incorrect value to be
parsed as value 0.
See also MySQL Bug#41010 and Bug#32034.
mysql-test/mysql-test-run.pl:
Add a facility for test case to run the mysqld binary (to test that invalid startup options
are rejected correctly).
mysql-test/r/mysqld_option_err.result:
Add a test case to check that invalid startup options for mysqld are rejected.
This is needed to test MBug#423035.
Also add a few other similar tests, as this was completely untested before this patch.
mysql-test/t/mysqld_option_err.test:
Add a test case to check that invalid startup options for mysqld are rejected.
This is needed to test MBug#423035.
Also add a few other similar tests, as this was completely untested before this patch.
mysys/my_getopt.c:
Fix parsing of invalid plugin enum option value.
2009-09-03 15:05:02 +02:00
..
2008-04-02 10:06:36 +02:00
2009-06-07 13:05:19 +03:00
2009-02-10 16:27:35 +03:00
2009-03-26 18:27:34 +04:00
2009-02-05 13:49:32 +04:00
2009-02-16 08:38:15 -03:00
2009-01-31 15:55:06 -02:00
2008-07-11 01:14:13 +02:00
2009-02-12 15:08:56 +01:00
2009-02-05 21:47:23 +01:00
2008-07-18 15:00:45 +03:00
2008-07-07 15:53:20 -06:00
2009-02-10 15:44:58 +01:00
2008-09-19 15:34:37 +03:00
2009-03-17 14:43:43 +01:00
2009-03-17 14:43:43 +01:00
2009-04-25 12:04:38 +03:00
2009-03-03 21:34:18 +01:00
2009-03-13 00:27:35 +02:00
2009-06-30 00:03:30 +03:00
2008-11-17 15:25:27 -05:00
2009-02-05 13:49:32 +04:00
2009-01-23 13:22:05 +01:00
2008-04-03 11:50:43 +02:00
2009-03-19 13:26:12 +04:00
2008-03-28 13:16:41 +01:00
2008-10-02 10:56:07 +05:00
2008-03-08 01:14:56 +04:00
2008-03-26 10:27:00 +01:00
2008-12-01 13:34:53 +02:00
2008-03-26 10:27:00 +01:00
2008-04-23 11:06:26 +05:00
2009-02-02 17:25:42 +04:00
2008-02-20 19:49:26 +01:00
2008-03-26 10:27:00 +01:00
2008-12-23 18:21:01 +04:00
2008-02-20 19:49:26 +01:00
2009-01-26 22:19:13 +01:00
2009-01-13 23:29:11 +01:00
2009-02-19 18:22:28 +01:00
2009-02-19 18:22:28 +01:00
2008-09-03 13:06:03 +05:00
2009-03-11 16:32:42 +01:00
2009-03-03 21:34:18 +01:00
2008-10-29 18:38:18 +01:00
2008-04-03 11:50:43 +02:00
2008-04-03 10:27:56 +02:00
2008-02-20 14:40:46 +01:00
2008-08-18 13:05:51 +02:00
2009-03-11 17:30:56 -03:00
2008-05-09 09:43:02 +02:00
2008-04-09 09:43:20 +02:00
2008-12-16 19:09:09 +01:00
2009-08-03 22:09:53 +02:00
2008-11-14 17:18:20 +01:00
2009-03-11 14:29:59 +02:00
2009-03-06 15:56:17 +01:00
2009-03-03 21:34:18 +01:00
2009-03-03 21:34:18 +01:00
2008-03-23 20:35:00 +04:00
2008-12-17 17:24:34 +04:00
2009-04-01 11:34:52 +02:00
2009-01-31 14:10:43 -02:00
2008-05-13 20:27:46 +05:00
2008-05-01 14:54:59 +03:00
2009-02-10 16:27:35 +03:00
2008-12-12 18:19:33 +04:00
2008-12-31 15:55:04 +04:00
2009-02-23 14:42:31 +02:00
2009-02-05 11:45:30 +04:00
2008-09-05 13:36:02 +05:00
2008-04-09 15:56:25 +02:00
2009-02-07 16:50:31 +01:00
2009-02-14 12:11:32 +03:00
2009-01-23 13:22:05 +01:00
2009-02-14 12:11:32 +03:00
2009-02-27 09:41:39 +02:00
2008-09-03 16:45:40 +02:00
2008-09-03 16:45:40 +02:00
2009-02-25 16:18:24 +04:00
2009-01-16 12:45:17 +02:00
2009-02-26 18:17:06 +01:00
2008-06-27 23:50:53 +05:00
2009-02-27 17:07:27 +02:00
2009-02-24 10:49:18 +01:00
2009-02-24 10:49:18 +01:00
2009-02-03 14:45:17 +01:00
2009-03-13 00:27:35 +02:00
2008-12-17 17:24:34 +04:00
2009-01-16 17:38:38 +02:00
2008-05-13 17:01:02 +05:00
2009-06-09 15:19:13 +02:00
2009-03-14 21:58:23 +03:00
2009-08-03 22:09:53 +02:00
2009-04-25 12:04:38 +03:00
2008-03-14 14:12:39 +04:00
2008-11-13 16:11:51 +04:00
2009-08-03 22:09:53 +02:00
2009-02-01 11:18:09 +02:00
2008-02-19 09:44:09 -07:00
2009-06-09 15:19:13 +02:00
2008-08-07 18:25:24 -06:00
2009-08-03 22:09:53 +02:00
2009-06-09 15:19:13 +02:00
2008-12-14 14:26:31 -07:00
2008-12-14 13:31:13 -07:00
2009-06-09 15:19:13 +02:00
2009-06-09 15:19:13 +02:00
2009-02-20 11:12:06 +02:00
2009-02-10 16:27:35 +03:00
2009-02-09 19:03:52 +04:00
2009-06-09 15:19:13 +02:00
2009-01-09 14:04:47 +02:00
2009-02-20 11:50:50 +02:00
2008-07-10 18:09:39 +02:00
2009-08-03 22:09:53 +02:00
2009-06-09 15:19:13 +02:00
2008-11-13 20:19:00 +01:00
2009-06-09 17:08:46 +02:00
2009-06-09 15:19:13 +02:00
2009-06-09 17:08:46 +02:00
2008-06-03 13:25:41 +02:00
2009-01-13 15:14:11 +01:00
2009-06-09 15:19:13 +02:00
2009-06-09 15:19:13 +02:00
2009-06-09 17:08:46 +02:00
2009-06-18 14:39:21 +02:00
2008-09-10 12:50:39 +02:00
2008-12-27 04:05:16 +02:00
2008-05-09 09:43:02 +02:00
2008-05-07 09:58:21 +04:00
2008-10-06 08:37:52 -04:00
2009-03-16 20:54:50 +01:00
2008-03-13 14:54:29 -03:00
2009-06-07 13:05:19 +03:00
2008-10-23 21:27:09 +02:00
2009-03-23 15:22:31 +01:00
2009-03-23 15:22:31 +01:00
2009-03-23 17:08:48 +01:00
2009-02-02 22:20:25 +01:00
2009-03-05 15:22:33 +01:00
2009-01-13 14:09:24 +01:00
2009-03-11 17:30:56 -03:00
2008-07-11 01:14:13 +02:00
2009-02-13 16:12:59 -05:00
2009-02-18 16:09:46 +04:00
2009-03-13 00:29:39 +02:00
2009-04-01 11:34:52 +02:00
2008-10-10 16:44:10 +05:00
2008-10-10 18:28:41 +03:00
2008-11-19 19:17:26 +01:00
2008-05-18 14:21:25 +05:00
2009-03-05 18:10:44 +08:00
2009-06-30 00:03:30 +03:00
2009-01-22 11:25:26 +05:30
2008-11-13 20:19:00 +01:00
2009-01-26 15:20:33 +01:00
2009-03-25 10:32:01 +03:00
2009-03-24 23:48:31 +03:00
2008-04-02 16:49:22 +07:00
2008-07-28 15:15:20 +08:00
2009-06-11 14:53:26 +02:00
2008-09-06 12:49:43 +08:00
2008-09-06 12:49:43 +08:00
2009-02-10 22:26:37 +01:00
2008-09-06 12:49:43 +08:00
2009-03-20 16:49:43 +02:00
2009-02-27 17:06:23 +02:00
2009-09-03 15:05:02 +02:00
2009-02-19 18:22:28 +01:00
2008-03-07 11:15:49 +02:00
2009-04-01 11:34:52 +02:00
2009-04-08 18:55:26 +02:00
2009-03-06 15:56:17 +01:00
2009-01-31 22:04:57 -02:00
2009-06-05 18:36:14 +03:00
2008-03-03 20:35:44 +03:00
2009-02-05 13:49:32 +04:00
2008-06-28 15:45:15 +03:00
2009-02-19 18:22:28 +01:00
2008-10-16 23:04:31 +05:00
2009-02-03 14:45:17 +01:00
2009-02-09 22:00:15 +01:00
2008-07-14 15:41:30 -06:00
2009-02-14 19:04:16 +03:00
2008-11-04 08:43:21 +01:00
2008-12-09 15:16:39 +04:00
2009-02-18 21:29:30 +01:00
2008-07-07 22:42:19 +02:00
2009-01-13 23:12:16 +01:00
2008-10-29 21:20:04 +01:00
2008-11-10 21:13:24 +01:00
2009-02-18 21:10:19 +01:00
2008-12-10 09:06:58 +01:00
2008-11-12 19:51:47 +02:00
2008-12-28 12:33:49 +01:00
2008-11-04 08:43:21 +01:00
2008-11-04 08:43:21 +01:00
2008-10-26 15:05:24 -02:00
2009-02-18 21:10:19 +01:00
2008-11-28 17:12:43 +04:00
2008-02-24 14:12:17 +01:00
2009-03-18 16:46:32 +01:00
2009-02-27 16:11:15 +02:00
2008-09-10 12:50:39 +02:00
2009-06-30 00:03:30 +03:00
2009-06-30 00:03:30 +03:00
2009-06-30 00:03:30 +03:00
2009-06-30 00:03:30 +03:00
2009-06-30 00:03:30 +03:00
2008-10-08 14:23:53 +03:00
2008-07-03 23:41:22 +04:00
2008-08-13 21:42:21 +02:00
2009-03-06 16:11:34 +01:00
2008-11-28 16:45:34 +01:00
2009-02-19 18:09:35 -03:00
2008-07-24 11:14:34 -03:00
2009-02-13 17:26:20 -02:00
2009-02-15 12:58:34 +02:00
2008-03-27 03:18:46 +01:00
2008-04-08 10:20:58 +05:00
2009-03-06 15:56:17 +01:00
2009-02-27 17:06:23 +02:00
2009-06-09 17:08:46 +02:00
2009-06-09 17:08:46 +02:00
2009-02-19 17:59:00 +04:00
2008-04-02 10:06:36 +02:00
2009-03-16 09:02:10 +04:00
2009-03-06 15:56:17 +01:00
2008-08-29 17:20:08 +03:00
2009-03-10 16:54:24 +01:00
2008-03-26 20:27:23 +01:00
2009-02-16 08:38:15 -03:00
2008-03-25 17:48:05 -06:00
2008-04-08 16:51:26 +02:00
2009-02-16 08:38:15 -03:00
2009-03-06 15:56:17 +01:00
2009-02-25 14:20:20 +04:00
2008-02-24 13:58:07 +01:00
2008-12-17 17:23:21 +04:00
2009-02-05 17:48:47 +01:00
2009-03-05 08:20:01 -03:00
2009-01-28 22:48:41 +04:00
2009-03-13 00:27:35 +02:00
2008-03-07 21:14:34 +03:00
2009-04-01 11:34:52 +02:00
2008-12-13 19:42:12 +00:00
2009-02-09 22:00:15 +01:00
2009-03-11 17:30:56 -03:00
2008-02-22 12:30:17 +04:00
2009-01-07 10:11:37 -02:00
2008-12-13 19:42:12 +00:00
2008-12-01 16:18:35 +02:00
2008-03-22 11:01:31 +03:00
2009-02-19 18:24:25 -05:00
2008-10-07 19:54:12 +03:00
2008-05-30 11:12:07 +02:00
2008-05-13 17:01:02 +05:00
2008-12-09 17:31:22 +04:00
2009-02-16 08:38:15 -03:00
2009-01-13 15:04:28 +01:00
2009-02-13 19:07:03 +01:00
2008-04-28 14:12:52 -04:00
2009-02-14 20:14:10 +03:00
2008-11-18 13:52:03 +04:00
2008-09-05 18:21:59 +03:00
2009-02-16 08:38:15 -03:00
2008-08-26 15:22:09 +05:00
2009-03-19 11:18:52 +01:00
2008-11-28 20:36:07 +04:00
2008-04-02 16:49:22 +07:00
2009-01-23 22:18:02 +04:00
2008-06-27 20:56:41 +05:00
2009-06-25 01:22:20 +03:00
2009-06-11 14:53:26 +02:00
2008-12-13 19:42:12 +00:00
2009-06-09 15:19:13 +02:00
2009-03-06 15:56:17 +01:00
2009-03-06 15:56:17 +01:00
2009-01-23 18:19:09 +01:00
2008-12-17 19:45:34 +04:00
2009-02-16 08:38:15 -03:00
2009-02-12 11:52:01 +02:00
2008-10-21 19:02:26 -02:00
2009-02-04 15:40:12 +04:00