Skip to content

Commit

Permalink
Fix #616
Browse files Browse the repository at this point in the history
It's worth to note that we're fixing this problem
with the cost of slowing down the operation.

For me it's solid and it's an acceptable tradeoff,
but on large databases this could visibly decrease
the overall procedure execution speed
  • Loading branch information
alessandro-fazzi committed Dec 30, 2021
1 parent d1b277e commit bd3d297
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/wordmove/wpcli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ def wpcli_search_replace_command(context, config_key)
[
'wp search-replace',
"--path=#{wpcli_config_path(context)}",
context.dig(:remote_options, config_key),
"\A#{context.dig(:remote_options, config_key)}\Z",
context.dig(:local_options, config_key),
'--regex-delimiter="|"',
'--regex',
'--precise',
'--quiet',
'--skip-columns=guid',
'--all-tables',
Expand Down

0 comments on commit bd3d297

Please sign in to comment.