Commit d25fd437 authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix wrong return from ExecuteQuery

  modified:   storage/connect/jdbconn.cpp

- Suppress GCC warning
  modified:   storage/connect/tabjdbc.cpp
parent c92f2606
......@@ -1458,7 +1458,7 @@ int JDBConn::ExecuteQuery(char *sql)
env->DeleteLocalRef(qry);
} // endif xqid
return RC_OK;
return rc;
} // end of ExecuteQuery
/***********************************************************************/
......
......@@ -172,7 +172,7 @@ int JDBCDEF::ParseURL(PGLOBAL g, char *url, bool b)
if (server->port) {
char buf[16];
sprintf(buf, "%d", server->port);
sprintf(buf, "%ld", server->port);
strcat(strcat(Url, ":"), buf);
} // endif port
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment