1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00
Files
mariadb/mysql-test/t
Georgi Kodinov 8fb82e3fe0 Bug #44399 : crash with statement using TEXT columns, aggregates, GROUP BY, and
HAVING
            
When calculating GROUP BY the server caches some expressions. It does
that by allocating a string slot (Item_copy_string) and assigning the 
value of the expression to it. This effectively means that the result
type of the expression can be changed from whatever it was to a string.
As this substitution takes place after the compile-time result type 
calculation for IN but before the run-time type calculations, 
it causes the type calculations in the IN function done at run time 
to get unexpected results different from what was prepared at compile time.
                  
In the CASE ... WHEN ... THEN ... statement there was a similar problem
and it was solved by artificially adding a STRING argument to the set of 
types of the IN/CASE arguments at compile time, so if any of the 
arguments of the CASE function changes its type to a string it will 
still be covered by the information prepared at compile time.
2009-05-25 11:00:40 +03:00
..
2009-02-09 22:00:15 +01:00
2009-02-09 22:00:15 +01:00
2009-01-23 13:22:05 +01:00
2008-12-23 18:21:01 +04:00
2008-11-21 17:32:45 +04:00
2009-03-11 14:29:59 +02:00
2009-05-21 21:51:48 +04:00
2009-03-27 10:18:06 +08:00
2008-09-05 13:36:02 +05:00
2009-02-06 18:25:08 +01:00
2009-05-13 23:39:35 +05:00
2009-01-23 13:22:05 +01:00
2009-04-29 07:59:10 +05:00
2009-04-29 07:59:10 +05:00
2009-02-09 22:00:15 +01:00
2009-02-26 18:17:06 +01:00
2009-01-16 17:38:38 +02:00
2009-05-06 15:00:14 +05:30
2009-04-09 14:38:50 +05:00
2008-10-06 08:37:52 -04:00
2008-10-23 21:27:09 +02:00
2009-01-23 13:22:05 +01:00
2009-02-09 22:00:15 +01:00
2009-05-08 21:24:15 +04:00
2009-01-23 13:22:05 +01:00
2009-05-22 11:24:45 -04:00
2009-02-03 14:45:17 +01:00
2009-02-03 14:45:17 +01:00
2009-02-09 22:00:15 +01:00
2008-07-03 23:41:22 +04:00
2009-02-25 16:53:49 +01:00
2008-05-30 11:12:07 +02:00
2009-03-10 16:54:24 +01:00
2008-10-23 21:27:09 +02:00
2008-07-07 11:43:56 +03:00
2008-12-13 19:42:12 +00:00
2009-02-19 18:24:25 -05:00
2009-03-27 13:55:14 +01:00
2008-12-09 17:31:22 +04:00
2008-05-30 11:12:07 +02:00
2009-01-13 15:04:28 +01:00
2008-11-17 19:43:10 +04:00
2009-01-31 02:08:41 +01:00
2009-05-15 12:11:07 +05:00
2009-05-10 21:20:35 +05:00
2009-02-12 11:52:01 +02:00