factor reap() out of SqliteTable constructor
[org.ibex.mail.git] / src / org / ibex / mail / SqliteJdbcMailbox.java
index 3ae5165..5fc3621 100644 (file)
@@ -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); }