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

Add client_found_rows option to connect() #32

Merged
merged 6 commits into from
Aug 20, 2024

Conversation

pmishchenko-ua
Copy link
Collaborator

No description provided.

if self.conn.driver not in ['http', 'https']:
with s2.connect(database=type(self).dbname, client_found_rows=True) as conn:
with conn.cursor() as cur:
cur.execute("CREATE TABLE test_client_found_rows (id BIGINT \
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should use a uuid or something to make a unique table name. Tests are sometimes run in parallel and this will cause collisions.

@kesmit13 kesmit13 merged commit 4fa6cad into main Aug 20, 2024
11 checks passed
@kesmit13 kesmit13 deleted the pavlo-add-client-found-rows branch August 20, 2024 18:01
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.

2 participants