1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Remove all references to SQLITE_OMIT_TRACE. Tracing is always enabled.

Ticket #361. (CVS 1032)

FossilOrigin-Name: ec31a5292cbc5d2fb68449838b929638f48e31a7
This commit is contained in:
drh
2003-06-23 11:06:01 +00:00
parent 8ce10ba65e
commit 6cb2c52d96
4 changed files with 11 additions and 12 deletions

View File

@ -14,7 +14,7 @@
** other files are for internal use by SQLite and should not be
** accessed by users of the library.
**
** $Id: main.c,v 1.135 2003/06/12 08:59:01 jplyon Exp $
** $Id: main.c,v 1.136 2003/06/23 11:06:02 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@ -928,6 +928,7 @@ void *sqlite_trace(sqlite *db, void (*xTrace)(void*,const char*), void *pArg){
db->xTrace = xTrace;
db->pTraceArg = pArg;
return pOld;
return 0;
}
/*

View File

@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.192 2003/06/16 19:18:12 drh Exp $
** @(#) $Id: sqliteInt.h,v 1.193 2003/06/23 11:06:02 drh Exp $
*/
#include "config.h"
#include "sqlite.h"
@ -318,10 +318,8 @@ struct sqlite {
int magic; /* Magic number for detect library misuse */
int nChange; /* Number of rows changed */
struct Vdbe *pVdbe; /* List of active virtual machines */
#ifndef SQLITE_OMIT_TRACE
void (*xTrace)(void*,const char*); /* Trace function */
void *pTraceArg; /* Argument to the trace function */
#endif
#ifndef SQLITE_OMIT_AUTHORIZATION
int (*xAuth)(void*,int,const char*,const char*,const char*,const char*);
/* Access authorization function */