1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-03 20:43:11 +03:00
Files
mariadb/mysql-test/r
Alexander Nozdrin d91c271b2b Patch for Bug#50511 (Sometimes wrong handling of user variables containing NULL).
The bug happened under the following condition:
  - there was a user variable of type REAL, containing NULL value
  - there was a table with a NOT_NULL column of any type but REAL, having
    default value (or auto increment);
  - a row was inserted into the table with the user variable as value.
    A warning was emitted here.

The problem was that handling of NULL values of REAL type was not properly
implemented: it didn't expect that REAL NULL value can be assigned to other
data type.

Basically, the problem was that set_field_to_null() was used instead of
set_field_to_null_with_conversions().

The fix is to use the right function, or more generally, to allow conversion of
REAL NULL values to other data types.
2010-05-05 15:00:59 +04:00
..
2010-01-11 18:47:27 -07:00
2009-08-20 14:30:59 +02:00
2010-02-27 11:43:32 +04: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
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-02-24 13:15:34 +04:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2009-12-11 12:39:38 +03:00
2009-12-08 10:53:40 +03:00
2010-02-04 20:34:15 +03:00
2009-12-09 18:56:34 +03:00
2009-09-10 03:18:29 -06:00
2009-06-01 16:00:38 +04:00
2010-04-13 19:04:45 +04:00
2010-04-13 19:04:45 +04:00
2009-09-10 03:18:29 -06:00
2010-03-19 11:29:12 +03:00
2009-11-04 10:17:39 +01:00
2010-02-11 18:32:53 +01:00
2009-02-03 14:45:17 +01: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
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2010-02-26 13:02:57 +04:00
2010-02-03 03:06:42 +03:00
2009-11-20 22:51:12 +03:00
2009-09-10 03:18:29 -06:00
2010-04-20 10:51:50 +02:00
2010-01-18 23:19:19 +03:00
2010-01-15 15:42:15 +04:00
2009-02-19 18:22:28 +01:00
2010-01-15 15:42:15 +04:00
2009-11-06 17:54:19 +03:00
2010-01-29 16:54:27 +02:00
2009-12-10 17:38:01 +02:00
2009-10-19 14:58:13 +02:00
2010-02-24 00:22:19 -07:00
2009-12-29 15:19:05 +03:00
2009-10-27 14:09:36 +04:00
2009-11-20 22:51:12 +03:00
2009-12-11 12:39:38 +03:00
2009-02-19 17:59:00 +04:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2009-09-10 03:18:29 -06:00
2010-04-19 15:35:13 +02:00
2009-09-10 03:18:29 -06:00
2010-04-19 15:35:13 +02:00
2010-01-15 15:42:15 +04:00
2009-11-20 23:30:00 +03:00
2010-03-19 11:29:12 +03:00
2009-09-28 16:48:40 +03:00
2009-02-09 22:00:15 +01:00
2010-01-15 15:42:15 +04:00
2010-01-15 15:42:15 +04:00
2009-12-11 15:24:23 +03:00
2010-02-27 11:43:32 +04:00
2009-12-16 10:48:07 +03:00