Skip to content

Commit

Permalink
Merge pull request #541 from Alex-Zarenin/master
Browse files Browse the repository at this point in the history
Update mssqlsoltp.tcl
  • Loading branch information
abondvt89 authored May 2, 2023
2 parents 6e529d9 + 4f31738 commit 582f1ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mssqlserver/mssqlsoltp.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -2374,7 +2374,7 @@ switch $myposition {
}
if { [ tsv::get application abort ] } { break }
puts "Rampup complete, Taking start Transaction Count."
if {[catch {set rows [ odbc allrows "select sum(d_next_o_id) from district" ]} message ]} {
if {[catch {set rows [ odbc allrows "select sum(cast(d_next_o_id as bigint)) from district" ]} message ]} {
error "Failed to query district table : $message"
} else {
set start_nopm [ lindex {*}$rows 1 ]
Expand All @@ -2399,7 +2399,7 @@ switch $myposition {
}
if { [ tsv::get application abort ] } { break }
puts "Test complete, Taking end Transaction Count."
if {[catch {set rows [ odbc allrows "select sum(d_next_o_id) from district" ]} message ]} {
if {[catch {set rows [ odbc allrows "select sum(cast(d_next_o_id as bigint)) from district" ]} message ]} {
error "Failed to query district table : $message"
} else {
set end_nopm [ lindex {*}$rows 1 ]
Expand Down Expand Up @@ -2793,7 +2793,7 @@ switch $myposition {
}
if { [ tsv::get application abort ] } { break }
puts "Rampup complete, Taking start Transaction Count."
if {[catch {set rows [ odbc allrows "select sum(d_next_o_id) from district" ]} message ]} {
if {[catch {set rows [ odbc allrows "select sum(cast(d_next_o_id as bigint)) from district" ]} message ]} {
error "Failed to query district table : $message"
} else {
set start_nopm [ lindex {*}$rows 1 ]
Expand All @@ -2818,7 +2818,7 @@ switch $myposition {
}
if { [ tsv::get application abort ] } { break }
puts "Test complete, Taking end Transaction Count."
if {[catch {set rows [ odbc allrows "select sum(d_next_o_id) from district" ]} message ]} {
if {[catch {set rows [ odbc allrows "select sum(cast(d_next_o_id as bigint)) from district" ]} message ]} {
error "Failed to query district table : $message"
} else {
set end_nopm [ lindex {*}$rows 1 ]
Expand Down

0 comments on commit 582f1ac

Please sign in to comment.