]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
use long for query runid counter
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Dec 2007 20:46:07 +0000 (20:46 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 29 Dec 2007 20:46:07 +0000 (20:46 +0000)
lib/sqlalchemy/orm/query.py

index 0d7f76dcad9e8f716f81ea41bccd2826a5e59049..6f69c9180cb2171df0d886fe9694c14dcca4733d 100644 (file)
@@ -1348,7 +1348,7 @@ class QueryContext(object):
         finally:
             self.path = oldpath
 
-_runid = 1
+_runid = 1L
 _id_lock = util.threading.Lock()
 
 def _new_runid():