1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-19 21:09:40 +03:00
Files
mariadb/mysql-test/r
Tor Didriksen ae154449f1 Bug#12340997 - DATE_ADD/DATE_SUB WITH INTERVAL CRASHES IN GET_INTERVAL_VALUE()
get_interval_value() was trying to parse the input string,
looking for leading '-' while skipping whitespace.
The macro my_isspace() does not work for utf16 character set,
since my_charset_utf16_general_ci.ctype == NULL.

Solution: convert input to ASCII before parsing.


mysql-test/r/ctype_utf16.result:
  New test case.
mysql-test/t/ctype_utf16.test:
  New test case.
sql/item_timefunc.cc:
  Use val_string_ascii() rather than val_string()
  so that we can safely use my_isspace() for skipping whitespace.
2011-04-28 09:03:56 +02:00
..
2011-03-03 12:12:32 +03:00
2011-01-25 12:14:28 +05:30
2011-02-17 12:53:09 +01:00
2011-02-17 12:53:09 +01:00
2011-03-03 18:46:30 +03:00
2011-02-22 19:32:49 +05:30
2011-02-22 19:32:49 +05:30
2011-03-07 10:08:10 +01:00
2010-04-13 19:04:45 +04:00
2011-03-03 15:27:36 +03:00
2011-03-28 12:52:47 +04:00
2010-12-16 21:43:21 +03:00
2011-01-13 09:07:21 +01:00
2011-03-30 11:25:49 +04:00
2011-02-18 11:55:24 +01:00
2010-07-09 14:46:46 +04:00
2010-07-14 15:05:20 +03:00
2011-03-29 10:09:05 +02:00
2010-04-27 13:58:21 +04:00
2010-08-25 13:17:15 +05:00
2010-12-01 12:28:21 +05:30
2011-03-08 09:41:57 +01:00
2011-02-08 11:21:14 +01:00
2011-01-11 15:15:25 +01:00
2011-03-25 14:55:22 +02:00
2010-09-13 15:56:56 +02:00
2010-11-15 16:59:49 +01:00
2010-11-26 16:32:51 +02:00
2010-09-13 15:56:56 +02:00
2011-01-10 16:13:12 +01:00
2011-03-09 18:41:16 +01:00
2010-09-30 14:06:50 +03:00
2010-09-30 14:06:50 +03:00
2010-09-30 14:06:50 +03:00
2010-09-30 14:06:50 +03:00
2011-02-01 13:23:28 +01:00
2011-03-28 13:57:54 +03:00
2011-03-17 13:02:19 +02:00
2011-01-12 10:31:41 +01:00
2011-01-31 15:04:39 +05:30
2011-03-28 13:57:54 +03:00
2011-02-14 14:16:31 +01:00
2011-03-01 17:42:37 +03:00