On 06/14/2012 01:27 PM, Sergei G wrote:
I am running sqlite3 version 3.7.3 on debian.
I run the following commands from fts3.html documentation page:
CREATE VIRTUAL TABLE t1 USING fts4(a, b);
INSERT INTO t1 VALUES('transaction default models default', 'Non
transaction reads');
INSERT INTO t1 VALUES('the default transaction', 'these semantics present');
INSERT INTO t1 VALUES('single request', 'default data');
SELECT matchinfo(t1) FROM t1 WHERE t1 MATCH 'default transaction
"these semantics"';
SELECT matchinfo(t1, 'ns') FROM t1 WHERE t1 MATCH 'default transaction';
The last line with match info(t1, 'ns') fails with the following error
message:
Error: wrong number of arguments to function matchinfo()
I have originally worked on my own table, but found the same error. So, I
have tried example above and it failed for me in the same way.
I think the two argument version of matchinfo() is only in 3.7.4 and
newer. Prior to that it only accepted one argument.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users