diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-11-02 10:47:36 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-11-02 10:47:36 +0100 |
commit | 9a73249161f5d49626efb80364bed02419b044be (patch) | |
tree | 589cdb52abdd72f863d995608c4438af99cf1434 /sql/sql_expression_cache.cc | |
parent | 74711a46153088e5e9159977b42ba7615a3af2df (diff) | |
download | mariadb-git-9a73249161f5d49626efb80364bed02419b044be.tar.gz |
fix windows embedded
Diffstat (limited to 'sql/sql_expression_cache.cc')
-rw-r--r-- | sql/sql_expression_cache.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sql_expression_cache.cc b/sql/sql_expression_cache.cc index 440d6cdc80f..50fd7c7ee4d 100644 --- a/sql/sql_expression_cache.cc +++ b/sql/sql_expression_cache.cc @@ -114,10 +114,8 @@ void Expression_cache_tmptable::init() field_counter=1; if (cache_table->alloc_keys(1) || - (cache_table->add_tmp_key(0, items.elements - 1, - &field_enumerator, - (uchar*)&field_counter, - TRUE) < 0) || + cache_table->add_tmp_key(0, items.elements - 1, &field_enumerator, + (uchar*)&field_counter, TRUE) || ref.tmp_table_index_lookup_init(table_thd, cache_table->key_info, it, TRUE)) { |