bug #4224 Empty table names when a table is "inuse"

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Merge pull request #839 from madhuracj/QA_4_1

bug #4224 Empty table names when a table is "inuse"