summaryrefslogtreecommitdiff
path: root/sql/opt_subselect.h
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-09-26 21:20:15 +0300
committerunknown <sanja@askmonty.org>2013-09-26 21:20:15 +0300
commite5746665c9f8dcfa66a7a645f1c5517769a2fa0a (patch)
tree56e9d83b5ef43f93d9628c25f69b81f174d48f5c /sql/opt_subselect.h
parent828be0d9bae813d0587fbede6e02b12eebac66ca (diff)
parent9d83468e78ba23f024ce3c11443913ad75cf1ea5 (diff)
downloadmariadb-git-e5746665c9f8dcfa66a7a645f1c5517769a2fa0a.tar.gz
merge 10.0-base -> 10.0
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r--sql/opt_subselect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h
index 044e2dce3ee..6ed077dcfcb 100644
--- a/sql/opt_subselect.h
+++ b/sql/opt_subselect.h
@@ -192,7 +192,7 @@ public:
(PREV_BITS(key_part_map, max_loose_keypart+1) & // (3)
(found_part | loose_scan_keyparts)) == // (3)
PREV_BITS(key_part_map, max_loose_keypart+1) && // (3)
- !key_uses_partial_cols(s->table, key))
+ !key_uses_partial_cols(s->table->s, key))
{
/* Ok, can use the strategy */
part1_conds_met= TRUE;