This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository liborlite-perl.

commit c3d278d44143a67246910d90a2365edc49b88eee
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Oct 21 19:34:12 2016 +0200

    Add patch to fix SQLite VACUUM usage in test suite.
    
    Thanks: Lucas Nussbaum for the bug report.
    Closes: #841545
---
 debian/patches/series              |  1 +
 debian/patches/sqlite-vacuum.patch | 46 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index ccfcd20..c946eae 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_pod_spelling
+sqlite-vacuum.patch
diff --git a/debian/patches/sqlite-vacuum.patch 
b/debian/patches/sqlite-vacuum.patch
new file mode 100644
index 0000000..f14b04a
--- /dev/null
+++ b/debian/patches/sqlite-vacuum.patch
@@ -0,0 +1,46 @@
+Description: Fix cleanup in tests.
+ Since SQLite 3.15, VACUUM either needs no arguments, or the name of an
+ attached database.
+ . 
+ From https://sqlite.org/lang_vacuum.html :
+ Compatibility Warning: The ability to vacuum attached databases was added
+ in version 3.15.0 (2016-10-14). Prior to that, a schema-name added to the
+ VACUUM statement would be silently ignored and the "main" schema would be
+ vacuumed.
+ .
+ That means that 'VACUUM ANALYZE' never did what it was probably supposed to
+ do.
+ .
+ Maybe 'VACUUM; ANALYZE' works as well. -- And besides this change in the
+ testsuite, the documentation for cleanup() in the POD would need to be
+ updated as well.
+ . 
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/841545
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2016-10-21
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=118460
+Bug: https://rt.cpan.org/Ticket/Display.html?id=118460
+
+--- a/t/10_cleanup.t
++++ b/t/10_cleanup.t
+@@ -29,7 +29,7 @@
+ use strict;
+ use ORLite {
+       file    => '$file',
+-      cleanup => 'VACUUM ANALYZE',
++      cleanup => 'VACUUM',
+ };
+ 
+ 1;
+--- a/t/11_cleanup.t
++++ b/t/11_cleanup.t
+@@ -29,7 +29,7 @@
+ use strict;
+ use ORLite {
+       file    => '$file',
+-      cleanup => 'VACUUM ANALYZE',
++      cleanup => 'VACUUM',
+ };
+ 
+ 1;

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/liborlite-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to