1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-28 17:15:19 +03:00
Files
mariadb/sql
Sergey Glukhov 3c39a56208 Bug#54416 MAX from JOIN with HAVING returning NULL with 5.1 and Empty set
The problem there is that HAVING condition evaluates const
parts of condition despite the condition has references
on aggregate functions. Table t1 became const tables
after make_join_statistics and table1.pk = 1, HAVING is
transformed into MAX(1) < 7 and taken away from HAVING.
The fix is to skip evaluation of HAVING conts parts if
HAVING condition has references on aggregate functions.
2010-07-09 14:39:47 +04:00
..
2010-03-17 19:15:41 +01:00
2010-01-29 15:08:49 +04:00
2010-06-24 15:26:14 +04:00
2010-06-08 10:28:30 +04:00
2010-03-29 18:42:49 +05:00
2009-08-28 18:21:54 +02:00
2010-07-08 10:44:26 +08:00
2009-09-29 17:38:40 +02:00
2008-11-27 12:33:04 +01:00
2010-06-09 11:29:27 +03:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2009-06-01 16:00:38 +04:00
2009-11-03 20:45:52 +03:00
2010-01-28 19:51:40 -02:00
2010-01-28 19:51:40 -02:00
2010-03-17 19:15:41 +01:00
2008-07-03 23:41:22 +04:00
2009-04-29 07:59:10 +05:00
2009-12-18 16:44:24 -02:00
2010-06-11 16:52:06 +04:00
2009-08-28 18:21:54 +02:00
2009-06-17 16:56:44 +02:00
2009-06-17 16:56:44 +02:00
2008-12-10 18:16:21 +04:00
2009-06-17 16:56:44 +02:00
2010-06-11 16:52:06 +04:00
2010-06-11 16:52:06 +04:00
2010-06-09 11:29:27 +03:00
2010-01-24 15:03:23 +08:00
2010-01-24 15:03:23 +08:00
2009-01-14 18:50:51 +04:00
2010-01-25 10:55:05 +08:00
2010-06-11 16:52:06 +04:00
2009-11-03 20:45:52 +03:00
2009-06-17 16:56:44 +02:00
2009-06-17 16:56:44 +02:00