Skip to content

Commit

Permalink
Update lib/mysql_rewinder/cleaner.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Yusuke Sangenya <[email protected]>
  • Loading branch information
meri025 and genya0407 authored Jul 19, 2024
1 parent 519d800 commit a1f73ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mysql_rewinder/cleaner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def clean(tables:)
target_tables = (tables - @except_tables) & all_tables

if target_tables.empty?
@logger&.debug { "[MysqlRewinder][#{@db_config[:database]}] Skip DELETE query because target_table is empty. target tables: #{tables}, except tables: #{@except_tables}, all tables: #{all_tables}." }
@logger&.debug { "[MysqlRewinder][#{@db_config[:database]}] Skip DELETE query because target_table is empty. tables: #{tables}, @except_tables: #{@except_tables}, all_tables: #{all_tables}." }
return
end

Expand Down

0 comments on commit a1f73ad

Please sign in to comment.