Soem crudkit fixes aimed at eliminating session sharing.

This commit is contained in:
Yaro Kasear 2025-09-15 11:51:56 -05:00
parent d045a1a05f
commit cf795086f1
10 changed files with 107 additions and 47 deletions

View file

@ -123,6 +123,7 @@ def build_database_url(
"Trusted_Connection": "yes",
"Encrypt": "yes",
"TrustServerCertificate": "yes",
"MARS_Connection": "yes",
}
base_opts.update(options)
qs = "?" + "&".join(f"{k}={quote_plus(v)}" for k, v in base_opts.items())
@ -135,6 +136,7 @@ def build_database_url(
"driver": driver,
"Encrypt": "yes",
"TrustServerCertificate": "yes",
"MARS_Connection": "yes",
}
base_opts.update(options)
qs = "?" + "&".join(f"{k}={quote_plus(v)}" for k, v in base_opts.items())