]> gitweb.factorcode.org Git - factor.git/commitdiff
remove join-space from db
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 4 Dec 2008 06:06:02 +0000 (00:06 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 4 Dec 2008 06:06:02 +0000 (00:06 -0600)
basis/db/postgresql/postgresql.factor
basis/db/sqlite/sqlite.factor

index 57a16fc8efa3115b682be11c4d64b4b51014d864..82d96c4af110c665b20859b3a0dc070699183258 100644 (file)
@@ -266,7 +266,7 @@ M: postgresql-db persistent-table ( -- hashtable )
 ERROR: no-compound-found string object ;
 M: postgresql-db compound ( string object -- string' )
     over {
-        { "default" [ first number>string join-space ] }
+        { "default" [ first number>string " " glue ] }
         { "varchar" [ first number>string paren append ] }
         { "references" [ >reference-string ] }
         [ drop no-compound-found ]
index c22bb3a2d8a2bc464a39f04dc36c0eff735741db..4e96fb5a4deea6d48893ddc61b2234d005eed7a7 100644 (file)
@@ -308,7 +308,7 @@ M: sqlite-db persistent-table ( -- assoc )
 
 M: sqlite-db compound ( string seq -- new-string )
     over {
-        { "default" [ first number>string join-space ] }
+        { "default" [ first number>string " " glue ] }
         { "references" [
             [ >reference-string ] keep
             first2 [ "foreign-table" set ]