diff options
| author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-01-23 16:59:19 +0200 |
|---|---|---|
| committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2018-01-23 16:59:19 +0200 |
| commit | be21a113da9748d06739b6522ea898257970b1c5 (patch) | |
| tree | dfd2bc3f92a25f0a88296b6d99081e4cb727c9f5 /sql | |
| parent | 6e449d1ef0c79864d150090505d5b4e555ae6ab6 (diff) | |
| download | mariadb-git-be21a113da9748d06739b6522ea898257970b1c5.tar.gz | |
Fix test failures
Diffstat (limited to 'sql')
| -rw-r--r-- | sql/item_cmpfunc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 0e4af9bd21c..fc906fd63d8 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -1388,7 +1388,7 @@ public: bool arg_is_datetime_notnull_field() { Item **args= arguments(); - if (args[0]->type() == Item::FIELD_ITEM) + if (args[0]->real_item()->type() == Item::FIELD_ITEM) { Field *field=((Item_field*) args[0]->real_item())->field; |
