1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-12 10:22:39 +03:00
Files
mariadb/mysql-test/r
gkodinov/kgeorge@macbook.gmz c606c63f0e Bug #21159: Optimizer: wrong result after AND with different data types
Disable const propagation for Item_hex_string.
This must be done because Item_hex_string->val_int() is not
the same as (Item_hex_string->val_str() in BINARY column)->val_int().
We cannot simply disable the replacement in a particular context (
e.g. <bin_col> = <int_col> AND <bin_col> = <hex_string>) since
Items don't know the context they are in and there are functions like 
IF (<hex_string>, 'yes', 'no').
Note that this will disable some valid cases as well 
(e.g. : <bin_col> = <hex_string> AND <bin_col2> = <bin_col>) but 
there's no way to distinguish the valid cases without having the
Item's parent say something like : Item->set_context(Item::STRING_RESULT)
and have all the Items that contain other Items do that consistently.
2006-08-15 10:13:17 +03:00
..
2006-07-13 20:48:26 -07:00
2006-05-29 16:27:45 +02:00
2006-06-17 02:57:50 +04:00
2006-07-13 20:48:26 -07:00
2006-06-15 16:39:18 +04:00
2006-05-31 22:55:45 -07:00
2006-06-28 15:53:54 +03:00
2006-05-24 17:21:35 +03:00
2006-06-15 01:48:41 +04:00
2006-06-20 00:52:26 +04:00
2006-06-30 02:03:09 +04:00
2006-06-27 17:00:24 +05:00
2006-07-21 11:59:46 +03:00
2006-01-06 00:47:49 +02:00
2006-05-16 22:19:44 -07:00
2006-02-03 00:07:36 +03:00
2006-05-17 20:48:48 -07:00
2006-05-31 22:55:45 -07:00
2006-03-06 23:43:47 +01:00
2005-12-06 21:28:13 +01:00
2006-07-17 14:22:21 +04:00
2006-07-14 05:56:30 -07:00
2006-07-19 16:50:55 +02:00
2006-05-04 09:58:03 +05:00
2005-10-12 15:19:51 +02:00
2006-02-07 19:57:31 +01:00
2006-06-12 15:36:12 +02:00
2006-07-13 20:48:26 -07:00
2006-05-31 22:55:45 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-07-13 20:48:26 -07:00
2006-07-14 05:56:30 -07:00
2006-07-01 09:28:41 +04:00
2006-06-17 02:57:50 +04:00
2006-04-27 21:59:04 +09:30
2006-06-01 16:51:19 -07:00
2006-06-01 16:51:19 -07:00
2006-06-30 02:03:09 +04:00
2006-06-09 19:29:39 -07:00
2006-07-13 20:48:26 -07:00
2006-04-26 17:09:41 -07:00
2006-03-31 21:26:17 -08:00