Skip to content

Commit 9c6a0e7

Browse files
author
Mattias Jonsson
committed
Merge of bug#14589559 mysql-5.6 -> mysql-trunk
2 parents 6709e64 + 2cefb3a commit 9c6a0e7

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

sql/sql_table.cc

+9-7
Original file line numberDiff line numberDiff line change
@@ -700,8 +700,8 @@ mysql_mutex_t LOCK_gdl;
700700
@param entry_no Entry number to read
701701
702702
@return Operation status
703-
@retval TRUE Error
704-
@retval FALSE Success
703+
@retval true Error
704+
@retval false Success
705705
*/
706706

707707
static bool read_ddl_log_file_entry(uint entry_no)
@@ -721,13 +721,13 @@ static bool read_ddl_log_file_entry(uint entry_no)
721721

722722

723723
/**
724-
Write one entry from ddl log file.
724+
Write one entry to ddl log file.
725725
726726
@param entry_no Entry number to write
727727
728728
@return Operation status
729-
@retval TRUE Error
730-
@retval FALSE Success
729+
@retval true Error
730+
@retval false Success
731731
*/
732732

733733
static bool write_ddl_log_file_entry(uint entry_no)
@@ -1726,14 +1726,16 @@ void execute_ddl_log_recovery()
17261726

17271727
void release_ddl_log()
17281728
{
1729-
DDL_LOG_MEMORY_ENTRY *free_list= global_ddl_log.first_free;
1730-
DDL_LOG_MEMORY_ENTRY *used_list= global_ddl_log.first_used;
1729+
DDL_LOG_MEMORY_ENTRY *free_list;
1730+
DDL_LOG_MEMORY_ENTRY *used_list;
17311731
DBUG_ENTER("release_ddl_log");
17321732

17331733
if (!global_ddl_log.do_release)
17341734
DBUG_VOID_RETURN;
17351735

17361736
mysql_mutex_lock(&LOCK_gdl);
1737+
free_list= global_ddl_log.first_free;
1738+
used_list= global_ddl_log.first_used;
17371739
while (used_list)
17381740
{
17391741
DDL_LOG_MEMORY_ENTRY *tmp= used_list->next_log_entry;

0 commit comments

Comments
 (0)