psqlodbc.git / summary / log / commit / refs

commit    7065a7af196bb09f80beddce82fa728c8a6dfcba
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Thu Feb 20 07:09:47 2014 +0000

    Add locking to SQLFreeStmt and SQLFreeHandle.
    
    This fixes a race condition, where SQLFreeStmt is called while the
    connection is busy executing another statement. SC_set_prepared would see
    that the connection is busy (CONN_EXECUTING), and not issue a DEALLOCATE
    statement to free the prepared statement in the backend, leaking it.

[parent: 3116f70ab51d]