X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fmail%2FSqliteJdbcMailbox.java;h=5fc362124af2d7f5f85ecbad9497ad53d6e8200d;hb=cb49b344eae8996a3c9e5ad728d8e7c84714280e;hp=3ae5165113879add9f6b4dc13b50c9e853d67a78;hpb=d4d57f96d380a277a315ea0f19559be3e150b2b4;p=org.ibex.mail.git diff --git a/src/org/ibex/mail/SqliteJdbcMailbox.java b/src/org/ibex/mail/SqliteJdbcMailbox.java index 3ae5165..5fc3621 100644 --- a/src/org/ibex/mail/SqliteJdbcMailbox.java +++ b/src/org/ibex/mail/SqliteJdbcMailbox.java @@ -21,7 +21,7 @@ public class SqliteJdbcMailbox extends Mailbox.Default { Class.forName("org.sqlite.JDBC"); conn = DriverManager.getConnection("jdbc:sqlite:"+filename); conn.prepareStatement("create virtual table if not exists "+ - "'mail' using FTS1("+columns+",PRIMARY KEY(messageid_))").executeUpdate(); + "'mail' using FTS2("+columns+",PRIMARY KEY(messageid_))").executeUpdate(); } catch (SQLException e) { throw new RuntimeException(e); } catch (ClassNotFoundException e) { throw new RuntimeException(e); }