Fix bug that stopped Use Declare/Fetch working, and prevented ODBC bench running in multi-thread, multi-transaction mode.
Fix bug that stopped Use Declare/Fetch working, and prevented ODBC bench running in multi-thread, multi-transaction mode.

gavioto/psqlodbc,Distrotech/psqlodbc,treasure-data/prestogres-odbc,treasure-data/prestogres-odbc,treasure-data/prestogres-odbc,hlinnaka/psqlodbc,hlinnaka/psqlodbc,hlinnaka/psqlodbc,Distrotech/psqlodbc,gavioto/psqlodbc,gavioto/psqlodbc,Distrotech/psqlodbc