You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.7 KiB
49 lines
1.7 KiB
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' });
|
|
}, [
|