1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-27 01:57:48 +03:00
unknown 10be360ece bug#28273: GROUP_CONCAT and ORDER BY: No warning when result gets truncated.
When using GROUP_CONCAT with ORDER BY, a tree is used for the sorting, as 
opposed to normal nested loops join used when there is no ORDER BY. 

The tree traversal that generates the result counts the lines that have been 
cut down. (as they get cut down to the field's max_size)
But the check of that count was before the tree traversal, so no 
warning was generated if the output is truncated.

Fixed by moving the check to after the tree traversal.


mysql-test/r/func_gconcat.result:
  bug#28273: correct result
mysql-test/t/func_gconcat.test:
  bug#28273: test case
sql/item_sum.cc:
  bug#28273: the fix
  
  Moved the code that outputs a warning to after temporary table (tree) is traversed.
2007-05-11 16:05:20 +03:00
..
2007-04-29 00:50:33 +05:00
2007-03-29 11:20:08 +02:00
2007-03-29 11:20:08 +02:00
2006-10-13 08:48:47 +02:00
2007-02-08 12:53:18 +04:00
2007-02-23 18:49:41 +02:00
2006-11-29 13:56:59 -05:00
2007-01-03 03:35:57 +04:00
2007-04-11 13:58:16 +03:00
2007-02-23 21:13:21 +03:00
2006-10-05 00:00:34 +02:00
2006-11-15 10:23:27 +01:00
2007-03-29 11:20:08 +02:00
2007-04-18 19:36:22 -06:00
2007-05-08 00:24:25 +05:00
2006-11-15 10:23:27 +01:00
2007-02-07 14:22:19 -08:00
2007-03-31 17:18:03 +02:00
2007-03-21 09:13:05 +01:00
2007-03-29 11:20:08 +02:00
2007-02-21 19:38:40 +02:00
2007-01-31 19:31:36 -08:00
2007-04-29 20:14:35 -07:00
2007-02-01 18:00:24 +04:00
2006-10-19 18:48:37 +05:00
2006-11-15 10:23:27 +01:00
2006-11-15 10:23:27 +01:00
2007-02-08 15:53:14 +01:00
2006-11-15 10:23:27 +01:00
2007-04-10 19:08:08 +03:00
2007-02-01 18:00:24 +04:00
2007-03-20 00:46:19 +03:00
2007-04-17 12:32:01 +02:00
2007-01-18 15:28:45 +04:00
2007-03-29 09:08:30 +05:00
2006-12-04 14:29:51 +02:00
2007-03-29 09:08:30 +05:00
2007-04-20 10:49:45 +03:00
2007-04-23 17:15:51 +03:00