• 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

50   STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
54 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
83 PUSHSQLERR (pstmt->herr, en_S1003);
89 PUSHSQLERR (pstmt->herr, en_S1090);
95 if (pstmt->state > en_stmt_needdata || pstmt->asyn_on != en_NullProc)
97 PUSHSQLERR (pstmt->herr, en_S1010);
102 hproc = _iodbcdm_getproc (pstmt->hdbc, en_BindCol);
106 PUSHSQLERR (pstmt->herr, en_IM001);
111 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_BindCol,
112 (pstmt->dhstmt, icol, fCType, rgbValue, cbValueMax, pcbValue))
125 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
129 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
137 PUSHSQLERR (pstmt->herr, en_S1090);
143 if (pstmt->state >= en_stmt_needdata || pstmt->asyn_on != en_NullProc)
145 PUSHSQLERR (pstmt->herr, en_S1010);
150 if (pstmt->state < en_stmt_cursoropen
151 && pstmt->cursor_state == en_stmt_cursor_no)
153 PUSHSQLERR (pstmt->herr, en_S1015);
159 hproc = _iodbcdm_getproc (pstmt->hdbc, en_GetCursorName);
163 PUSHSQLERR (pstmt->herr, en_IM001);
168 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_GetCursorName,
169 (pstmt->dhstmt, szCursor, cbCursorMax, pcbCursor))
180 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
184 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
190 if (pstmt->state >= en_stmt_needdata
191 || pstmt->state <= en_stmt_prepared
192 || pstmt->asyn_on != en_NullProc)
194 PUSHSQLERR (pstmt->herr, en_S1010);
200 hproc = _iodbcdm_getproc (pstmt->hdbc, en_RowCount);
204 PUSHSQLERR (pstmt->herr, en_IM001);
209 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_RowCount,
210 (pstmt->dhstmt, pcrow))
221 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
226 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
232 if (pstmt->asyn_on == en_NullProc)
234 if (pstmt->state == en_stmt_allocated
235 || pstmt->state >= en_stmt_needdata)
237 PUSHSQLERR (pstmt->herr, en_S1010);
241 else if (pstmt->asyn_on != en_NumResultCols)
243 PUSHSQLERR (pstmt->herr, en_S1010);
249 hproc = _iodbcdm_getproc (pstmt->hdbc, en_NumResultCols);
253 PUSHSQLERR (pstmt->herr, en_IM001);
258 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_NumResultCols,
259 (pstmt->dhstmt, &ccol))
262 if (pstmt->asyn_on == en_NumResultCols)
269 pstmt->asyn_on = en_NullProc;
285 pstmt->asyn_on = en_NumResultCols;
314 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
320 || pstmt->hdbc == SQL_NULL_HDBC)
337 PUSHSQLERR (pstmt->herr, sqlstat);
343 if (pstmt->asyn_on == en_NullProc)
345 if (pstmt->asyn_on == en_stmt_allocated
346 || pstmt->asyn_on >= en_stmt_needdata)
351 else if (pstmt->asyn_on != en_DescribeCol)
358 PUSHSQLERR (pstmt->herr, sqlstat);
364 hproc = _iodbcdm_getproc (pstmt->hdbc, en_DescribeCol);
368 PUSHSQLERR (pstmt->herr, en_IM001);
373 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_DescribeCol,
374 (pstmt->dhstmt, icol, szColName, cbColNameMax, pcbColName,
378 if (pstmt->asyn_on == en_DescribeCol)
385 pstmt->asyn_on = en_NullProc;
393 switch (pstmt->state)
401 pstmt->asyn_on = en_DescribeCol;
423 STMT_t FAR *pstmt = (STMT_t FAR *) hstmt;
428 if (hstmt == SQL_NULL_HSTMT || pstmt->hdbc == SQL_NULL_HDBC)
451 PUSHSQLERR (pstmt->herr, sqlstat);
457 if (pstmt->asyn_on == en_NullProc)
459 if (pstmt->asyn_on == en_stmt_allocated
460 || pstmt->asyn_on >= en_stmt_needdata)
465 else if (pstmt->asyn_on != en_ColAttributes)
472 PUSHSQLERR (pstmt->herr, sqlstat);
478 hproc = _iodbcdm_getproc (pstmt->hdbc, en_ColAttributes);
482 PUSHSQLERR (pstmt->herr, en_IM001);
487 CALL_DRIVER (pstmt->hdbc, retcode, hproc, en_ColAttributes,
488 (pstmt->dhstmt, icol, fDescType, rgbDesc, cbDescMax, pcbDesc, pfDesc))
491 if (pstmt->asyn_on == en_ColAttributes)
498 pstmt->asyn_on = en_NullProc;
506 switch (pstmt->state)
514 pstmt->asyn_on = en_ColAttributes;