Fixed a "char *" usage to use "const char *" as it should have

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2000-04-10 12:24:46 +00:00
parent 0cf8500f7f
commit 164d4e5f7d
2 changed files with 4 additions and 4 deletions

View File

@@ -536,7 +536,7 @@ bool wxDbTable::execUpdate(const char *pSqlStmt)
/********** wxDbTable::query() **********/
bool wxDbTable::query(int queryType, bool forUpdate, bool distinct, char *pSqlStmt)
bool wxDbTable::query(int queryType, bool forUpdate, bool distinct, const char *pSqlStmt)
{
char sqlStmt[DB_MAX_STATEMENT_LEN];
@@ -666,7 +666,7 @@ bool wxDbTable::Query(bool forUpdate, bool distinct)
/********** wxDbTable::QueryBySqlStmt() **********/
bool wxDbTable::QueryBySqlStmt(char *pSqlStmt)
bool wxDbTable::QueryBySqlStmt(const char *pSqlStmt)
{
pDb->WriteSqlLog(pSqlStmt);