diff options
author | danielk1977 <danielk1977@noemail.net> | 2007-09-01 11:04:26 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2007-09-01 11:04:26 +0000 |
commit | 28c66307d76d973e10ca73d40477729bfbd670c8 (patch) | |
tree | 34c4565d1c18424ed9a38cf119ca37c1a3bb7244 /src/utf.c | |
parent | b8cdbec2464eb4de982bc140f2b344c95c72570b (diff) | |
download | sqlite-28c66307d76d973e10ca73d40477729bfbd670c8.tar.gz sqlite-28c66307d76d973e10ca73d40477729bfbd670c8.zip |
Test sqlite3_bind_zeroblob(). Only include sqlite3Utf8To8 in builds if SQLITE_DEBUG is defined. (CVS 4363)
FossilOrigin-Name: fde6142b7bb33198b3d6b65cfbddfad61694b1fb
Diffstat (limited to 'src/utf.c')
-rw-r--r-- | src/utf.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -12,7 +12,7 @@ ** This file contains routines used to translate between UTF-8, ** UTF-16, UTF-16BE, and UTF-16LE. ** -** $Id: utf.c,v 1.56 2007/08/21 19:33:57 drh Exp $ +** $Id: utf.c,v 1.57 2007/09/01 11:04:27 danielk1977 Exp $ ** ** Notes on UTF-8: ** @@ -456,7 +456,10 @@ int sqlite3Utf16ByteLen(const void *zIn, int nChar){ return (z-(char const *)zIn)-((c==0)?2:0); } -#if defined(SQLITE_TEST) +/* This test function is not currently used by the automated test-suite. +** Hence it is only available in debug builds. +*/ +#if defined(SQLITE_TEST) && defined(SQLITE_DEBUG) /* ** Translate UTF-8 to UTF-8. ** |