From 60d66cfd57d7ac71373a8cb1e99d5e730de9be91 Mon Sep 17 00:00:00 2001 From: freemine Date: Thu, 8 Oct 2020 16:01:05 +0800 Subject: [PATCH] remove trailing spaces --- src/connector/odbc/src/todbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connector/odbc/src/todbc.c b/src/connector/odbc/src/todbc.c index 1a14d4b3b1..dda79f209c 100644 --- a/src/connector/odbc/src/todbc.c +++ b/src/connector/odbc/src/todbc.c @@ -180,7 +180,7 @@ SQLRETURN SQL_API SQLAllocEnv(SQLHENV *EnvironmentHandle) { SQLRETURN SQL_API SQLFreeEnv(SQLHENV EnvironmentHandle) { env_t *env = (env_t*)EnvironmentHandle; if (!env) return SQL_ERROR; - + DASSERT(GET_REF(env)==1); DASSERT(!env->destroying); @@ -255,7 +255,7 @@ SQLRETURN SQL_API SQLConnect(SQLHDBC ConnectionHandle, SQLCHAR *Authentication, SQLSMALLINT NameLength3) { conn_t *conn = (conn_t*)ConnectionHandle; if (!conn) return SQL_ERROR; - + if (conn->taos) { SET_ERROR(conn, "HY000", TSDB_CODE_TSC_APP_ERROR, "connection still in use"); return SQL_ERROR; -- GitLab