Skip to content

Commit

Permalink
new interface suport
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 10, 2015
1 parent 9775a96 commit 5a97970
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/src/entity_mysql/system.py
Expand Up @@ -362,7 +362,7 @@ def execute_query(self, query, cursor = None, retries = 3):

# gathers the name of the data base for which the query
# is going to be executed (helps with debug operations)
database = _connection.database
database = _connection.get_database()

# encodes the provided query into the appropriate
# representation for mysql execution
Expand Down Expand Up @@ -895,6 +895,9 @@ def is_valid_transaction(self):

return is_valid_transaction

def get_database(self):
return self.database

def get_database_encoding(self):
# checks if the current object already contains the encoding
# attribute set for such cases the retrieval is immediate
Expand Down

0 comments on commit 5a97970

Please sign in to comment.