more operations;
authorwenzelm
Tue, 06 Sep 2016 21:17:33 +0200
changeset 63811 3a75593e9b6d
parent 63810 67b091896158
child 63812 5f8643e8ced5
more operations;
src/Pure/General/sqlite.scala
--- a/src/Pure/General/sqlite.scala	Tue Sep 06 21:09:18 2016 +0200
+++ b/src/Pure/General/sqlite.scala	Tue Sep 06 21:17:33 2016 +0200
@@ -29,6 +29,8 @@
 
     def close { connection.close }
 
+    def rebuild { using(statement("VACUUM"))(_.execute()) }
+
     def transaction[A](body: => A): A =
     {
       val auto_commit = connection.getAutoCommit