Hi!
Thank you for your test case, thanks to which this bug was solved.
Full fix will appear in the next 3.23 and 4.0 releases.
This is a patch :
===== sql_table.cc 1.101 vs edited =====
*** /tmp/sql_table.cc-1.101-460 Mon Feb 11 12:56:48 2002
--- edited/sql_table.cc Mon Jul 8 22:05:06 2002
***************
*** 1652,1658 ****
VOID(pthread_mutex_unlock(&LOCK_open));
goto err;
}
!
thd->proc_info="end";
mysql_update_log.write(thd, thd->query,thd->query_length);
if (mysql_bin_log.is_open())
--- 1652,1662 ----
VOID(pthread_mutex_unlock(&LOCK_open));
goto err;
}
! #ifdef HAVE_BERKELEY_DB
! extern bool berkeley_flush_logs(void);
! if (old_db_type == DB_TYPE_BERKELEY_DB && berkeley_flush_logs())
! goto err;
! #endif
thd->proc_info="end";
mysql_update_log.write(thd, thd->query,thd->query_length);
if (mysql_bin_log.is_open())
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php