Merge "func_odbc: Check connection status before executing queries."