mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Upgrade SQLite to 3.40 (#699)
This commit is contained in:
parent
bcae817215
commit
0dc0758574
151 changed files with 27917 additions and 22169 deletions
13
third_party/sqlite3/fts3_tokenizer.c
vendored
13
third_party/sqlite3/fts3_tokenizer.c
vendored
|
@ -13,7 +13,6 @@
|
|||
** This is part of an SQLite module implementing full-text search.
|
||||
** This particular file implements the generic tokenizer interface.
|
||||
*/
|
||||
/* clang-format off */
|
||||
|
||||
/*
|
||||
** The code in this file is only compiled if:
|
||||
|
@ -24,11 +23,11 @@
|
|||
** * The FTS3 module is being built into the core of
|
||||
** SQLite (in which case SQLITE_ENABLE_FTS3 is defined).
|
||||
*/
|
||||
#include "third_party/sqlite3/fts3Int.inc"
|
||||
#include "third_party/sqlite3/fts3Int.h"
|
||||
#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3)
|
||||
|
||||
#include "libc/assert.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/assert.h"
|
||||
|
||||
/*
|
||||
** Return true if the two-argument version of fts3_tokenizer()
|
||||
|
@ -226,7 +225,13 @@ int sqlite3Fts3InitTokenizer(
|
|||
|
||||
|
||||
#ifdef SQLITE_TEST
|
||||
#include "libc/str/str.h"
|
||||
|
||||
#if defined(INCLUDE_SQLITE_TCL_H)
|
||||
# include "sqlite_tcl.h"
|
||||
#else
|
||||
# include "tcl.h"
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
** Implementation of a special SQL scalar function for testing tokenizers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue