1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-09 08:01:34 +03:00
Files
mariadb/mysql-test/r
unknown 5fdb531d77 Fix bug MDEV-4895 Valgrind warnings (Conditional jump or move depends on uninitialised value) in Field_datetime::get_date on GREATEST(..) IS NULL
Analysis:
The cause of the valgrind warning was an attempt to evaluate a Field that was not yet read.
The reason was that on one hand Item_func_isnotnull was marked as constant by
Item_func_isnotnull::update_used_tables, and this allowed eval_const_cond() to be called.
On the other hand Item_func_isnotnull::val_int() evaluated its argument as if it was not
constant.

Solution:
The fix make sure that Item_func_isnotnull::val_int() doesn't evaluate its argument when
it is constant and cannot be NULL, because the result is known in this case.
2013-08-20 17:08:03 +03:00
..
2011-11-17 17:12:58 +04:00
2012-08-24 13:51:16 +02:00
2012-08-24 13:51:16 +02:00
2011-01-25 12:14:28 +05:30
2012-03-05 15:48:12 +02:00
2013-01-09 23:51:51 +01:00
2012-04-05 23:07:18 +02:00
2012-11-19 18:17:46 +02:00
2013-02-28 14:35:46 -08:00
2011-12-06 02:46:42 -08:00
2013-05-21 09:42:10 +02:00
2011-11-24 18:48:58 +02:00
2012-05-11 11:40:23 +03:00
2012-08-24 14:02:32 +02:00
2011-07-12 23:47:35 -07:00
2013-03-26 19:09:47 +01:00
2013-05-03 16:07:13 +03:00
2012-05-20 14:57:29 +02:00
2012-06-20 13:41:31 +04:00
2011-12-11 11:34:44 +02:00
2013-03-26 19:09:47 +01:00
2012-06-18 22:38:11 +04:00
2012-08-24 14:02:32 +02:00
2013-03-26 19:09:47 +01:00
2011-05-03 19:10:10 +03:00
2013-02-28 21:48:47 +01:00
2013-02-20 19:22:02 -08:00
2013-02-20 18:01:36 -08:00
2012-11-01 21:36:31 +02:00
2013-02-28 21:48:47 +01:00
2011-12-11 11:34:44 +02:00
2011-10-22 07:19:43 -07:00
2012-02-16 20:15:57 +04:00
2011-11-06 01:23:03 -07:00
2013-02-20 18:01:36 -08:00
2013-02-20 18:01:36 -08:00
2013-03-22 21:33:06 -07:00
2013-08-16 22:01:47 -07:00
2013-08-16 22:01:47 -07:00
2012-03-22 19:56:17 -07:00
2012-02-21 01:58:50 +02:00
2011-02-03 17:00:28 +02:00
2013-01-10 15:40:21 +01:00
2011-03-29 10:09:05 +02:00
2011-05-28 05:11:32 +03:00
2012-05-11 11:40:23 +03:00
2011-05-28 05:11:32 +03:00
2012-02-28 15:04:31 +01:00
2011-06-15 21:48:38 -07:00
2011-11-06 01:23:03 -07:00
2013-02-11 10:55:58 +02:00
2012-04-05 23:07:18 +02:00
2013-01-10 15:40:21 +01:00
2012-08-24 12:32:46 +02:00
2012-08-22 16:45:25 +02:00
2012-05-17 12:12:33 +02:00
2012-06-20 13:41:31 +04:00
2012-08-13 21:13:14 -07:00
2011-06-24 21:43:31 +04:00
2012-11-01 21:36:31 +02:00
2011-08-15 23:18:36 -07:00
2009-10-27 14:09:36 +04:00
2012-08-22 16:45:25 +02:00
2011-12-11 11:34:44 +02:00
2013-08-15 14:04:20 -07:00
2013-08-15 14:04:20 -07:00
2013-02-20 18:01:36 -08:00
2013-08-16 22:01:47 -07:00
2013-08-16 22:01:47 -07:00
2011-12-11 11:34:44 +02:00
2013-08-16 22:01:47 -07:00
2011-11-23 19:32:14 +02:00
2013-01-10 13:54:04 +01:00
2011-05-02 20:58:45 +03:00
2011-05-28 05:11:32 +03:00
2011-05-28 05:11:32 +03:00
2013-02-20 18:01:36 -08:00
2013-02-20 18:01:36 -08:00
2013-01-16 21:07:26 +02:00
2013-01-16 15:11:13 +02:00
2013-02-20 18:01:36 -08:00
2013-08-16 22:01:47 -07:00
2013-08-16 22:01:47 -07:00
2013-02-20 18:01:36 -08:00
2013-08-15 14:16:16 -07:00
2013-02-20 18:01:36 -08:00
2013-02-20 18:01:36 -08:00
2013-08-16 22:01:47 -07:00
2011-12-28 18:47:01 -08:00
2013-08-16 22:01:47 -07:00
2011-06-07 18:13:02 +02:00
2012-01-02 20:06:36 -08:00
2011-12-11 11:34:44 +02:00
2011-05-19 19:16:17 +02:00
2012-08-22 16:45:25 +02:00
2011-05-19 19:01:46 +02:00
2013-03-06 21:10:58 +02:00
2011-12-11 11:34:44 +02:00
2011-12-11 11:34:44 +02:00
2011-06-09 17:23:39 +02:00
2012-08-22 16:45:25 +02:00
2013-02-28 19:00:58 +01:00
2012-08-24 14:02:32 +02:00
2011-09-29 10:56:21 +01:00
2013-08-16 22:01:47 -07:00
2011-03-31 14:29:23 +02:00