mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
Should use the named handle, not one hardcoded
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -203,7 +203,7 @@ retry_write:
|
||||
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
|
||||
odbc_release_obj(obj);
|
||||
/* All handles are now invalid (after a disconnect), so we gotta redo all handles */
|
||||
obj = odbc_request_obj("asterisk", 1);
|
||||
obj = odbc_request_obj(query->dsn, 1);
|
||||
if (!retry) {
|
||||
retry = 1;
|
||||
goto retry_write;
|
||||
|
Reference in New Issue
Block a user