Files
DBClient/app/drivers
nngoandClaude Sonnet 4.6 724594d3f1 Fix three critical bugs in ConnectionProfile and MSSQL driver
- Declare `password` as a proper dataclass field (repr=False) so it is
  visible to type checkers and any code path that constructs a bare
  ConnectionProfile; drop the now-unused Optional import.
- Fix _conn_str() fallback loop: the return was inside the for-body,
  so only ODBC Driver 18 was ever tried. Now uses pyodbc.drivers() to
  pick the first installed driver from the preference list.
- Make _cur() a thread-safe @contextmanager that holds self._lock for
  the cursor's lifetime, matching MySQL/PostgreSQL/SQLite. Updated all
  16 call sites to `with self._cur() as c:`.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-21 16:02:04 -04:00
..
2026-05-21 15:46:41 -04:00
2026-05-21 15:46:41 -04:00
2026-05-21 15:46:41 -04:00
2026-05-21 15:46:41 -04:00
2026-05-21 15:46:41 -04:00