1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00
Files
mariadb/mysql-test/t
unknown e3e0658779 Fixed bug #18206.
The bug report revealed two problems related to min/max optimization:
1. If the length of a constant key used in a SARGable condition for
for the MIN/MAX fields is greater than the length of the field an 
unwanted warning on key truncation is issued;
2. If MIN/MAX optimization is applied to a partial index, like INDEX(b(4))
than can lead to returning a wrong result set.


mysql-test/r/func_group.result:
  Added test cases for bug #18206.
mysql-test/t/func_group.test:
  Added test cases for bug #18206.
sql/opt_sum.cc:
  Fixed bug #18206.
  Suppressed the warning about data truncation when store_val_in_field
  was used to store keys for the field used in MIN/MAX optimization.
  Blocked MIN/MAX optimization for partial keys, such as in INDEX(b(4)).
sql/sql_select.cc:
  Fixed bug #18206.
  Added a parameter for the function store_val_in_field allowing to
  control setting warnings about data truncation in the function.
sql/sql_select.h:
  Fixed bug #18206.
  Added a parameter for the function store_val_in_field allowing to
  control setting warnings about data truncation in the function.
2006-06-02 14:14:57 -07:00
..
2006-05-01 21:30:09 +03:00
2005-09-08 12:09:30 +04:00
2005-11-06 02:11:12 +03:00
2006-05-04 20:19:37 +03:00
2005-08-19 01:57:22 -07:00
2006-04-20 12:35:33 +04:00
2006-06-02 14:14:57 -07:00
2006-04-11 15:26:18 +05:00
2006-05-06 23:48:13 -07:00
2005-08-07 03:16:15 +01:00
2005-09-06 18:03:08 +04:00
2006-04-18 20:57:31 -07:00
2006-03-06 18:34:38 +01:00
2005-11-25 10:41:22 +01:00
2005-09-30 11:39:49 +02:00
2005-07-31 04:28:01 -07:00
2005-09-05 12:33:25 +02:00
2006-04-20 22:15:38 -07:00
2005-01-30 10:24:03 +00:00
2004-11-15 17:03:54 +01:00
2005-10-12 09:47:59 +02:00
2005-12-08 16:13:53 +01:00
2005-08-09 00:13:49 +03:00
2006-01-26 00:06:20 +03:00