Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/ext/fts2/README.tokenizers

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 1
2 1. FTS2 Tokenizers 2 1. FTS2 Tokenizers
3 3
4 When creating a new full-text table, FTS2 allows the user to select 4 When creating a new full-text table, FTS2 allows the user to select
5 the text tokenizer implementation to be used when indexing text 5 the text tokenizer implementation to be used when indexing text
6 by specifying a "tokenizer" clause as part of the CREATE VIRTUAL TABLE 6 by specifying a "tokenizer" clause as part of the CREATE VIRTUAL TABLE
7 statement: 7 statement:
8 8
9 CREATE VIRTUAL TABLE <table-name> USING fts2( 9 CREATE VIRTUAL TABLE <table-name> USING fts2(
10 <columns ...> [, tokenizer <tokenizer-name> [<tokenizer-args>]] 10 <columns ...> [, tokenizer <tokenizer-name> [<tokenizer-args>]]
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 sqlite3_bind_text(pStmt, 1, zName, -1, SQLITE_STATIC); 125 sqlite3_bind_text(pStmt, 1, zName, -1, SQLITE_STATIC);
126 if( SQLITE_ROW==sqlite3_step(pStmt) ){ 126 if( SQLITE_ROW==sqlite3_step(pStmt) ){
127 if( sqlite3_column_type(pStmt, 0)==SQLITE_BLOB ){ 127 if( sqlite3_column_type(pStmt, 0)==SQLITE_BLOB ){
128 memcpy(pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); 128 memcpy(pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp));
129 } 129 }
130 } 130 }
131 131
132 return sqlite3_finalize(pStmt); 132 return sqlite3_finalize(pStmt);
133 } 133 }
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/ext/fts1/tokenizer.h ('k') | third_party/sqlite/sqlite-src-3080704/ext/fts2/README.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698