1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/sql
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-06 22:42:07 -07:00
2010-04-12 17:17:37 +04:00
2010-03-31 16:05:33 +02:00
2010-04-20 10:51:50 +02:00
2010-03-31 16:05:33 +02:00
2010-03-31 16:05:33 +02:00
2010-04-13 19:04:45 +04:00
2010-04-07 13:58:40 +02:00
2010-04-13 19:04:45 +04:00
2010-03-31 16:05:33 +02:00
2010-03-31 16:05:33 +02:00
2010-02-20 12:40:21 +03:00
2010-03-31 16:05:33 +02:00
2010-04-12 17:17:37 +04:00
2010-04-13 19:04:45 +04:00
2010-03-07 10:50:47 -07:00
2010-03-24 20:15:06 +01:00
2010-04-13 19:04:45 +04:00
2009-11-06 19:13:33 +03:00
2010-04-07 13:58:40 +02:00
2010-04-13 19:04:45 +04:00
2010-03-31 16:05:33 +02:00
2010-04-07 13:58:40 +02:00
2010-04-12 17:17:37 +04:00
2010-04-13 19:04:45 +04:00
2010-04-07 13:58:40 +02:00
2010-04-20 10:51:50 +02:00
2009-12-25 16:49:21 +01:00
2010-04-07 13:58:40 +02:00
2010-04-13 19:04:45 +04:00
2010-04-07 13:58:40 +02:00
2010-04-07 13:58:40 +02:00
2010-04-07 13:58:40 +02:00
2010-04-07 13:58:40 +02:00
2010-04-21 00:29:30 +02:00
2010-04-20 10:51:50 +02:00
2010-04-21 08:50:58 +02:00
2010-04-07 13:58:40 +02:00
2010-04-20 10:51:50 +02:00
2010-04-07 13:58:40 +02:00
2010-04-20 10:51:50 +02:00
2010-04-07 13:58:40 +02:00
2010-04-12 17:17:37 +04:00
2009-12-03 21:37:38 +03:00
2010-03-15 14:57:20 +01:00