View Single Post
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 05-25-2018 , 13:09   Re: PostgreSQL Database Interface
Reply With Quote #37

Quote:
Originally Posted by SovRedBit View Post
Aaaand i had some fun finding this bug, and here what i have got, first take tha backtrace with variables:


Then take just backtrace:

I talked with one SP developer he told me that the error might be at the
in PgDatabase.cpp

Code so i don't know, how to fix the problem, or how much i need to wait, to get your fix?
Could it be that you're locking the database yourself using SQL_LockDatabase before using SQL_SetCharset? SQL_SetCharset locks the database itself, so you don't need to lock it manually before calling that native.

Attached are the latest builds from the PR compiled against PostgreSQL 9.6.9.
Attached Files
File Type: dll dbi.pgsql.ext.dll (304.5 KB, 192 views)
File Type: so dbi.pgsql.ext.so (363.0 KB, 194 views)
__________________

Last edited by Peace-Maker; 05-26-2018 at 07:30.
Peace-Maker is offline