422 |
string.join(where,' AND ') ) |
string.join(where,' AND ') ) |
423 |
|
|
424 |
try: |
try: |
425 |
|
GDebug.printMesg(5, "_atomicModify: statement=%s" % getValueStmt) |
426 |
cursor.execute(getValueStmt) |
cursor.execute(getValueStmt) |
427 |
rv = cursor.fetchone() |
rv = cursor.fetchone() |
428 |
except: |
except: |
461 |
string.join(where,' AND ') ) |
string.join(where,' AND ') ) |
462 |
|
|
463 |
try: |
try: |
464 |
|
GDebug.printMesg(5, "_atomicModify: statement=%s" % updateStmt) |
465 |
cursor.execute(updateStmt) |
cursor.execute(updateStmt) |
466 |
if autoCommit: |
if autoCommit: |
467 |
self.__connection.commit() |
self.__connection.commit() |
521 |
string.join(where,' AND ') ) |
string.join(where,' AND ') ) |
522 |
|
|
523 |
try: |
try: |
524 |
|
GDebug.printMesg(5, "_atomicModify: statement=%s" % getValueStmt) |
525 |
cursor.execute(getValueStmt) |
cursor.execute(getValueStmt) |
526 |
rv = cursor.fetchone() |
rv = cursor.fetchone() |
527 |
except: |
except: |
574 |
|
|
575 |
|
|
576 |
try: |
try: |
577 |
|
GDebug.printMesg(5, "_atomicModifyForEntry: statement=%s" % updateStmt) |
578 |
cursor.execute(updateStmt) |
cursor.execute(updateStmt) |
579 |
if record._haveHistory(table): |
if record._haveHistory(table): |
580 |
|
GDebug.printMesg(5, "_atomicModifyForEntry: statement=%s" % insertStmt) |
581 |
cursor.execute(insertStmt) |
cursor.execute(insertStmt) |
582 |
#cursor.close() |
#cursor.close() |
583 |
except: |
except: |