Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mssqlsoltp.tcl #541

Merged
merged 1 commit into from
May 2, 2023
Merged

Update mssqlsoltp.tcl #541

merged 1 commit into from
May 2, 2023

Conversation

Alex-Zarenin
Copy link
Contributor

Replaced "select sum(d_next_o_id) from district" with "select sum(cast(d_next_o_id as bigint)) from district" in 4 places in the file to avoid arithmetic overflow when running HammerSDB against test database with large number of warehouses.

This pull request addresses the issue #538

Replaced  "select sum(d_next_o_id) from district" with "select sum(cast(d_next_o_id as bigint)) from district" in 4 places in the file to avoid arithmetic overflow when running HammerSDB against test database with large number of warehouses.
@Alex-Zarenin Alex-Zarenin requested a review from a team as a code owner April 17, 2023 17:39
@sm-shaw sm-shaw linked an issue Apr 18, 2023 that may be closed by this pull request
Copy link
Contributor

@sm-shaw sm-shaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have built from source and run tests and everything works as expected.

@abondvt89 abondvt89 merged commit 582f1ac into TPC-Council:master May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arithmetic overflow for larger databases
4 participants