Changeset 32457 for trunk/ippToPsps
- Timestamp:
- Sep 29, 2011, 3:18:01 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/mysql.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/mysql.py
r32293 r32457 47 47 self.everythingOK = True 48 48 49 50 49 ''' 51 50 Disconnect from database … … 61 60 self.logger.debug("MySql destructor") 62 61 self.disconnect() 62 63 ''' 64 Locks a table. This is wait if the locks is already held by another session 65 ''' 66 def lockTable(self, table): 67 self.execute("LOCK TABLES " + table + " WRITE") 68 69 ''' 70 Unlocks all tables locked by this session. 71 ''' 72 def unlockTables(self): 73 self.execute("UNLOCK TABLES") 63 74 64 75 '''
Note:
See TracChangeset
for help on using the changeset viewer.
