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

Lines Matching refs:hstmt

804     if (SQLAllocStmt(hdbc, &hstmt) != SQL_SUCCESS)
1005 if (SQLAllocStmt(hdbc, &hstmt) != SQL_SUCCESS)
1650 if (SQLGetTypeInfo(hstmt, fSqlType) != SQL_SUCCESS)
1651 return(DispAllErrors(henv, hdbc, hstmt));
1654 retcode = SQLFetch(hstmt);
1661 DispAllErrors(henv, hdbc, hstmt);
1662 SQLFreeStmt(hstmt, SQL_CLOSE);
1669 if (SQLGetData(hstmt, 1, SQL_C_WXCHAR, typeName, sizeof(typeName), &cbRet) != SQL_SUCCESS)
1670 return(DispAllErrors(henv, hdbc, hstmt));
1702 if (SQLGetData(hstmt, 3, SQL_C_LONG, (UCHAR*) &structSQLTypeInfo.Precision, 0, &cbRet) != SQL_SUCCESS)
1703 return(DispAllErrors(henv, hdbc, hstmt));
1704 if (SQLGetData(hstmt, 8, SQL_C_SHORT, (UCHAR*) &structSQLTypeInfo.CaseSensitive, 0, &cbRet) != SQL_SUCCESS)
1705 return(DispAllErrors(henv, hdbc, hstmt));
1706 // if (SQLGetData(hstmt, 14, SQL_C_SHORT, (UCHAR*) &structSQLTypeInfo.MinimumScale, 0, &cbRet) != SQL_SUCCESS)
1707 // return(DispAllErrors(henv, hdbc, hstmt));
1709 if (SQLGetData(hstmt, 15, SQL_C_SHORT,(UCHAR*) &structSQLTypeInfo.MaximumScale, 0, &cbRet) != SQL_SUCCESS)
1710 return(DispAllErrors(henv, hdbc, hstmt));
1716 if (SQLFreeStmt(hstmt, SQL_CLOSE) != SQL_SUCCESS)
1717 return(DispAllErrors(henv, hdbc, hstmt));
1738 if (SQLFreeStmt(hstmt, SQL_DROP) != SQL_SUCCESS)
2222 if (SQLExecDirect(hstmt, (SQLTCHAR FAR *) sqlStmt.c_str(), SQL_NTS) != SQL_SUCCESS)
2225 GetNextError(henv, hdbc, hstmt);
2232 DispAllErrors(henv, hdbc, hstmt);
2253 SQLFreeStmt(hstmt, SQL_CLOSE);
2255 retcode = SQLExecDirect(hstmt, (SQLTCHAR FAR *) pSqlStmt.c_str(), SQL_NTS);
2263 DispAllErrors(henv, hdbc, hstmt);
2278 if (SQLNumResultCols(hstmt, &noCols) != SQL_SUCCESS)
2280 DispAllErrors(henv, hdbc, hstmt);
2299 if (SQLColAttributes(hstmt, (UWORD)(colNum+1), SQL_COLUMN_NAME,
2303 DispAllErrors(henv, hdbc, hstmt);
2311 if (SQLColAttributes(hstmt, (UWORD)(colNum+1), SQL_COLUMN_TYPE,
2314 DispAllErrors(henv, hdbc, hstmt);
2372 if (SQLFetch(hstmt) == SQL_SUCCESS)
2376 DispAllErrors(henv, hdbc, hstmt);
2394 if (SQLGetData(hstmt, colNo, cType, pData, bufferSize, cbReturned) == SQL_SUCCESS)
2398 DispAllErrors(henv, hdbc, hstmt);
2433 retcode = SQLPrimaryKeys(hstmt,
2444 retcode = SQLFetch(hstmt);
2455 SQLFreeStmt(hstmt, SQL_CLOSE); /* Close the cursor (the hstmt is still allocated). */
2460 retcode = SQLForeignKeys(hstmt,
2476 retcode = SQLFetch(hstmt);
2501 SQLFreeStmt(hstmt, SQL_CLOSE); /* Close the cursor (the hstmt is still allocated). */
2506 retcode = SQLForeignKeys(hstmt,
2521 retcode = SQLFetch(hstmt);
2539 SQLFreeStmt(hstmt, SQL_CLOSE); /* Close the cursor (the hstmt is still allocated). */
2619 SQLFreeStmt(hstmt, SQL_CLOSE);
2628 retcode = SQLColumns(hstmt,
2636 retcode = SQLColumns(hstmt,
2644 DispAllErrors(henv, hdbc, hstmt);
2647 SQLFreeStmt(hstmt, SQL_CLOSE);
2651 while ((retcode = SQLFetch(hstmt)) == SQL_SUCCESS)
2702 DispAllErrors(henv, hdbc, hstmt);
2705 SQLFreeStmt(hstmt, SQL_CLOSE);
2711 SQLFreeStmt(hstmt, SQL_CLOSE);
2775 SQLFreeStmt(hstmt, SQL_CLOSE);
2784 retcode = SQLColumns(hstmt,
2792 retcode = SQLColumns(hstmt,
2800 DispAllErrors(henv, hdbc, hstmt);
2803 SQLFreeStmt(hstmt, SQL_CLOSE);
2809 while ((retcode = SQLFetch(hstmt)) == SQL_SUCCESS)
2876 DispAllErrors(henv, hdbc, hstmt);
2879 SQLFreeStmt(hstmt, SQL_CLOSE);
2886 SQLFreeStmt(hstmt, SQL_CLOSE);
3031 SQLFreeStmt(hstmt, SQL_CLOSE);
3040 retcode = SQLColumns(hstmt,
3048 retcode = SQLColumns(hstmt,
3056 DispAllErrors(henv, hdbc, hstmt);
3059 SQLFreeStmt(hstmt, SQL_CLOSE);
3065 while ((retcode = SQLFetch(hstmt)) == SQL_SUCCESS)
3155 DispAllErrors(henv, hdbc, hstmt);
3158 SQLFreeStmt(hstmt, SQL_CLOSE);
3165 SQLFreeStmt(hstmt, SQL_CLOSE);
3180 if (SQLExecDirect(hstmt, (UCHAR FAR *) Stmt.c_str(), SQL_NTS) != SQL_SUCCESS)
3182 DispAllErrors(henv, hdbc, hstmt);
3187 if (SQLNumResultCols (hstmt, &noCols) != SQL_SUCCESS)
3189 DispAllErrors(henv, hdbc, hstmt);
3204 if (SQLColAttributes(hstmt,colNum+1, SQL_COLUMN_NAME,
3208 DispAllErrors(henv, hdbc, hstmt);
3232 SQLFreeStmt(hstmt, SQL_CLOSE);
3282 SQLFreeStmt(hstmt, SQL_CLOSE);
3291 retcode = SQLColumns(hstmt,
3299 retcode = SQLColumns(hstmt,
3307 DispAllErrors(henv, hdbc, hstmt);
3308 SQLFreeStmt(hstmt, SQL_CLOSE);
3313 while ((retcode = SQLFetch(hstmt)) == SQL_SUCCESS)
3318 DispAllErrors(henv, hdbc, hstmt);
3319 SQLFreeStmt(hstmt, SQL_CLOSE);
3323 SQLFreeStmt(hstmt, SQL_CLOSE);
3376 SQLFreeStmt(hstmt, SQL_CLOSE); // Close if Open
3384 retcode = SQLTables(hstmt,
3392 retcode = SQLTables(hstmt,
3401 DispAllErrors(henv, hdbc, hstmt);
3403 SQLFreeStmt(hstmt, SQL_CLOSE);
3407 while ((retcode = SQLFetch(hstmt)) == SQL_SUCCESS) // Table Information
3434 SQLFreeStmt(hstmt, SQL_CLOSE);
3479 SQLFreeStmt(hstmt, SQL_CLOSE);
3491 retcode = SQLColumns(hstmt,
3499 retcode = SQLColumns(hstmt,
3507 DispAllErrors(henv, hdbc, hstmt);
3518 retcode = SQLFetch(hstmt);
3553 SQLFreeStmt(hstmt, SQL_CLOSE);
3561 DispAllErrors(henv, hdbc, hstmt);
3563 SQLFreeStmt(hstmt, SQL_CLOSE);
3612 SQLFreeStmt(hstmt, SQL_CLOSE);
3626 retcode = SQLTables(hstmt,
3634 retcode = SQLTables(hstmt,
3641 return(DispAllErrors(henv, hdbc, hstmt));
3643 retcode = SQLFetch(hstmt);
3646 SQLFreeStmt(hstmt, SQL_CLOSE);
3647 return(DispAllErrors(henv, hdbc, hstmt));
3650 SQLFreeStmt(hstmt, SQL_CLOSE);
3685 SQLFreeStmt(hstmt, SQL_CLOSE);
3694 retcode = SQLTablePrivileges(hstmt,
3701 retcode = SQLTablePrivileges(hstmt,
3712 return (DispAllErrors(henv, hdbc, hstmt));
3715 retcode = SQLFetch(hstmt);
3718 if (SQLGetData(hstmt, 1, SQL_C_WXCHAR, (UCHAR*) result.tableQual, sizeof(result.tableQual), &cbRetVal) != SQL_SUCCESS)
3721 if (!failed && SQLGetData(hstmt, 2, SQL_C_WXCHAR, (UCHAR*) result.tableOwner, sizeof(result.tableOwner), &cbRetVal) != SQL_SUCCESS)
3724 if (!failed && SQLGetData(hstmt, 3, SQL_C_WXCHAR, (UCHAR*) result.tableName, sizeof(result.tableName), &cbRetVal) != SQL_SUCCESS)
3727 if (!failed && SQLGetData(hstmt, 4, SQL_C_WXCHAR, (UCHAR*) result.grantor, sizeof(result.grantor), &cbRetVal) != SQL_SUCCESS)
3730 if (!failed && SQLGetData(hstmt, 5, SQL_C_WXCHAR, (UCHAR*) result.grantee, sizeof(result.grantee), &cbRetVal) != SQL_SUCCESS)
3733 if (!failed && SQLGetData(hstmt, 6, SQL_C_WXCHAR, (UCHAR*) result.privilege, sizeof(result.privilege), &cbRetVal) != SQL_SUCCESS)
3736 if (!failed && SQLGetData(hstmt, 7, SQL_C_WXCHAR, (UCHAR*) result.grantable, sizeof(result.grantable), &cbRetVal) != SQL_SUCCESS)
3741 return(DispAllErrors(henv, hdbc, hstmt));
3751 SQLFreeStmt(hstmt, SQL_CLOSE);
3758 SQLFreeStmt(hstmt, SQL_CLOSE);
3765 SQLFreeStmt(hstmt, SQL_CLOSE);
3769 retcode = SQLFetch(hstmt);
3772 SQLFreeStmt(hstmt, SQL_CLOSE);