Fixed last_executed_query test failure on Oracle