aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authorshane <shane@noemail.net>2008-04-28 17:41:30 +0000
committershane <shane@noemail.net>2008-04-28 17:41:30 +0000
commit952856ad3a297443dfd175655f1988e275296ff5 (patch)
tree9470ff8befd9d2fd89d9011dc3ff4e2fc218a98b /src/sqliteInt.h
parent82286fd237b66b895e56f483100bd8c9a1536b46 (diff)
downloadsqlite-952856ad3a297443dfd175655f1988e275296ff5.tar.gz
sqlite-952856ad3a297443dfd175655f1988e275296ff5.zip
Modified Varint32 functions to disable code for single-byte handling as it is already handled by their respective macro forms. (CVS 5062)
FossilOrigin-Name: be10f5dda6e9c245c05b51840c173e83ece6b245
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index fd7d7602f..733ffd475 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.698 2008/04/28 16:55:26 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.699 2008/04/28 17:41:31 shane Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -1987,7 +1987,9 @@ int sqlite3Utf8Read(const u8*, const u8*, const u8**);
/*
** Routines to read and write variable-length integers. These used to
** be defined locally, but now we use the varint routines in the util.c
-** file.
+** file. Code should use the MACRO forms below, as the Varint32 versions
+** are coded to assume the single byte case is already handled (which
+** the MACRO form does).
*/
int sqlite3PutVarint(unsigned char*, u64);
int sqlite3PutVarint32(unsigned char*, u32);