Your message dated Tue, 09 Jan 2007 02:17:04 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#405605: fixed in libdbi-ruby 0.1.1-2 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database)
--- Begin Message ---Package: libdbd-sqlite3-ruby Version: 0.1.1-1 Severity: important Tags: patch SQLite3 DBD's Statement#finish method calls close on both the sqlite3-ruby statement handle and result set. However, all the sqlite3-ruby result set close method does is call close on the same statement handle. This results in a redundant closing of the statement handle which sqlite3-ruby forbids. Hence, a variant of the following error results for any SQLite3 select/execute call: /usr/lib/ruby/1.8/sqlite3/statement.rb:234:in `must_be_open!': cannot use a closed statement (SQLite3::Exception) from /usr/lib/ruby/1.8/sqlite3/statement.rb:76:in `close' from /usr/lib/ruby/1.8/sqlite3/resultset.rb:169:in `close' from /usr/lib/ruby/1.8/DBD/SQLite3/SQLite3.rb:206:in `finish' from /usr/lib/ruby/1.8/dbi.rb:634:in `finish' from ./foo.rb:13 from /usr/lib/ruby/1.8/dbi.rb:430:in `connect' from /usr/lib/ruby/1.8/dbi.rb:215:in `connect' from ./foo.rb:10 Since closing the result set is redundant, the simple fix is eliminate the call. I've included a patch that does just that.diff -uNr libdbi-ruby-0.1.1.orig/lib/dbd/SQLite3.rb libdbi-ruby-0.1.1/lib/dbd/SQLite3.rb --- libdbi-ruby-0.1.1.orig/lib/dbd/SQLite3.rb 2007-01-04 17:10:28.000000000 -0500 +++ libdbi-ruby-0.1.1/lib/dbd/SQLite3.rb 2007-01-04 17:15:29.908864655 -0500 @@ -203,7 +203,6 @@ def finish() @stmt.close - @result.close if @result @result = nil @rpc = nil end
--- End Message ---
--- Begin Message ---Source: libdbi-ruby Source-Version: 0.1.1-2 We believe that the bug you reported is fixed in the latest version of libdbi-ruby, which is due to be installed in the Debian FTP archive: libdbd-mysql-ruby1.8_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-mysql-ruby1.8_0.1.1-2_all.deb libdbd-mysql-ruby_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-mysql-ruby_0.1.1-2_all.deb libdbd-odbc-ruby1.8_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-odbc-ruby1.8_0.1.1-2_all.deb libdbd-odbc-ruby_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-odbc-ruby_0.1.1-2_all.deb libdbd-pg-ruby1.8_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-pg-ruby1.8_0.1.1-2_all.deb libdbd-pg-ruby_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-pg-ruby_0.1.1-2_all.deb libdbd-sqlite-ruby1.8_0.1.1-2_i386.deb to pool/main/libd/libdbi-ruby/libdbd-sqlite-ruby1.8_0.1.1-2_i386.deb libdbd-sqlite-ruby_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-sqlite-ruby_0.1.1-2_all.deb libdbd-sqlite3-ruby1.8_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-sqlite3-ruby1.8_0.1.1-2_all.deb libdbd-sqlite3-ruby_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbd-sqlite3-ruby_0.1.1-2_all.deb libdbi-ruby1.8_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbi-ruby1.8_0.1.1-2_all.deb libdbi-ruby_0.1.1-2.diff.gz to pool/main/libd/libdbi-ruby/libdbi-ruby_0.1.1-2.diff.gz libdbi-ruby_0.1.1-2.dsc to pool/main/libd/libdbi-ruby/libdbi-ruby_0.1.1-2.dsc libdbi-ruby_0.1.1-2_all.deb to pool/main/libd/libdbi-ruby/libdbi-ruby_0.1.1-2_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dmitry Borodaenko <[EMAIL PROTECTED]> (supplier of updated libdbi-ruby package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Tue, 09 Jan 2007 02:06:46 +0000 Source: libdbi-ruby Binary: libdbi-ruby1.8 libdbd-pg-ruby libdbd-odbc-ruby1.8 libdbd-odbc-ruby libdbd-sqlite-ruby1.8 libdbd-sqlite-ruby libdbd-mysql-ruby libdbd-sqlite3-ruby1.8 libdbi-ruby libdbd-sqlite3-ruby libdbd-pg-ruby1.8 libdbd-mysql-ruby1.8 Architecture: source all i386 Version: 0.1.1-2 Distribution: unstable Urgency: low Maintainer: Dmitry Borodaenko <[EMAIL PROTECTED]> Changed-By: Dmitry Borodaenko <[EMAIL PROTECTED]> Description: libdbd-mysql-ruby - Ruby/DBI driver for MySQL libdbd-mysql-ruby1.8 - Ruby/DBI MySQL driver for Ruby 1.8 libdbd-odbc-ruby - Ruby/DBI driver for ODBC libdbd-odbc-ruby1.8 - Ruby/DBI ODBC driver for Ruby 1.8 libdbd-pg-ruby - Ruby/DBI PostgreSQL driver libdbd-pg-ruby1.8 - Ruby/DBI PostgreSQL driver for Ruby 1.8 libdbd-sqlite-ruby - Ruby/DBI driver for SQLite libdbd-sqlite-ruby1.8 - Ruby/DBI SQLite driver for Ruby 1.8 libdbd-sqlite3-ruby - Ruby/DBI driver for SQLite3 libdbd-sqlite3-ruby1.8 - Ruby/DBI SQLite driver for Ruby 1.8 libdbi-ruby - Database Independent Interface for Ruby libdbi-ruby1.8 - Database Independent Interface for Ruby 1.8 Closes: 405605 Changes: libdbi-ruby (0.1.1-2) unstable; urgency=low . * Coerce TINYINT(1) into Boolean in DBD::Mysql. * Several fixes for DBD::SQLite3: - fix double close of statement handle by Mike Kasick (Closes: #405605) - enable type_translation (depends on sqlite3-ruby >= 1.1.0-4) - auto-detect numbers in typeless columns. Files: e1e4300cf244fe9017d7fda83a27c2a7 844 interpreters optional libdbi-ruby_0.1.1-2.dsc 6ee2feb051c9972bc2de512ea1d9f745 7010 interpreters optional libdbi-ruby_0.1.1-2.diff.gz 8c0234e152c7a59e013fc9bf7b3cf171 45874 interpreters optional libdbi-ruby_0.1.1-2_all.deb c4486daf93390b8417d27dc6335e2c01 34256 interpreters optional libdbi-ruby1.8_0.1.1-2_all.deb 011452251beb2eb74ab64382913e19f3 17752 interpreters optional libdbd-pg-ruby_0.1.1-2_all.deb 0b583be19edd3807864c91a0b9d65a0b 25356 interpreters optional libdbd-pg-ruby1.8_0.1.1-2_all.deb 5de63b3c1fa26a1949236ff9697cbedd 17764 interpreters optional libdbd-mysql-ruby_0.1.1-2_all.deb 79fd99dbb8ca1c128c1e593be89cd59c 24526 interpreters optional libdbd-mysql-ruby1.8_0.1.1-2_all.deb b84529efac31e112b039ed4ed4312b04 17758 interpreters optional libdbd-odbc-ruby_0.1.1-2_all.deb b101e15a07069e3d39986962bc96da6a 20130 interpreters optional libdbd-odbc-ruby1.8_0.1.1-2_all.deb 99bc1cf0892219a178fef73d526007a4 17760 interpreters optional libdbd-sqlite-ruby_0.1.1-2_all.deb 3f3001d4f4be88dc30c982ad492b8551 17756 interpreters optional libdbd-sqlite3-ruby_0.1.1-2_all.deb 00a9ee1b9c9f9ae6b71214b08d14f2d2 19988 interpreters optional libdbd-sqlite3-ruby1.8_0.1.1-2_all.deb 60eb9beea8393940005be550e159a665 26310 interpreters optional libdbd-sqlite-ruby1.8_0.1.1-2_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iEYEARECAAYFAkWi+NAACgkQxhqJXoXuPg7g5gCeLAHqzJvMIfbBN/FvPjZEoyVq FZ8AnjZ7mK2cSZtrAWhiAYZ8GY7b9Zs4 =0Sxb -----END PGP SIGNATURE-----
--- End Message ---

