Lines Matching refs:sqlOK
89 #define sqlOK(a) ((a == SQL_SUCCESS || a == SQL_SUCCESS_WITH_INFO) ? -1 : 0)
274 if (!sqlOK(sqlRes)) {
284 if (!sqlOK(sqlRes)) {
293 if (!sqlOK(sqlRes)) {
672 if (!sqlOK(sqlRes)) {
741 if (sqlOK(SQLColAttribute(stmnt, field, SQL_DESC_DISPLAY_SIZE,
745 if (sqlOK(SQLGetData(stmnt, field, SQL_C_CHAR,
777 if (sqlOK(SQLColAttribute(stmnt, i, SQL_DESC_DISPLAY_SIZE,
796 if (sqlOK(SQLGetData(stmnt, i, SQL_C_CHAR, &(data[j]),
845 if (!sqlOK(SQLNumResultCols(stmnt, &fields))) {
856 while (sqlOK(SQLFetch(stmnt))) {
981 !sqlOK(SQLFetch(((odbc_db_t *) (dbi->dbconn))->stmnt))) {
1033 !sqlOK(SQLFetch(((odbc_db_t *) (dbi->dbconn))->stmnt))) {
1095 if (!sqlOK(SQLNumResultCols(stmnt, &fields))) {
1115 while (sqlOK(SQLFetch(stmnt))) {
1347 if (!sqlOK(sqlRes)) {
1358 if (!sqlOK(sqlRes)) {