aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/db_indexes.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2008-04-24 07:32:31 +0100
committerRalph Amissah <ralph@amissah.com>2008-04-24 07:32:31 +0100
commit61bcdf4dc804d6e23f1cc4715ccd7306ac8e36de (patch)
tree90b8de728216d2902f8ee442e5fc41ee8a1c63a5 /lib/sisu/v0/db_indexes.rb
parentsisu-sqlite updated to use sqlite3 (diff)
parentmove to sqlite3, an issue with finalising transactions (commit, close...) (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/db_indexes.rb')
-rw-r--r--lib/sisu/v0/db_indexes.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/sisu/v0/db_indexes.rb b/lib/sisu/v0/db_indexes.rb
index ab33b450..ff7a8156 100644
--- a/lib/sisu/v0/db_indexes.rb
+++ b/lib/sisu/v0/db_indexes.rb
@@ -66,9 +66,7 @@ module SiSU_DB_index
end
def create_indexes # check added from pg not tested
def base
- print '
- create documents common indexes
- ' unless @opt.cmd =~/q/
+ print "\n create documents common indexes\n" unless @opt.cmd =~/q/
@conn.execute('
CREATE INDEX object_nr ON documents(ocn);
CREATE INDEX digest_clean ON documents(digest_clean);
@@ -92,9 +90,7 @@ module SiSU_DB_index
') unless @opt.cmd =~/q/
end
def text
- print '
- create documents text indexes
- ' unless @opt.cmd =~/q/
+ print "\n create documents text indexes\n" unless @opt.cmd =~/q/
@conn.execute('
CREATE INDEX clean ON documents(clean);
CREATE INDEX endnote ON endnotes(clean);