[libvideo-fourcc-info-perl] 01/04: Add patch to fix SQLite VACUUM command.

gregor herrmann gregoa at debian.org
Fri Oct 21 17:19:21 UTC 2016


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

gregoa pushed a commit to branch master
in repository libvideo-fourcc-info-perl.

commit f7ee99334d491f39357b27f7908d491f7cda9206
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Oct 21 19:13:18 2016 +0200

    Add patch to fix SQLite VACUUM command.
    
    Thanks: Lucas Nussbaum for the bug report.
    Closes: #841562
---
 debian/patches/series               |  1 +
 debian/patches/sqlite3-vacuum.patch | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..276f8ba
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+sqlite3-vacuum.patch
diff --git a/debian/patches/sqlite3-vacuum.patch b/debian/patches/sqlite3-vacuum.patch
new file mode 100644
index 0000000..80d1968
--- /dev/null
+++ b/debian/patches/sqlite3-vacuum.patch
@@ -0,0 +1,28 @@
+Description: Fix SQLite error "unknown database fourcc"
+ VACCUM either needs no argument, or a schema name of an attached database since SQLite 3.15.
+ "fourcc" is neither, the database name is "main".
+ .
+ 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.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/841562
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2016-10-21
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=118459
+Bug: https://rt.cpan.org/Ticket/Display.html?id=118459
+
+--- a/inc/My/Builder.pm
++++ b/inc/My/Builder.pm
+@@ -74,7 +74,7 @@
+ 
+     # Vacuum the resulting database
+     print "Optimizing database\n";
+-    $dbh->do('VACUUM fourcc');
++    $dbh->do('VACUUM');
+ 
+     print "Writing database\n";
+     $dbh->disconnect;

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



More information about the Pkg-perl-cvs-commits mailing list