1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-09 14:21:03 +03:00

Provide the SQLITE_FILE_HEADER command-line option for changing the text

that appears at the beginning of databases. (CVS 2515)

FossilOrigin-Name: 3d7ee5b92d7e30f90cb7a8b3efd649b36480b61b
This commit is contained in:
drh
2005-06-14 16:04:05 +00:00
parent 3f73708ce4
commit 556b2a2322
4 changed files with 25 additions and 14 deletions

View File

@@ -14,7 +14,7 @@
** This file contains functions for allocating memory, comparing
** strings, and stuff like that.
**
** $Id: util.c,v 1.136 2005/06/06 15:06:39 drh Exp $
** $Id: util.c,v 1.137 2005/06/14 16:04:06 drh Exp $
*/
#include "sqliteInt.h"
#include <stdarg.h>
@@ -372,8 +372,8 @@ void sqlite3SetString(char **pz, ...){
zResult += strlen(zResult);
}
va_end(ap);
#ifdef SQLITE_DEBUG
#if SQLITE_DEBUG>1
#ifdef SQLITE_MEMDEBUG
#if SQLITE_MEMDEBUG>1
fprintf(stderr,"string at 0x%x is %s\n", (int)*pz, *pz);
#endif
#endif