TableRowCountGenerator shouldn't pass tableName as catalogName

Description

TableRowCountGenerator#generateCountSql(..) passes the TableRowCountStatement#getTableName() as the first argument to the Database#escapeTableName(..) method, which results in an invalid select statement (depending on your database) as the first argument is assumed to be the catalogName.

This renders the <tableIsEmpty> precondition useless on some/all systems.

Probably just a typo. Here's a patch:

Environment

MySQL/MyISAM

Status

Assignee

Unassigned

Reporter

Kai Kunstmann

Labels

None

Fix versions

Affects versions

Priority

Trivial
Configure