1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-05 16:59:35 +03:00
Oystein Grovlen 7a8515cc20 Bug#57512 str_to_date crash...
str_to_date function should only try to generate a warning for
invalid input strings, not when input value is NULL. In latter
case, val_str() of input argument will return a nil pointer.
Trying to generate a warning using this pointer lead to a
segmentation fault. Solution: Only generate warning when pointer
to input string is non-nil.


mysql-test/r/func_time.result:
  Added test case for Bug#57512
mysql-test/t/func_time.test:
  Added test case for Bug#57512
sql/item_timefunc.cc:
  Skip generating warning when pointer to input string is nil
  since this implies that input argument was NULL.
2010-10-20 15:17:29 +02:00
..
2010-02-25 23:13:11 +04:00
2010-05-26 22:34:25 +08:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2009-12-08 10:53:40 +03:00
2009-12-09 18:56:34 +03:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-08-20 16:10:49 +03:00
2010-08-20 16:10:49 +03:00
2010-10-20 15:17:29 +02:00
2010-09-08 09:36:39 +02:00
2009-10-19 14:58:13 +02:00
2010-07-30 16:56:57 +03:00
2010-06-11 10:15:55 +02:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2010-06-01 11:54:06 +04:00
2010-08-12 17:50:23 +04:00
2010-07-14 15:05:20 +03:00
2010-04-20 10:51:50 +02:00
2010-08-25 13:17:15 +05:00
2010-08-25 13:17:15 +05:00
2010-07-16 21:25:00 +03:00
2010-09-28 16:00:11 +02:00
2010-04-13 19:04:45 +04:00
2010-09-13 14:46:55 +02:00
2009-10-19 14:58:13 +02:00
2010-09-13 15:56:56 +02:00
2010-10-01 16:06:10 +02:00
2010-02-24 00:22:19 -07:00
2009-11-02 21:05:42 +01:00
2009-12-29 15:19:05 +03:00
2010-02-06 13:28:06 +03:00
2010-10-06 13:02:11 +03:00
2009-11-20 22:51:12 +03:00
2010-07-16 21:25:00 +03:00
2010-07-04 20:35:05 +01:00
2009-11-27 18:10:28 +02:00
2010-07-30 19:28:36 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2010-09-07 12:17:12 +02:00
2010-06-25 16:32:47 +03:00
2010-08-13 14:20:49 +03:00