diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-01-13 12:22:30 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-01-13 12:22:30 +0200 |
commit | bb3a63903e5192d39d93259ce2bb7635fcfca7a0 (patch) | |
tree | 87b168ee8c77bd35a33390f16f1f324f796d6bc2 /storage/spider | |
parent | f879ee9ca0d87d3574cb80f2259168cb7d01cbaa (diff) | |
parent | 6ffe9ad0d4244a86476fab1485145c0c91871579 (diff) | |
download | mariadb-git-bb3a63903e5192d39d93259ce2bb7635fcfca7a0.tar.gz |
Merge 10.10 into 10.11
Diffstat (limited to 'storage/spider')
-rw-r--r-- | storage/spider/spd_db_conn.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/spider/spd_db_conn.cc b/storage/spider/spd_db_conn.cc index 0f54709d2db..b64aaab4d58 100644 --- a/storage/spider/spd_db_conn.cc +++ b/storage/spider/spd_db_conn.cc @@ -7381,6 +7381,12 @@ int spider_db_print_item_type( DBUG_ENTER("spider_db_print_item_type"); DBUG_PRINT("info",("spider COND type=%d", item->type())); + if (item->type() == Item::REF_ITEM && + ((Item_ref*)item)->ref_type() == Item_ref::DIRECT_REF) + { + item= item->real_item(); + DBUG_PRINT("info",("spider new COND type=%d", item->type())); + } switch (item->type()) { case Item::FUNC_ITEM: |