mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
The strlen30 function in tclsqlite.c should be defined regardless of whether
or not the amalgamation is used. (CVS 6012) FossilOrigin-Name: d8e8c7e51c09dc4e4d7e45ba1866c78713d6f5aa
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
** A TCL Interface to SQLite. Append this file to sqlite3.c and
|
||||
** compile the whole thing to build a TCL-enabled version of SQLite.
|
||||
**
|
||||
** $Id: tclsqlite.c,v 1.230 2008/12/10 22:15:00 drh Exp $
|
||||
** $Id: tclsqlite.c,v 1.231 2008/12/10 22:18:40 drh Exp $
|
||||
*/
|
||||
#include "tcl.h"
|
||||
#include <errno.h>
|
||||
@@ -129,7 +129,6 @@ struct IncrblobChannel {
|
||||
IncrblobChannel *pPrev; /* Linked list of all open incrblob channels */
|
||||
};
|
||||
|
||||
#ifndef SQLITE_AMALGAMATION
|
||||
/*
|
||||
** Compute a string length that is limited to what can be stored in
|
||||
** lower 30 bits of a 32-bit signed integer.
|
||||
@@ -139,7 +138,6 @@ static int strlen30(const char *z){
|
||||
while( *z2 ){ z2++; }
|
||||
return 0x3fffffff & (int)(z2 - z);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef SQLITE_OMIT_INCRBLOB
|
||||
|
Reference in New Issue
Block a user