From: Gilles Depeyrot Date: Sun, 25 Nov 2001 12:50:15 +0000 (+0000) Subject: corrected blind fix of missing .c_str()s X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6bbff0aac11b55cd3c7d0aee175ef9912a9f5bba corrected blind fix of missing .c_str()s git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dbtable.cpp b/src/common/dbtable.cpp index 8a67be2311..5197a20326 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -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"),