The old method split the SQL string on whitespace, which means that it couldn't find table names that were not surrounded with whitespace, i.e. it wouldn't register the table cv_partner_employees if the string contained the substring (SELECT user_id, email FROM cv_partner_employees)
The old method split the SQL string on whitespace, which means that it couldn't find table names that were not surrounded with whitespace, i.e. it wouldn't register the table
cv_partner_employees
if the string contained the substring(SELECT user_id, email FROM cv_partner_employees)