1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Add coverage test cases for fts3.

FossilOrigin-Name: 8fcb0478c82507403165719724b62a308cb83b57
This commit is contained in:
dan
2009-12-12 09:51:25 +00:00
parent fb43403641
commit f5fff2a7b2
8 changed files with 245 additions and 50 deletions

View File

@@ -330,12 +330,12 @@ static int getFts3Varint(const char *p, sqlite_int64 *v){
/*
** USAGE: read_varint BLOB VARNAME
** USAGE: read_fts3varint BLOB VARNAME
**
** Read a varint from the start of BLOB. Set variable VARNAME to contain
** the interpreted value. Return the number of bytes of BLOB consumed.
*/
static int read_varint(
static int read_fts3varint(
void * clientData,
Tcl_Interp *interp,
int objc,
@@ -373,7 +373,7 @@ int Sqlitetest_hexio_Init(Tcl_Interp *interp){
{ "hexio_render_int16", hexio_render_int16 },
{ "hexio_render_int32", hexio_render_int32 },
{ "utf8_to_utf8", utf8_to_utf8 },
{ "read_varint", read_varint },
{ "read_fts3varint", read_fts3varint },
};
int i;
for(i=0; i<sizeof(aObjCmd)/sizeof(aObjCmd[0]); i++){