From 9b8ddd1a6d0afc8ab9fa3d0f808b53781b9bab1f Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 7 Mar 2001 14:06:39 +0200 Subject: 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 --- sql/ha_berkeley.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/ha_berkeley.cc') 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; } -- cgit v1.2.1