1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Include the print_pager_state() function only if SQLITE_DEBUG is defined.

FossilOrigin-Name: 3104f17e5dd0be4f176905dde6df3be50ba28702
This commit is contained in:
dan
2010-11-04 04:47:42 +00:00
parent af4c214e1f
commit 6a88adcdeb
3 changed files with 9 additions and 7 deletions

View File

@@ -926,7 +926,9 @@ static int assert_pager_state(Pager *p){
return 1;
}
#endif /* ifndef NDEBUG */
#ifdef SQLITE_DEBUG
/*
** Return a pointer to a human readable string in a static buffer
** containing the state of the Pager object passed as an argument. This