Actually fix BatchType enums this time

This commit is contained in:
Tyler Hobbs
2014-03-06 16:54:50 -06:00
parent 7cf500de2c
commit 7a78e037b8

View File

@@ -336,9 +336,9 @@ class BatchType(object):
return "BatchType<%s>" % (self.name, ) return "BatchType<%s>" % (self.name, )
BatchType.LOGGED = BatchType(0, "LOGGED") BatchType.LOGGED = BatchType("LOGGED", 0)
BatchType.UNLOGGED = BatchType(1, "UNLOGGED") BatchType.UNLOGGED = BatchType("UNLOGGED", 1)
BatchType.COUNTER = BatchType(2, "COUNTER") BatchType.COUNTER = BatchType("COUNTER", 2)
class BatchStatement(Statement): class BatchStatement(Statement):