fixed issues 1742:dal Teradata connection issue. cursors not being closed at the end of sessions, thanks awilliman01
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.7.4-stable+timestamp.2013.10.23.20.12.15
|
||||
Version 2.7.4-stable+timestamp.2013.10.26.21.45.59
|
||||
|
||||
@@ -513,7 +513,7 @@
|
||||
if(flash.html()) flash.append('<span id="closeflash"> × </span>').slideDown();
|
||||
},
|
||||
hide_flash: function () {
|
||||
$('.flash').hide().html('');
|
||||
$('.flash').fadeOut(0).html('');
|
||||
},
|
||||
show_if_handler: function (target) {
|
||||
var triggers = {};
|
||||
|
||||
@@ -4046,6 +4046,12 @@ class TeradataAdapter(BaseAdapter):
|
||||
self.connector = connector
|
||||
if do_connect: self.reconnect()
|
||||
|
||||
def close(self,action='commit',really=True):
|
||||
# Teradata does not implicitly close off the cursor
|
||||
# leading to SQL_ACTIVE_STATEMENTS limit errors
|
||||
self.cursor.close()
|
||||
ConnectionPool.close(self, action, really)
|
||||
|
||||
def LEFT_JOIN(self):
|
||||
return 'LEFT OUTER JOIN'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user