Skip to content

Commit

Permalink
fix sql statements (#4054)
Browse files Browse the repository at this point in the history
Co-authored-by: Jack He <jackhe@microsoft.com>
  • Loading branch information
ProjectsByJackHe and ProjectsByJackHe authored Jan 12, 2024
1 parent dc57ece commit f0b34fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/secnetperf-helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function Invoke-SecnetperfTest($MsQuicCommit, $commands, $exe, $start, $LogProfi
$testid = $i + 1 + $start
$SQL += @"
INSERT OR IGNORE INTO Secnetperf_tests (Secnetperf_test_ID, Kernel_mode, Run_arguments) VALUES ($testid, 0, "$($commands[$i]) -tcp:$tcp")
INSERT OR IGNORE INTO Secnetperf_tests (Secnetperf_test_ID, Kernel_mode, Run_arguments) VALUES ($testid, 0, "$($commands[$i]) -tcp:$tcp");
"@
$command = "$exe -target:netperf-peer $($commands[$i]) -tcp:$tcp -trimout"
Expand Down Expand Up @@ -152,7 +152,7 @@ INSERT OR IGNORE INTO Secnetperf_tests (Secnetperf_test_ID, Kernel_mode, Run_arg
# Generate SQL statement. Assume LAST_INSERT_ROW_ID()
$SQL += @"
INSERT INTO Secnetperf_test_runs (Secnetperf_test_ID, Secnetperf_commit, Client_environment_ID, Server_environment_ID, Result, Latency_stats_ID)
INSERT INTO Secnetperf_test_runs (Secnetperf_test_ID, Secnetperf_commit, Client_environment_ID, Server_environment_ID, Result, Secnetperf_latency_stats_ID)
VALUES ($testid, '$MsQuicCommit', $env, $env, $num, NULL);
"@
Expand Down

0 comments on commit f0b34fe

Please sign in to comment.