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
This commit is contained in:
Gilles Depeyrot 2001-11-25 12:50:15 +00:00
parent 6e8a778af3
commit 6bbff0aac1

View File

@ -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"),