search includes views, causes hang
Bug #708039 reported by
Scott M. Sanders
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Search & Replace Tool |
New
|
Undecided
|
Unassigned |
Bug Description
Searching includes views (v_), which for me causes it to hang indefinitely.
I changed the do around line 53 to the following to exclude them; now it works for me:
if(
$tables[] = $tables_
}
Ideally the sql query would initially exclude them, but adding a NOT LIKE to it threw a MySQL error.
My server OS is CentOS 5.5, PHP 5.2.10, and MySQL 5.0.84.
To post a comment you must log in.
Sorry, this is better:
if(substr( $tables_ r['Tables_ in_'.strtolower ($database) ], 0, 1) != "v_") { r['Tables_ in_'.strtolower ($database) ];
$tables[] = $tables_
}