Changeset 2821
- Timestamp:
- 03/29/06 08:48:19 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/mysqlstorage.py
r2773 r2821 50 50 self.database.autocommit(1) 51 51 self.cursor = self.database.cursor() 52 self.cursor.execute("SET TRANSACTION ISOLATION LEVEL READ COMMITTED;") # Same as PostgreSQL and Oracle's default 52 53 self.closed = 0 53 54 self.tool.logdebug("Database opened (host=%s, port=%s, dbname=%s, user=%s)" % (host, port, dbname, user))