• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/iodbc/

Lines Matching defs:pstmt

49   STMT_t FAR *pstmt = (STMT_t *) hstmt;
55 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
61 if (pstmt->asyn_on == en_NullProc)
64 switch (pstmt->state)
81 else if (pstmt->asyn_on != en_Prepare)
89 PUSHSQLERR (pstmt->herr, sqlstat);
96 PUSHSQLERR (pstmt->herr, en_S1009);
103 PUSHSQLERR (pstmt->herr, en_S1090);
108 hproc = _iodbcdm_getproc (pstmt->hdbc, en_Prepare);
112 PUSHSQLERR (pstmt->herr, en_IM001);
116 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_Prepare,
117 (pstmt->dhstmt, szSqlStr, cbSqlStr))
120 if (pstmt->asyn_on == en_Prepare)
127 pstmt->asyn_on = en_NullProc;
139 pstmt->asyn_on = en_Prepare;
144 pstmt->state = en_stmt_prepared;
145 pstmt->prep_state = 1;
149 switch (pstmt->state)
153 pstmt->state = en_stmt_allocated;
154 pstmt->prep_state = 0;
175 STMT_t FAR *pstmt = (STMT_t *) hstmt;
181 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
188 PUSHSQLERR (pstmt->herr, en_S1009);
195 PUSHSQLERR (pstmt->herr, en_S1090);
201 if (pstmt->asyn_on != en_NullProc)
207 switch (pstmt->state)
229 PUSHSQLERR (pstmt->herr, sqlstat);
234 hproc = _iodbcdm_getproc (pstmt->hdbc, en_SetCursorName);
238 PUSHSQLERR (pstmt->herr, en_IM001);
243 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_SetCursorName,
244 (pstmt->dhstmt, szCursor, cbCursor))
248 pstmt->cursor_state = en_stmt_cursor_named;
268 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
274 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
344 PUSHSQLERR (pstmt->herr, sqlstat);
350 if (pstmt->state >= en_stmt_needdata || pstmt->asyn_on != en_NullProc)
352 PUSHSQLERR (pstmt->herr, en_S1010);
357 hproc = _iodbcdm_getproc (pstmt->hdbc, en_BindParameter);
361 PUSHSQLERR (pstmt->herr, en_IM001);
366 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_BindParameter,
367 (pstmt->dhstmt, ipar, fParamType, fCType, fSqlType, cbColDef,
380 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
384 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
391 PUSHSQLERR (pstmt->herr, en_S1107);
396 if (pstmt->state >= en_stmt_needdata || pstmt->asyn_on != en_NullProc)
398 PUSHSQLERR (pstmt->herr, en_S1010);
403 hproc = _iodbcdm_getproc (pstmt->hdbc, en_ParamOptions);
407 PUSHSQLERR (pstmt->herr, en_IM001);
412 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_ParamOptions,
413 (pstmt->dhstmt, crow, pirow))
426 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
431 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
471 if (pstmt->state != en_stmt_allocated)
477 hproc = _iodbcdm_getproc (pstmt->hdbc, en_SetScrollOptions);
492 PUSHSQLERR (pstmt->herr, sqlstat);
497 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_SetScrollOptions,
498 (pstmt->dhstmt, fConcurrency, crowKeyset, crowRowset))