aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-dbix-class/0002-sqlite-3.14.patch
blob: c4b8d723a27341fd0ff752025049051742adb87b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 <gregoa@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' });
 }, [