summaryrefslogtreecommitdiff
path: root/sql/opt_subselect.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2013-03-11 07:44:24 -0700
committerIgor Babaev <igor@askmonty.org>2013-03-11 07:44:24 -0700
commitfc1c8ffdadfd14eb51969ecfde43e3204f10f6f8 (patch)
tree70ee4b3628cc62a706476d6c7b873fcfc9aa0e10 /sql/opt_subselect.h
parent938d47dcdc50ae4f127197ed72fd044b33ea7524 (diff)
downloadmariadb-git-fc1c8ffdadfd14eb51969ecfde43e3204f10f6f8.tar.gz
The pilot patch for mwl#253.
Diffstat (limited to 'sql/opt_subselect.h')
-rw-r--r--sql/opt_subselect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_subselect.h b/sql/opt_subselect.h
index 7b8f3142851..508531b8c37 100644
--- a/sql/opt_subselect.h
+++ b/sql/opt_subselect.h
@@ -283,6 +283,7 @@ public:
{
pos->records_read= best_loose_scan_records;
pos->key= best_loose_scan_start_key;
+ pos->cond_selectivity= 1.0;
pos->loosescan_picker.loosescan_key= best_loose_scan_key;
pos->loosescan_picker.loosescan_parts= best_max_loose_keypart + 1;
pos->use_join_buffer= FALSE;