- Timestamp:
- Nov 8, 2011, 2:44:12 PM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110906
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippToPsps/jython/mysql.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110906
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20110906/ippToPsps/jython/mysql.py
r32293 r32630 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.
