remove trailing spaces

This commit is contained in:
freemine 2020-10-08 16:01:05 +08:00
parent 0aee002858
commit 60d66cfd57
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ SQLRETURN SQL_API SQLAllocEnv(SQLHENV *EnvironmentHandle) {
SQLRETURN SQL_API SQLFreeEnv(SQLHENV EnvironmentHandle) { SQLRETURN SQL_API SQLFreeEnv(SQLHENV EnvironmentHandle) {
env_t *env = (env_t*)EnvironmentHandle; env_t *env = (env_t*)EnvironmentHandle;
if (!env) return SQL_ERROR; if (!env) return SQL_ERROR;
DASSERT(GET_REF(env)==1); DASSERT(GET_REF(env)==1);
DASSERT(!env->destroying); DASSERT(!env->destroying);
@ -255,7 +255,7 @@ SQLRETURN SQL_API SQLConnect(SQLHDBC ConnectionHandle,
SQLCHAR *Authentication, SQLSMALLINT NameLength3) { SQLCHAR *Authentication, SQLSMALLINT NameLength3) {
conn_t *conn = (conn_t*)ConnectionHandle; conn_t *conn = (conn_t*)ConnectionHandle;
if (!conn) return SQL_ERROR; if (!conn) return SQL_ERROR;
if (conn->taos) { if (conn->taos) {
SET_ERROR(conn, "HY000", TSDB_CODE_TSC_APP_ERROR, "connection still in use"); SET_ERROR(conn, "HY000", TSDB_CODE_TSC_APP_ERROR, "connection still in use");
return SQL_ERROR; return SQL_ERROR;