Tatiana A. Nurnberg
0ba101d4ea
Bug#46586: When using the plugin interface the type "set" for options caused a crash.
...
"What do you mean, there's a bug? There isn't even code!"
There was some token code for plug-in variables of the SET type,
but clearly this never worked, or was subject to massive bit rot
since. Bug-fixes ... fail-safes ... tests -- fais au mieux, mon chou!
mysys/my_getopt.c:
SETs set-up should set up a default value, but no min/max bounding.
mysys/typelib.c:
fail-safe requested by serg: don't try to skip separator when we're
already at end of string.
sql/sql_plugin.cc:
check_func_set:
Initialize error_len as find_set() will only update it on error,
and we're using the value to see whether an error has occurred (!= 0),
so we'd better not have a random val in there.
value_ptr:
There's no guarantee we're handed string lengths, so play it safe!
Use prepared string lengths where possible for minimum speed gain,
otherwise determine on the fly!
2009-10-27 06:16:02 -07:00
..
2009-08-28 12:06:59 -03:00
2009-03-20 16:27:53 +02:00
2007-06-21 20:55:37 +02:00
2009-06-10 10:59:49 +02:00
2009-02-13 11:41:47 -05:00
2009-10-06 13:04:51 +02:00
2009-02-13 11:41:47 -05:00
2009-03-24 15:58:52 +02:00
2009-03-06 17:38:14 +08:00
2009-09-17 17:25:52 +02:00
2007-05-10 12:59:39 +03:00
2006-09-14 23:29:44 -06:00
2006-12-23 20:17:15 +01:00
2009-10-06 13:04:51 +02:00
2009-03-09 20:57:03 +02:00
2007-11-07 15:23:50 -07:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2009-04-19 02:21:33 +01:00
2009-05-13 08:48:00 -07:00
2009-02-10 17:47:54 -05:00
2009-09-02 09:12:18 -03:00
2009-10-16 14:21:20 +02:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2009-08-28 18:21:54 +02:00
2007-07-30 11:33:50 +03:00
2006-12-23 20:17:15 +01:00
2007-10-17 20:08:58 +04:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2007-10-18 14:32:43 +04:00
2007-05-10 12:59:39 +03:00
2009-02-13 11:41:47 -05:00
2007-10-11 18:07:40 +03:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:20:40 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2008-08-11 10:10:00 -06:00
2009-02-13 11:41:47 -05:00
2007-10-11 18:07:40 +03:00
2007-10-11 18:07:40 +03:00
2007-10-11 18:07:40 +03:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:20:40 +01:00
2009-02-13 11:41:47 -05:00
2009-02-13 11:41:47 -05:00
2009-09-03 17:59:25 +05:30
2006-12-23 20:17:15 +01:00
2008-03-13 23:35:52 +02:00
2007-12-07 22:27:48 +02:00
2007-05-10 12:59:39 +03:00
2007-03-22 20:32:07 +02:00
2009-03-17 15:43:00 -04:00
2006-12-23 20:20:40 +01:00
2007-08-13 16:11:25 +03:00
2009-03-06 17:38:14 +08:00
2006-12-31 01:32:21 +01:00
2007-08-09 14:56:57 +02:00
2006-12-27 02:23:51 +01:00
2009-10-27 06:16:02 -07:00
2006-12-23 20:17:15 +01:00
2008-02-26 18:44:04 +02:00
2009-02-13 11:41:47 -05:00
2009-07-24 12:15:06 +05:30
2008-03-28 18:45:03 +02:00
2009-04-09 12:25:25 -03:00
2009-09-18 11:19:02 +04:00
2007-10-18 14:32:43 +04:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:20:40 +01:00
2007-05-10 12:59:39 +03:00
2007-08-29 19:20:18 +04:00
2007-05-10 12:59:39 +03:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:17:15 +01:00
2009-03-19 17:20:15 -03:00
2007-05-10 12:59:39 +03:00
2007-10-11 18:07:40 +03:00
2006-12-31 01:02:27 +01:00
2009-03-17 16:29:24 -04:00
2007-07-30 20:40:49 +02:00
2009-02-13 11:41:47 -05:00
2009-02-13 11:41:47 -05:00
2007-10-11 18:07:40 +03:00
2009-09-02 15:33:18 +03:00
2007-10-11 18:07:40 +03:00
2007-06-05 03:43:11 +05:00
2006-12-23 20:20:40 +01:00
2009-09-29 17:38:40 +02:00
2008-08-19 15:56:41 +02:00
2007-11-12 15:26:37 +04:00
2008-10-27 19:25:11 +04:00
2007-10-11 18:07:40 +03:00
2009-09-28 14:40:45 +02:00
2007-05-10 12:59:39 +03:00
2009-10-06 09:40:30 +02:00
2007-05-10 12:59:39 +03:00
2007-10-03 21:38:32 +02:00
2009-03-06 17:38:14 +08:00
2007-07-30 11:33:50 +03:00
2007-05-10 12:59:39 +03:00
2008-02-18 23:29:39 +01:00
2006-12-31 01:02:27 +01:00
2009-04-29 13:51:10 +02:00
2007-01-22 14:04:40 +02:00
2008-09-16 15:23:07 +02:00
2009-02-13 11:41:47 -05:00
2007-08-15 17:43:08 +04:00
2006-12-23 20:20:40 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2008-04-28 13:41:12 -04:00
2009-09-29 17:38:40 +02:00
2008-10-15 19:21:00 -03:00
2006-12-23 20:17:15 +01:00
2007-05-10 12:59:39 +03:00
2007-05-10 12:59:39 +03:00
2009-10-27 06:16:02 -07:00