(sqlStatement, *args)
| 53 | |
| 54 | |
| 55 | def sqlExecute(sqlStatement, *args): |
| 56 | sqlLock.acquire() |
| 57 | sqlSubmitQueue.put(sqlStatement) |
| 58 | |
| 59 | if args == (): |
| 60 | sqlSubmitQueue.put('') |
| 61 | else: |
| 62 | sqlSubmitQueue.put(args) |
| 63 | |
| 64 | queryreturn, rowcount = sqlReturnQueue.get() |
| 65 | sqlSubmitQueue.put('commit') |
| 66 | sqlLock.release() |
| 67 | return rowcount |
| 68 | |
| 69 | def sqlStoredProcedure(procName): |
| 70 | sqlLock.acquire() |
no test coverage detected