diff options
author | unknown <monty@donna.mysql.com> | 2000-10-17 00:47:15 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-10-17 00:47:15 +0300 |
commit | f6517b1947ada17d4a53d4efc0fd45a1b6777c2c (patch) | |
tree | ab2709570d10aac2956fa63114d45c79b2b5ea19 /sql/ha_berkeley.cc | |
parent | 44920b90d87747d170ff0ca53613082593141288 (diff) | |
download | mariadb-git-f6517b1947ada17d4a53d4efc0fd45a1b6777c2c.tar.gz |
Automatic repair of MyISAM tables + small bug fixes
Docs/manual.texi:
Updates for 3.23.26
include/Makefile.am:
Install my_config.h
include/my_pthread.h:
Fix for Ia64
myisam/mi_check.c:
Wrong new record pos on dupplicate key error
myisam/mi_open.c:
Fix for automatic repair
myisam/myisamchk.c:
Fix for automatic repair
myisam/myisamdef.h:
Fix for automatic repair
mysys/mf_tempfile.c:
Fix usage of mkstemp
sql-bench/bench-init.pl.sh:
Better help text
sql-bench/test-insert.sh:
Fix for slow databases
sql/field.cc:
Fix of default values for CREATE TABLE ... SELECT
sql/ha_berkeley.cc:
Fix bug in BDB records_in_range
sql/ha_myisam.cc:
Fix for automatic repair
sql/ha_myisam.h:
Fix for automatic repair
sql/handler.cc:
Fixes for innobase
sql/item_strfunc.cc:
Fix for SUBSTR_INDEX and REPLACE
sql/log_event.h:
Portability fix
sql/mysqld.cc:
Added INNOBASE and fixes for automatic recover of MyISAM tables
sql/sql_base.cc:
Fix for automatic repair
sql/sql_table.cc:
Fix for IF EXISTS when used with CREATE TEMPORARY
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r-- | sql/ha_berkeley.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc index 22cc5b6964b..274d9164a9b 100644 --- a/sql/ha_berkeley.cc +++ b/sql/ha_berkeley.cc @@ -1472,11 +1472,11 @@ ha_rows ha_berkeley::records_in_range(int keynr, DB_KEY_RANGE start_range, end_range; double start_pos,end_pos,rows; DBUG_ENTER("records_in_range"); - if ((start_key && file->key_range(file,transaction, + if ((start_key && file->key_range(key_file[keynr],transaction, pack_key(&key, keynr, key_buff, start_key, start_key_len), &start_range,0)) || - (end_key && file->key_range(file,transaction, + (end_key && file->key_range(key_file[keynr],transaction, pack_key(&key, keynr, key_buff, end_key, end_key_len), &end_range,0))) |