mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
Merge branch '5.5' into 10.0
This commit is contained in:
commit
89dc445a55
23 changed files with 465 additions and 180 deletions
|
|
@ -1270,6 +1270,7 @@ static my_bool translog_set_lsn_for_files(uint32 from_file, uint32 to_file,
|
|||
mysql_file_close(fd, MYF(MY_WME))))
|
||||
{
|
||||
translog_stop_writing();
|
||||
mysql_mutex_unlock(&log_descriptor.file_header_lock);
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
}
|
||||
|
|
@ -2294,10 +2295,11 @@ static void translog_set_only_in_buffers(TRANSLOG_ADDRESS in_buffers)
|
|||
if (cmp_translog_addr(in_buffers, log_descriptor.in_buffers_only) > 0)
|
||||
{
|
||||
if (translog_status != TRANSLOG_OK)
|
||||
DBUG_VOID_RETURN;
|
||||
goto end;
|
||||
log_descriptor.in_buffers_only= in_buffers;
|
||||
DBUG_PRINT("info", ("set new in_buffers_only"));
|
||||
}
|
||||
end:
|
||||
mysql_mutex_unlock(&log_descriptor.sent_to_disk_lock);
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3482,6 +3482,7 @@ restart:
|
|||
lock_to_read[lock].unlock_lock,
|
||||
unlock_pin, FALSE))
|
||||
{
|
||||
pagecache_pthread_mutex_unlock(&pagecache->cache_lock);
|
||||
DBUG_ASSERT(0);
|
||||
return (uchar*) 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue