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

Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511)

FossilOrigin-Name: adf7e29ff60dc559f64832fadb09f0b9decc0e76
This commit is contained in:
drh
2004-05-31 18:51:57 +00:00
parent 1d482dd917
commit 9c054830b4
20 changed files with 179 additions and 141 deletions

View File

@@ -15,7 +15,7 @@
** individual tokens and sends those tokens one-by-one over to the
** parser for analysis.
**
** $Id: tokenize.c,v 1.74 2004/05/27 23:56:16 danielk1977 Exp $
** $Id: tokenize.c,v 1.75 2004/05/31 18:51:58 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -702,10 +702,9 @@ int sqlite3_complete(const char *zSql){
*/
int sqlite3_complete16(const void *zSql){
int rc;
char *zSql8 = sqlite3utf16to8(zSql, -1, SQLITE3_BIGENDIAN);
char *zSql8 = sqlite3utf16to8(zSql, -1, SQLITE_BIGENDIAN);
if( !zSql8 ) return 0;
rc = sqlite3_complete(zSql8);
sqliteFree(zSql8);
return rc;
}