From 9453a61bd887cb6a9a5c08e80af2eba072516663 Mon Sep 17 00:00:00 2001 From: "Bart A.M. Jourquin" Date: Tue, 8 Feb 2000 11:06:07 +0000 Subject: [PATCH] add SQL_CATALOG and SQL_LOG filename variables git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/db.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/common/db.cpp b/src/common/db.cpp index 06ca878d3c..02c1ab48f7 100644 --- a/src/common/db.cpp +++ b/src/common/db.cpp @@ -93,6 +93,9 @@ DbList WXDLLEXPORT *PtrBegDbList = 0; +char const *SQL_LOG_FILENAME = "sqllog.txt"; +char const *SQL_CATALOG_FILENAME = "catalog.txt"; + #ifdef __WXDEBUG__ extern wxList TablesInUse; #endif @@ -101,11 +104,11 @@ DbList WXDLLEXPORT *PtrBegDbList = 0; enum sqlLog SQLLOGstate = sqlLogOFF; //char SQLLOGfn[DB_PATH_MAX+1] = SQL_LOG_FILENAME; -char *SQLLOGfn = SQL_LOG_FILENAME; +char *SQLLOGfn = (char*) SQL_LOG_FILENAME; // The wxDB::errorList is copied to this variable when the wxDB object // is closed. This way, the error list is still available after the -// database object is closed. This is necessary if the database +// database object is closed. This is necessary if the database // connection fails so the calling application can show the operator // why the connection failed. Note: as each wxDB object is closed, it // will overwrite the errors of the previously destroyed wxDB object in -- 2.45.2