summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-11-01 20:30:45 +0200
committerMonty <monty@mariadb.org>2017-11-02 20:37:26 +0200
commit3ab112eb39dad0ac4bd9d68306cf6040161e9dc2 (patch)
tree208b97ef2b260bfae4bd6d42301fb05782fb1040 /sql/sql_select.h
parenta17e7d0747ae51b9df4474edbbab0b08106e5bc9 (diff)
downloadmariadb-git-3ab112eb39dad0ac4bd9d68306cf6040161e9dc2.tar.gz
Fixed compiler warning and unitialized memory warning
- The valgrind warning came from JOIN::optimize() (sql_select.cc:1123)
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index b6b8deb99f5..1a94ec2894f 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -1464,6 +1464,8 @@ public:
ordered_index_usage= ordered_index_void;
need_distinct= 0;
skip_sort_order= 0;
+ with_two_phase_optimization= 0;
+ is_for_splittable_grouping_derived= 0;
need_tmp= 0;
hidden_group_fields= 0; /*safety*/
error= 0;