diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2010-02-18 00:59:41 +0300 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2010-02-18 00:59:41 +0300 |
commit | d63959eed35faffb2ef35606c35840a8d5115454 (patch) | |
tree | 22271784bfa05236b68b1ce2187dd24f1dfac803 /sql/sql_class.h | |
parent | 663773aa8ca3fab6880bda06bebeeaf2d92edf7e (diff) | |
download | mariadb-git-d63959eed35faffb2ef35606c35840a8d5115454.tar.gz |
Subquery optimizations backport: fix test failures, update test results.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index a29ed310ac4..be8db57c314 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -2710,11 +2710,18 @@ public: */ bool precomputed_group_by; bool force_copy_fields; + /* + If TRUE, create_tmp_field called from create_tmp_table will convert + all BIT fields to 64-bit longs. This is a workaround the limitation + that MEMORY tables cannot index BIT columns. + */ + bool bit_fields_as_long; TMP_TABLE_PARAM() :copy_field(0), group_parts(0), group_length(0), group_null_parts(0), convert_blob_length(0), - schema_table(0), precomputed_group_by(0), force_copy_fields(0) + schema_table(0), precomputed_group_by(0), force_copy_fields(0), + bit_fields_as_long(0) {} ~TMP_TABLE_PARAM() { @@ -2745,7 +2752,7 @@ public: bool create_result_table(THD *thd, List<Item> *column_types, bool is_distinct, ulonglong options, - const char *alias); + const char *alias, bool bit_fields_as_long); }; /* Base subselect interface class */ |