{{ message }}
Repository navigation
Commit a5ce8f0
committed
Fix GH-629: unwrap Row params in execute() (root-cause fix)
execute() only unwrapped tuple/list/dict single args, so a Row (e.g. from
fetchone()) was treated as a single scalar parameter, raising
'Unsupported parameter type'. Normalize a single Row arg to a tuple at the
unwrap site so both execute(sql, row) and the executemany DAE fallback work.
Removes the now-redundant Row->tuple pre-patch in the DAE path. Test uses
isinstance(rows[0], mssql_python.Row) instead of fragile name check.1 parent e87021c commit a5ce8f0
2 files changed
Lines changed: 7 additions & 6 deletions

0 commit comments