1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Cleanup execute_ddl_log_recovery() to not generate an error if

there is nothing to recover.

Discovered while working on Bug#12713
This commit is contained in:
kostja@bodhi.(none)
2007-11-01 18:33:51 +03:00
parent 96e4dd07c1
commit 8f90f66d43

View File

@@ -434,7 +434,7 @@ static uint read_ddl_log_header()
create_ddl_log_file_name(file_name);
if ((global_ddl_log.file_id= my_open(file_name,
O_RDWR | O_BINARY, MYF(MY_WME))) >= 0)
O_RDWR | O_BINARY, MYF(0))) >= 0)
{
if (read_ddl_log_file_entry(0UL))
{