Revert "Meta-data: fixed SQL regression test."

This reverts commit 782d715ebddbdbcac3fa58f1acdf04a3a91bdd80.