Check_table_cols takes the conn handler as an argument, so I can't do that.