git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5899
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
DbList WXDLLEXPORT *PtrBegDbList = 0;
DbList WXDLLEXPORT *PtrBegDbList = 0;
+char const *SQL_LOG_FILENAME = "sqllog.txt";
+char const *SQL_CATALOG_FILENAME = "catalog.txt";
+
#ifdef __WXDEBUG__
extern wxList TablesInUse;
#endif
#ifdef __WXDEBUG__
extern wxList TablesInUse;
#endif
enum sqlLog SQLLOGstate = sqlLogOFF;
//char SQLLOGfn[DB_PATH_MAX+1] = SQL_LOG_FILENAME;
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
// 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
// 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