• 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:tableName

95    wxChar        tableName[128+1];
383 tableName[0] = 0;
422 tableName[0] = 0;
1768 tiu->tableName, tiu->tableID, wx_static_cast(void*, tiu->pDb));
2116 bool wxDb::Grant(int privileges, const wxString &tableName, const wxString &userList)
2153 sqlStmt += SQLTableName(tableName);
2406 int wxDb::GetKeyFields(const wxString &tableName, wxDbColInf* colInf, UWORD noCols)
2425 * -- : Called from GetColumns(const wxString &tableName, ------
2436 (SQLTCHAR FAR *) tableName.c_str(), SQL_NTS); /* Table name */
2440 /* columns in the primary key of the tableName table. */
2458 /* Get all the foreign keys that refer to tableName primary key. */
2463 (SQLTCHAR FAR *)tableName.c_str(), SQL_NTS,/* Primary table */
2470 /* keys in other tables that refer to the tableName primary key. */
2512 (SQLTCHAR *)tableName.c_str(), SQL_NTS);/* Foreign table */
2517 /* keys in the tableName table. */
2548 wxDbColInf *wxDb::GetColumns(wxChar *tableName[], const wxChar *userID)
2550 * 1) The last array element of the tableName[] argument must be zero (null).
2603 wxStrcpy(colInf[noCols].tableName, wxEmptyString);
2609 for (tbl = 0; tableName[tbl]; tbl++)
2611 TableName = tableName[tbl];
2662 GetData( 3, SQL_C_WXCHAR, (UCHAR*) colInf[colNo].tableName, DB_MAX_TABLE_NAME_LEN+1, &cb);
2719 wxDbColInf *wxDb::GetColumns(const wxString &tableName, UWORD *numCols, const wxChar *userID)
2762 wxStrcpy(colInf[noCols].tableName, wxEmptyString);
2767 TableName = tableName;
2820 GetData( 3, SQL_C_WXCHAR, (UCHAR*) colInf[colNo].tableName, DB_MAX_TABLE_NAME_LEN+1, &cb);
2889 GetKeyFields(tableName,colInf,noCols);
2907 - The first one (wxDbColInf *wxDb::GetColumns(wxChar *tableName[], const
2911 - wxDbColInf *wxDb::GetColumns(const wxString &tableName, int *numCols, const
2926 wxDbColInf *wxDb::GetColumns(wxChar *tableName[], const wxChar *userID)
2929 // The last array element of the tableName[] argument must be zero (null).
2936 for (tbl = 0 ; tableName[tbl]; tbl++);
2945 TableColumns[i].colInf = GetColumns(tableName[i], &TableColumns[i].noCols, userID);
2955 wxStrcpy(colInf[noCols].tableName, wxEmptyString);
2976 wxDbColInf *wxDb::GetColumns(const wxString &tableName, int *numCols, const wxChar *userID)
3018 wxStrcpy(colInf[noCols].tableName, wxEmptyString);
3023 TableName = tableName;
3076 GetData( 3, SQL_C_WXCHAR, (UCHAR*) colInf[colNo].tableName, DB_MAX_TABLE_NAME_LEN+1, &cb);
3168 GetKeyFields(tableName,colInf,noCols);
3177 Stmt.Printf(wxT("select * from \"%s\" where 0=1"), tableName);
3249 int wxDb::GetColumnCount(const wxString &tableName, const wxChar *userID)
3274 TableName = tableName;
3426 GetData( 3, SQL_C_WXCHAR, (UCHAR*) (pDbInf->pTableInf+noTab)->tableName, DB_MAX_TABLE_NAME_LEN+1, &cb);
3439 (pDbInf->pTableInf+noTab)->numCols = (UWORD)GetColumnCount((pDbInf->pTableInf+noTab)->tableName,UserID);
3571 bool wxDb::TableExists(const wxString &tableName, const wxChar *userID, const wxString &tablePath)
3584 wxASSERT(tableName.length());
3592 dbName.Printf(wxT("%s/%s.dbf"), tablePath.c_str(), tableName.c_str());
3594 dbName.Printf(wxT("%s.dbf"), tableName.c_str());
3604 TableName = tableName;
3658 bool wxDb::TablePrivileges(const wxString &tableName, const wxString &priv, const wxChar *userID,
3661 wxASSERT(tableName.length());
3677 TableName = tableName;
3724 if (!failed && SQLGetData(hstmt, 3, SQL_C_WXCHAR, (UCHAR*) result.tableName, sizeof(result.tableName), &cbRetVal) != SQL_SUCCESS)
3745 result.privilege,result.tableOwner,result.tableName,
3778 const wxString wxDb::SQLTableName(const wxChar *tableName)
3784 TableName += tableName;
4008 bool wxDb::ModifyColumn(const wxString &tableName, const wxString &columnName,
4012 wxASSERT(tableName.length());
4072 sqlStmt.Printf(wxT("ALTER TABLE %s %s %s %s"), tableName.c_str(), alterSlashModify.c_str(),
4077 sqlStmt.Printf(wxT("ALTER TABLE \"%s\" \"%s\" \"%s\" %s"), tableName.c_str(), alterSlashModify.c_str(),