1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

bug #18518 (embedded server crashes starting)

The problem is that now server works properly only with the 
row-based replication
This commit is contained in:
holyfoot@deer.(none)
2006-04-24 19:39:33 +05:00
parent d0a3ce5da4
commit 25f56ce8b4
9 changed files with 35 additions and 4 deletions

View File

@ -1069,7 +1069,9 @@ void close_thread_tables(THD *thd, bool lock_in_use, bool skip_derived)
handled either before writing a query log event (inside
binlog_query()) or when preparing a pending event.
*/
#ifdef HAVE_ROW_BASED_REPLICATION
thd->binlog_flush_pending_rows_event(true);
#endif /*HAVE_ROW_BASED_REPLICATION*/
mysql_unlock_tables(thd, thd->lock);
thd->lock=0;
}