Skip to content

fix: Correct fresh connection creation in pool cleanup#63

Merged
xe-nvdk merged 1 commit into
mainfrom
release/25.11.2
Nov 24, 2025
Merged

fix: Correct fresh connection creation in pool cleanup#63
xe-nvdk merged 1 commit into
mainfrom
release/25.11.2

Conversation

@xe-nvdk
Copy link
Copy Markdown
Member

@xe-nvdk xe-nvdk commented Nov 24, 2025

Fixed AttributeError where cleanup tried to access self.db_path which doesn't exist in SimpleDuckDBPool. Fresh connections now created using the same pattern as _initialize_pool():

  1. duckdb.connect() (no path)
  2. Apply configure_fn if provided

This matches how the pool creates connections initially.

🤖 Generated with Claude Code

Fixed AttributeError where cleanup tried to access self.db_path
which doesn't exist in SimpleDuckDBPool. Fresh connections now
created using the same pattern as _initialize_pool():
1. duckdb.connect() (no path)
2. Apply configure_fn if provided

This matches how the pool creates connections initially.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@xe-nvdk xe-nvdk merged commit 0d56407 into main Nov 24, 2025
9 of 10 checks passed
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.

1 participant