]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/db/sqlite/sqlite.factor
More unit test fixes
[factor.git] / extra / db / sqlite / sqlite.factor
index 2fb62bf65643895c0f7f5b41229c3899193b8ad6..b72d7886052ab05386257ffd5e91c6f8aa52df6a 100755 (executable)
@@ -1,10 +1,10 @@
 ! Copyright (C) 2005, 2008 Chris Double, Doug Coleman.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien arrays assocs classes compiler db
-hashtables io.files io.files.tmp kernel math math.parser namespaces
+hashtables io.files kernel math math.parser namespaces
 prettyprint sequences strings tuples alien.c-types
 continuations db.sqlite.lib db.sqlite.ffi db.tuples
-words combinators.lib db.types combinators tools.walker
+words combinators.lib db.types combinators
 combinators.cleave io namespaces.lib ;
 IN: db.sqlite
 
@@ -25,11 +25,6 @@ M: sqlite-db dispose ( db -- ) dispose-db ;
 : with-sqlite ( path quot -- )
     sqlite-db swap with-db ; inline
 
-: with-tmp-sqlite ( quot -- )
-    ".db" [
-        swap with-sqlite
-    ] with-tmpfile ;
-
 TUPLE: sqlite-statement ;
 
 TUPLE: sqlite-result-set has-more? ;