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

Commita600ee9

Browse files
committed
tests: Use the right Perl operator
We were using != to compare strings, for which "ne" is the right thing.It's not clear why it works everywhere except on Pavan's machine, butit's clearly bogus anyway.Author and reporter: Pavan DeolaseeDiscussion:https://postgr.es/m/CABOikdPhsHM+pX8skoEY1_T0OtKdO1udzUj4VCjU5VEt+bj4eA@mail.gmail.com
1 parent0502e85 commita600ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/modules/commit_ts/t/004_restart.pl

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

5555
my$before_restart_ts =$node_master->safe_psql('postgres',
5656
qq[SELECT pg_xact_commit_timestamp('$xid');]);
57-
ok($before_restart_ts!='' &&$before_restart_ts!='null',
57+
ok($before_restart_tsne'' &&$before_restart_tsne'null',
5858
'commit timestamp recorded');
5959

6060
$node_master->stop('immediate');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp