Mercurial Hosting > luan
diff src/luan/modules/lucene/PostgresBackup.java @ 1553:26c51acf00f3
improve stringify
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 06 Oct 2020 19:31:57 -0600 |
parents | c27dc6af87ca |
children | b89212fd04b5 |
line wrap: on
line diff
--- a/src/luan/modules/lucene/PostgresBackup.java Sun Oct 04 20:26:49 2020 -0600 +++ b/src/luan/modules/lucene/PostgresBackup.java Tue Oct 06 19:31:57 2020 -0600 @@ -34,7 +34,7 @@ private final PreparedStatement updateStmt; private final PreparedStatement deleteStmt; private int trans = 0; - private final LuanToString luanToString = new LuanToString(); + private final LuanToString luanToString = new LuanToString(null,null); PostgresBackup(Luan luan,LuanTable spec) throws ClassNotFoundException, SQLException, LuanException @@ -82,8 +82,8 @@ "delete from lucene where id=?" ); - luanToString.strict = true; - luanToString.numberTypes = true; + luanToString.settingsInit.strict = true; + luanToString.settingsInit.numberTypes = true; } Connection newConnection() throws SQLException {