|
This patch addresses these issues when given $prefix and $stripprefix
parameters.
- missing param for the schema when calling MetaTables()
- no table were returned if $stripprefix was true ($table name stripped,
then later a sql select on that table name live, lol).
- prefixes like 'mydbprefix_db1_' should not allow other tables starting
'mydbprefixXdb1_' or 'mydbprefix_db1X' to be matched as table for the
result.
Tested only with mysqli.
Fixes #92
Signed-off-by: Damien Regad <dregad@mantisbt.org>
|