diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-04-24 07:32:08 +0100 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-04-24 07:32:08 +0100 |
commit | ebda41b04c3e0b344501a063a68ff826adb86549 (patch) | |
tree | 4894d0c573c123a5e30b067731907eeeba1823a7 /lib/sisu/v0/db_indexes.rb | |
parent | sisu-0.66.1 + md5s (diff) |
move to sqlite3, an issue with finalising transactions (commit, close...)
Diffstat (limited to 'lib/sisu/v0/db_indexes.rb')
-rw-r--r-- | lib/sisu/v0/db_indexes.rb | 8 |
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); |