diff options
author | unknown <monty@donna.mysql.fi> | 2001-03-07 14:06:39 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-03-07 14:06:39 +0200 |
commit | 9b8ddd1a6d0afc8ab9fa3d0f808b53781b9bab1f (patch) | |
tree | 79b7da6c72627528a82824c0bb9412e8d4802f8e /sql/ha_berkeley.cc | |
parent | 6068405ca64ea9ee5fef22d2133cc374639a1407 (diff) | |
download | mariadb-git-9b8ddd1a6d0afc8ab9fa3d0f808b53781b9bab1f.tar.gz |
Removed duplicated index_init() calls that causes problems with BDB
tables.
Merged maxsql.spec with mysql.spec
mysql-test/r/innobase.result:
Almost up to date test results
mysql-test/t/innobase.test:
Added testing of error codes
sql-bench/test-insert.sh:
Added testing of key-only-read
sql/ha_berkeley.cc:
Added DBUG_PRINT
sql/sql_select.cc:
Removed duplicated index_init() calls
support-files/maxsql.spec.sh:
Merge with mysql.spec. Take into account that BDB and Innobase is
in the MySQL source tree
support-files/mysql.spec.sh:
Removed usage of innobase in standard RPM
Diffstat (limited to 'sql/ha_berkeley.cc')
-rw-r--r-- | sql/ha_berkeley.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc index af66f9ebf96..9a0300b4fcb 100644 --- a/sql/ha_berkeley.cc +++ b/sql/ha_berkeley.cc @@ -1306,6 +1306,7 @@ int ha_berkeley::index_init(uint keynr) { int error; DBUG_ENTER("index_init"); + DBUG_PRINT("enter",("table: '%s' key: %d", table->real_name, keynr)); active_index=keynr; dbug_assert(cursor == 0); if ((error=key_file[keynr]->cursor(key_file[keynr], transaction, &cursor, @@ -1323,6 +1324,7 @@ int ha_berkeley::index_end() DBUG_ENTER("index_end"); if (cursor) { + DBUG_PRINT("enter",("table: '%s'", table->real_name)); error=cursor->c_close(cursor); cursor=0; } |