|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68263 pdo sqlite unknown tokenizer: unicode61
Submitted: 2014-10-19 08:08 UTC Modified: 2014-11-30 03:59 UTC
From: erictsau at gmail dot com Assigned:
Status: Closed Package: SQLite related
PHP Version: all OS: all
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: erictsau at gmail dot com
New email:
PHP Version: OS:


 [2014-10-19 08:08 UTC] erictsau at gmail dot com
Php does not have full support for sqlite3 fts4.

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 unknown tokenizer: unicode61' in test.php:4
Stack trace:
#0 test.php(4): PDO->exec('create virtual ...')
#1 {main}
  thrown in test.php on line 4

add this compile flag to fix: -DSQLITE_ENABLE_FTS4_UNICODE61

Test script:
$pdo = new PDO('sqlite::memory:');
$pdo->exec('create virtual table a using fts4(s,c,b,tokenize=unicode61)');
$pdo->exec('insert into a values(0,9)');


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-19 08:50 UTC] erictsau at gmail dot com
-Operating System: Windows 8.1 +Operating System: all -PHP Version: 5.6.2 +PHP Version: all
 [2014-10-19 08:50 UTC] erictsau at gmail dot com
change version to all
 [2014-11-30 03:59 UTC] erictsau at gmail dot com
-Status: Open +Status: Closed
 [2014-11-30 03:59 UTC] erictsau at gmail dot com
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Jul 01 14:05:46 2022 UTC