Skip to content

Commit

Permalink
MSSQLS SET no_ol_i_id to correct value (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
sm-shaw committed Jul 10, 2022
1 parent 7121bd4 commit ee15454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mssqlserver/mssqlsoltp.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ proc CreateStoredProcs { odbc imdb } {
IF ((@loop_counter = @no_o_ol_cnt) AND (@rbk = 1))
SET @no_ol_i_id = 100001
ELSE
SET @no_ol_i_id = CAST(1000000 * RAND() + 1 AS INT)
SET @no_ol_i_id = CAST(100000 * RAND() + 1 AS INT)
SET @x = CAST(100 * RAND() + 1 AS INT)
IF (@x > 1)
SET @no_ol_supply_w_id = @no_w_id
Expand Down Expand Up @@ -661,7 +661,7 @@ proc CreateStoredProcs { odbc imdb } {
IF ((@loop_counter = @no_o_ol_cnt) AND (@rbk = 1))
SET @no_ol_i_id = 100001
ELSE
SET @no_ol_i_id = CAST(1000000 * RAND() + 1 AS INT)
SET @no_ol_i_id = CAST(100000 * RAND() + 1 AS INT)
SET @x = CAST(100 * RAND() + 1 AS INT)
IF (@x > 1)
SET @no_ol_supply_w_id = @no_w_id
Expand Down

0 comments on commit ee15454

Please sign in to comment.