Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9ca2dd5

Browse files
committed
Avoid Perl warning
Perl versions before 5.12 would warn "Use of implicit split to @_ isdeprecated".Author: Jeff Janes <jeff.janes@gmail.com>
1 parent05227e0 commit9ca2dd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/recovery/t/006_logical_decoding.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
# Basic decoding works
2929
my($result) =$node_master->safe_psql('postgres',qq[SELECT pg_logical_slot_get_changes('test_slot', NULL, NULL);]);
30-
is(scalar(split /^/m,$result), 12,'Decoding produced 12 rows inc BEGIN/COMMIT');
30+
is(scalar(my@foobar =split /^/m,$result), 12,'Decoding produced 12 rows inc BEGIN/COMMIT');
3131

3232
# If we immediately crash the server we might lose the progress we just made
3333
# and replay the same changes again. But a clean shutdown should never repeat

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp