1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 7e5247aade fixed Bug #4358 Problem with HAVING clause that uses alias
from the select list and TEXT field 

make setup_copy_fields to insert Item_copy_string for blobs in 
the beginning of the copy_funcs (push_back instead of push_front)

the thing is that Item_copy_string::copy for function can call 
Item_copy_string::val_int for blob via Item_ref.
But if Item_copy_string::copy for blob isn't called before, 
it's value will be wrong.

So all the Item_copy_string::copy for blobs should be called before 
Item_copy_string::copy for functions.


mysql-test/r/having.result:
  added test case for
  Bug #4358 Problem with HAVING clause that uses
              alias from the select list and TEXT field
mysql-test/t/having.test:
  added test case for
  Bug #4358 Problem with HAVING clause that uses
              alias from the select list and TEXT field
sql/sql_select.cc:
  make setup_copy_fields to insert Item_copy_string for blobs in 
  the beginning of the copy_funcs (push_back instead of push_front)
  
  the thing is that Item_copy_string::copy for function can call 
  Item_copy_string::val_int for blob via Item_ref.
  But if Item_copy_string::copy for blob isn't called before, 
  it's value will be wrong.
  
  So all the Item_copy_string::copy for blobs should be called before 
  Item_copy_string::copy for functions.
  
  fixed 
  Bug #4358 Problem with HAVING clause that
             uses alias from the select list and TEXT field
2004-08-12 20:37:31 +05:00
..
2004-02-16 09:41:13 +02:00
2003-07-01 14:38:38 +03:00
2003-12-30 13:14:21 +02:00
2003-03-13 13:44:03 +01:00
2004-06-25 12:59:47 +02:00
2003-04-23 21:52:16 +03:00
2004-02-09 23:57:29 +02:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2004-03-27 00:35:45 +04:00
2003-01-28 08:38:28 +02:00
2003-06-11 20:09:37 +05:00
2003-08-20 16:25:44 +03:00
2004-01-19 23:44:39 +01:00
2003-12-16 13:20:17 +02:00
2003-01-28 08:38:28 +02:00
2004-02-21 14:25:43 +01:00
2004-03-25 22:05:09 +02:00
2004-02-16 18:58:21 +02:00
2002-11-29 16:40:18 +02:00
2003-12-30 13:14:21 +02:00
2004-03-10 16:56:28 +01:00
2003-04-23 21:52:16 +03:00
2004-03-22 16:35:15 +02:00
2003-12-02 21:05:40 +03:00
2003-10-29 14:23:35 +01:00