#209 redo open_table_check_empty session variable