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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user