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

{177931817} sp: Use dbstmt only if sqlite3_stmt exits #4972

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

akshatsikarwar
Copy link
Contributor

@akshatsikarwar akshatsikarwar commented Jan 21, 2025

  • Revert to metatable technique for managing dbstmt lifetime
  • Use dbstmt only if sqlite3_stmt is still present
  • Set flag in Lua-Table to indicate it is a dbrow

Copy link

@roborivers roborivers left a comment

Choose a reason for hiding this comment

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

Coding style check: Success ✓.
Smoke testing: Success ✓.
Cbuild submission: Error ⚠.
Regression testing: 3/595 tests failed ⚠.

The first 10 failing tests are:
analyze_exit_immediately
sc_swapfields_logicalsc_generated
disttxn

aakash10292
aakash10292 previously approved these changes Jan 22, 2025
Copy link
Contributor

@aakash10292 aakash10292 left a comment

Choose a reason for hiding this comment

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

LGTM

@akshatsikarwar
Copy link
Contributor Author

/silent

. Revert to metatable technique for managing dbstmt lifetime
. Use dbstmt only if sqlite3_stmt is still present
. Set flag in Lua-Table to indicate it is a dbrow

Signed-off-by: Akshat Sikarwar <[email protected]>
Copy link

@roborivers roborivers left a comment

Choose a reason for hiding this comment

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

Coding style check: Success ✓.
Smoke testing: Success ✓.
Cbuild submission: Error ⚠.
Regression testing: 1/595 tests failed ⚠.

The first 10 failing tests are:
sc_datacopy_logicalsc_generated

@akshatsikarwar akshatsikarwar merged commit 24f6a0f into bloomberg:main Jan 24, 2025
1 check passed
@akshatsikarwar akshatsikarwar deleted the lua-sql-row-emit branch January 24, 2025 15:21
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.

4 participants