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

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

commit 29957fe83392988fb0f9139e2e8094e6455acc88
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Oct 21 18:39:37 2016 +0200

    Add patch to adjust testsuite to libsqlite3-0 >= 3.14.
    
    Thanks: Lucas Nussbaum for the bug report, and to Peter Rabbitson for the 
help with the fix.
    Closes: #841573
---
 debian/patches/0002-sqlite-3.14.patch | 48 +++++++++++++++++++++++++++++++++++
 debian/patches/series                 |  1 +
 2 files changed, 49 insertions(+)

diff --git a/debian/patches/0002-sqlite-3.14.patch 
b/debian/patches/0002-sqlite-3.14.patch
new file mode 100644
index 0000000..c4b8d72
--- /dev/null
+++ b/debian/patches/0002-sqlite-3.14.patch
@@ -0,0 +1,48 @@
+Description: Drop test which expected SQLite behaviour from before 3.14
+ Cf. https://rt.cpan.org/Public/Bug/Display.html?id=118395#txn-1676851
+ .
+ Thanks to Peter Rabbitson for the help.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/841573
+Forwarded: not-needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2016-10-21
+
+--- a/t/resultset/update_delete.t
++++ b/t/resultset/update_delete.t
+@@ -138,35 +138,6 @@
+ ], 'Correct null-delete-SQL with multijoin without pruning' );
+ 
+ 
+-# try the same sql with forced multicolumn in
+-$schema->is_executed_sql_bind( sub {
+-  local $schema->storage->{_use_multicolumn_in} = 1;
+-
+-  # this can't actually execute on sqlite
+-  eval { $fks_multi->update ({ read_count => \ 'read_count + 1' }) };
+-}, [[
+-  'UPDATE fourkeys
+-    SET read_count = read_count + 1
+-    WHERE (
+-      (foo, bar, hello, goodbye) IN (
+-        SELECT me.foo, me.bar, me.hello, me.goodbye
+-          FROM fourkeys me
+-          LEFT JOIN fourkeys_to_twokeys fourkeys_to_twokeys ON
+-                fourkeys_to_twokeys.f_bar = me.bar
+-            AND fourkeys_to_twokeys.f_foo = me.foo
+-            AND fourkeys_to_twokeys.f_goodbye = me.goodbye
+-            AND fourkeys_to_twokeys.f_hello = me.hello
+-        WHERE ( bar = ? OR bar = ? ) AND ( foo = ? OR foo = ? ) AND 
fourkeys_to_twokeys.pilot_sequence != ? AND ( goodbye = ? OR goodbye = ? ) AND 
( hello = ? OR hello = ? ) AND sensors != ?
+-        ORDER BY foo, bar, hello, goodbye
+-      )
+-    )
+-  ',
+-  ( 1, 2) x 2,
+-  666,
+-  ( 1, 2) x 2,
+-  'c',
+-]], 'Correct update-SQL with multicolumn in support' );
+-
+ $schema->is_executed_sql_bind( sub {
+   $fks->search({ 'twokeys.artist' => { '!=' => 666 } })->update({ read_count 
=> \ 'read_count + 1' });
+ }, [
diff --git a/debian/patches/series b/debian/patches/series
index b38c370..6cdd189 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Fix-for-upcoming-not-yet-available-via-DBD-SQLite-li.patch
+0002-sqlite-3.14.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libdbix-class-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