MCPcopy Create free account
hub / github.com/MapServer/MapServer / setStmntError

Function setStmntError

mapmssql2008.c:266–273  ·  view source on GitHub ↗

Set the error string for the statement execution */

Source from the content-addressed store, hash-verified

264
265/* Set the error string for the statement execution */
266static void setStmntError(msODBCconn *conn)
267{
268 SQLSMALLINT len;
269
270 SQLGetDiagField(SQL_HANDLE_STMT, conn->hstmt, 1, SQL_DIAG_MESSAGE_TEXT, (SQLPOINTER) conn->errorMessage, sizeof(conn->errorMessage), &len);
271
272 conn->errorMessage[len] = 0;
273}
274
275/* Execute SQL against connection. Set error string if failed */
276static int executeSQL(msODBCconn *conn, const char * sql)

Callers 2

executeSQLFunction · 0.85
columnNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected