From 4437ba2229c12b735986bc0acaf539eb1b6102a2 Mon Sep 17 00:00:00 2001 From: Jan Skrasek Date: Wed, 18 Dec 2024 21:57:50 +0100 Subject: [PATCH] no pooling in sqlsrv/odbc --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6fdf524..db7ba8f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -140,7 +140,10 @@ jobs: uses: actions/checkout@v4 - name: Install Microsoft ODBC - run: sudo ACCEPT_EULA=Y apt-get install msodbcsql18 -y + run: | + sudo ACCEPT_EULA=Y apt-get install msodbcsql18 -y + sudo echo "\n[ODBC]\nPooling=No" >> /etc/odbcinst.ini + sudo cat /etc/odbcinst.ini - name: Create MS SQL Database run: docker exec -i mssql /opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE nextras_dbal_test'