1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/mysys
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-03-24 15:58:52 +02:00
2009-09-17 17:25:52 +02:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2009-05-13 08:48:00 -07:00
2009-09-02 09:12:18 -03:00
2009-08-28 18:21:54 +02:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2007-03-22 20:32:07 +02:00
2009-03-17 15:43:00 -04:00
2007-08-09 14:56:57 +02:00
2006-12-27 02:23:51 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01: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-09-02 15:33:18 +03:00
2009-09-29 17:38:40 +02:00
2009-09-28 14:40:45 +02:00
2009-10-06 09:40:30 +02:00
2006-12-31 01:02:27 +01:00
2008-09-16 15:23:07 +02:00
2007-08-15 17:43:08 +04:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2008-04-28 13:41:12 -04:00
2009-09-29 17:38:40 +02:00
2006-12-23 20:17:15 +01:00