X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d6f23483a9d5e800c4b7cd2e994f9b9f026a84b..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/src/common/dbtable.cpp diff --git a/src/common/dbtable.cpp b/src/common/dbtable.cpp index 8a67be2311..661af5ebb6 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -1121,7 +1121,7 @@ void wxDbTable::BuildUpdateStmt(wxString &pSqlStmt, int typeOfUpd, const wxStrin bool firstColumn = TRUE; pSqlStmt.Printf(wxT("UPDATE %s SET "), - pDb->SQLTableName(tableName.Upper().c_str()).c_str()); + pDb->SQLTableName(tableName.c_str()).c_str()); // Append a list of columns to be updated int i; @@ -1696,7 +1696,7 @@ bool wxDbTable::DropIndex(const wxString &idxName) pDb->Dbms() == dbmsDBASE /*|| Paradox needs this syntax too when we add support*/) sqlStmt.Printf(wxT("DROP INDEX %s ON %s"), pDb->SQLTableName(idxName.c_str()).c_str(), - pDb->SQLTableName(tableName.c_str().c_str())); + pDb->SQLTableName(tableName.c_str()).c_str()); else if ((pDb->Dbms() == dbmsMS_SQL_SERVER) || (pDb->Dbms() == dbmsSYBASE_ASE)) sqlStmt.Printf(wxT("DROP INDEX %s.%s"),