aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v0/db_remove.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2009-07-01 13:48:01 -0400
committerRalph Amissah <ralph@amissah.com>2009-07-01 13:48:01 -0400
commit1ebd6e3c0670296903ee079e845fd3661a0bfebd (patch)
tree453815f4df74aff58709d82cdd8cc610d9790bb3 /lib/sisu/v0/db_remove.rb
parentsisu-0.70.5, merge branch upstream into debian/sid; debian/ new year cleaning (diff)
parentchangelog & version update (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v0/db_remove.rb')
-rw-r--r--lib/sisu/v0/db_remove.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sisu/v0/db_remove.rb b/lib/sisu/v0/db_remove.rb
index b210a3ca..bde5c891 100644
--- a/lib/sisu/v0/db_remove.rb
+++ b/lib/sisu/v0/db_remove.rb
@@ -22,7 +22,7 @@
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along with
@@ -90,8 +90,9 @@ module SiSU_DB_remove
end
@conn.commit if driver_sqlite3
else
- s=sql_entry.join(' ')
- @conn.execute(s)
+ sql_entry.each do |s|
+ @conn.execute(s)
+ end
end
if @opt.cmd =~/M/
@file.puts sql_entry if @opt.cmd =~/M/