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

Commit0b85fa9

Browse files
committed
Fix vcregress.pl's ancient misspelling of --max-connections.
I copied the existing spelling of "--max_connections", butthat's just wrong :-(. Evidently setting $ENV{MAX_CONNECTIONS}has never actually worked in this script. Given the lack ofcomplaints, it's probably not worth back-patching a fix.Per buildfarm.Discussion:https://postgr.es/m/899209.1620759506@sss.pgh.pa.us
1 parent1df3555 commit0b85fa9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/tools/msvc/vcregress.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272

7373
my$maxconn ="";
74-
$maxconn ="--max_connections=$ENV{MAX_CONNECTIONS}"
74+
$maxconn ="--max-connections=$ENV{MAX_CONNECTIONS}"
7575
if$ENV{MAX_CONNECTIONS};
7676

7777
my$temp_config ="";
@@ -109,7 +109,7 @@ sub installcheck_internal
109109
# for backwards compatibility, "serial" runs the tests in
110110
# parallel_schedule one by one.
111111
my$maxconn =$maxconn;
112-
$maxconn ="--max_connections=1"if$scheduleeq'serial';
112+
$maxconn ="--max-connections=1"if$scheduleeq'serial';
113113
$schedule ='parallel'if$scheduleeq'serial';
114114

115115
my@args = (
@@ -141,7 +141,7 @@ sub check
141141
# for backwards compatibility, "serial" runs the tests in
142142
# parallel_schedule one by one.
143143
my$maxconn =$maxconn;
144-
$maxconn ="--max_connections=1"if$scheduleeq'serial';
144+
$maxconn ="--max-connections=1"if$scheduleeq'serial';
145145
$schedule ='parallel'if$scheduleeq'serial';
146146

147147
InstallTemp();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp