wp-cli/wp-cli — pull request #1304 by danielbachhuber (2014-07-30 16:49:07+00:00)
Title: All tables in a database are used - ouch!

Having multiple WordPress in one database with the prefix "wp_" and "wp_en_" is something you need to do when the hoster only gives you one database.
Some customer might have that but wp-cli will "search-replace" all those tables instead of only the one it should.

When you are in an WP folder then read what the wp_db::prefix is and only use those tables. Do not use the other tables that are given there.

Example:

- You are in an WP installation that uses "wp_" as prefix. Then don't search-replace tables that have a different prefix.