I mess with annoying problem of regexp search in Dump::Reade#find_entry. If one table name is a substring of another and it is lower in alphanumerical order, for example for users and admin_users, it tries to restore admin_users.dump into users table.
Hi folks!
I mess with annoying problem of regexp search in
Dump::Reade#find_entry
. If one table name is a substring of another and it is lower in alphanumerical order, for example forusers
andadmin_users
, it tries to restoreadmin_users.dump
intousers
table.I changed some tests and fix this.