mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-16 17:53:15 +00:00
Merge Russell's formatting patch (bug #3838)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -92,7 +92,7 @@ int odbc_smart_execute(odbc_obj *obj, SQLHSTMT stmt)
|
||||
obj->up = 0;
|
||||
ast_mutex_unlock(&obj->lock);
|
||||
odbc_obj_disconnect(obj);
|
||||
odbc_obj_connect(obj);
|
||||
odbc_obj_connect(obj);
|
||||
res = SQLExecute(stmt);
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ int odbc_smart_direct_execute(odbc_obj *obj, SQLHSTMT stmt, char *sql)
|
||||
obj->up = 0;
|
||||
ast_mutex_unlock(&obj->lock);
|
||||
odbc_obj_disconnect(obj);
|
||||
odbc_obj_connect(obj);
|
||||
odbc_obj_connect(obj);
|
||||
res = SQLExecDirect (stmt, sql, SQL_NTS);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user