mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 12:45:41 +02:00
Fixed that LEFT OUTER JOIN was replaced with a regulat join
in some cases, because "charset(x) = 'string'" was considered as "x is not null" due to incorrect not_null_tables().
This commit is contained in:
parent
2621e38bf9
commit
9b2e4c7c60
4 changed files with 40 additions and 1 deletions
|
|
@ -616,7 +616,8 @@ public:
|
|||
Item_func_coercibility(Item *a) :Item_int_func(a) {}
|
||||
longlong val_int();
|
||||
const char *func_name() const { return "coercibility"; }
|
||||
void fix_length_and_dec() { max_length=10; }
|
||||
void fix_length_and_dec() { max_length=10; maybe_null= 0; }
|
||||
table_map not_null_tables() const { return 0; }
|
||||
};
|
||||
|
||||
class Item_func_locate :public Item_int_func
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue