File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -700,8 +700,8 @@ mysql_mutex_t LOCK_gdl;
700
700
@param entry_no Entry number to read
701
701
702
702
@return Operation status
703
- @retval TRUE Error
704
- @retval FALSE Success
703
+ @retval true Error
704
+ @retval false Success
705
705
*/
706
706
707
707
static bool read_ddl_log_file_entry (uint entry_no)
@@ -721,13 +721,13 @@ static bool read_ddl_log_file_entry(uint entry_no)
721
721
722
722
723
723
/* *
724
- Write one entry from ddl log file.
724
+ Write one entry to ddl log file.
725
725
726
726
@param entry_no Entry number to write
727
727
728
728
@return Operation status
729
- @retval TRUE Error
730
- @retval FALSE Success
729
+ @retval true Error
730
+ @retval false Success
731
731
*/
732
732
733
733
static bool write_ddl_log_file_entry (uint entry_no)
@@ -1726,14 +1726,16 @@ void execute_ddl_log_recovery()
1726
1726
1727
1727
void release_ddl_log ()
1728
1728
{
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;
1731
1731
DBUG_ENTER (" release_ddl_log" );
1732
1732
1733
1733
if (!global_ddl_log.do_release )
1734
1734
DBUG_VOID_RETURN;
1735
1735
1736
1736
mysql_mutex_lock (&LOCK_gdl);
1737
+ free_list= global_ddl_log.first_free ;
1738
+ used_list= global_ddl_log.first_used ;
1737
1739
while (used_list)
1738
1740
{
1739
1741
DDL_LOG_MEMORY_ENTRY *tmp= used_list->next_log_entry ;
You can’t perform that action at this time.
0 commit comments