issue/611 Firebird Adaptor needs test_connection
Added a test_connection method to firebird.py
@@ -43,6 +43,9 @@ class FireBird(SQLAdapter):
def connector(self):
return self.driver.connect(**self.driver_args)
+ def test_connection(self):
+ self.execute('select current_timestamp from RDB$DATABASE')
+
def lastrowid(self, table):
sequence_name = table._sequence_name
self.execute("SELECT gen_id(%s, 0) FROM rdb$database" % sequence_name)
