summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorMats Kindahl <mats@sun.com>2009-12-18 11:16:18 +0100
committerMats Kindahl <mats@sun.com>2009-12-18 11:16:18 +0100
commitb001aefde87a8238ca14621e0c42c7d9e0ca29da (patch)
treef8adb49d169fd83abd93beba04f12ef8553bf91e /sql/sql_select.cc
parent242038c61f223eed54bb2212546bcabffe7c7ba3 (diff)
parente4de9401d647a6653dd74c02594ab1f76dee9292 (diff)
downloadmariadb-git-b001aefde87a8238ca14621e0c42c7d9e0ca29da.tar.gz
Merging with mysql-5.1-rep+2
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 940c84c4940..7d89a9a5a5e 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -10479,6 +10479,7 @@ TABLE *create_virtual_tmp_table(THD *thd, List<Create_field> &field_list)
share->blob_field= blob_field;
share->fields= field_count;
share->blob_ptr_size= portable_sizeof_char_ptr;
+ share->db_low_byte_first=1; // True for HEAP and MyISAM
setup_tmp_table_column_bitmaps(table, bitmaps);
/* Create all fields and calculate the total length of record */