diff options
author | monty@hundin.mysql.fi <> | 2001-12-13 19:06:14 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-13 19:06:14 +0200 |
commit | 70e053fba0c96be907c674a29f0627cfe46186ad (patch) | |
tree | 06519b8e0a8a16f795d98ca8a9c7861e6daaac04 /sql/table.cc | |
parent | 12058c299647533050950d1dd5952c666c2eceb2 (diff) | |
download | mariadb-git-70e053fba0c96be907c674a29f0627cfe46186ad.tar.gz |
Fixed problem with default & InnoDB tables.
Diffstat (limited to 'sql/table.cc')
-rw-r--r-- | sql/table.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/table.cc b/sql/table.cc index eed4170c14a..1ab6c50add9 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -120,10 +120,8 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag, outparam->db_record_offset=1; if (db_create_options & HA_OPTION_LONG_BLOB_PTR) outparam->blob_ptr_size=portable_sizeof_char_ptr; - outparam->db_low_byte_first=test(outparam->db_type == DB_TYPE_MYISAM || - outparam->db_type == DB_TYPE_BERKELEY_DB || - outparam->db_type == DB_TYPE_HEAP); - + /* Set temporaryly a good value for db_low_byte_first */ + outparam->db_low_byte_first=test(outparam->db_type != DB_TYPE_ISAM); error=4; outparam->max_rows=uint4korr(head+18); outparam->min_rows=uint4korr(head+22); |