diff --git a/sandbox/async.py b/sandbox/async.py index 17e96d01..3766fbb9 100644 --- a/sandbox/async.py +++ b/sandbox/async.py @@ -22,15 +22,15 @@ def sleep(curs): # DECLARE zz INSENSITIVE SCROLL CURSOR WITH HOLD FOR # SELECT now(); # FOR READ ONLY;""", async = 1) -curs.execute("SELECT now() AS foo", async=1); +curs.execute("SELECT now() AS foo", async=1) sleep(curs) print curs.fetchall() #curs.execute(""" # FETCH FORWARD 1 FROM zz;""", async = 1) -curs.execute("SELECT now() AS bar", async=1); +curs.execute("SELECT now() AS bar", async=1) print curs.fetchall() -curs.execute("SELECT now() AS bar"); +curs.execute("SELECT now() AS bar") sleep(curs)