mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
In extensions.py: COMMITED -> COMMITTED. (Closes: #73)
This commit is contained in:
parent
b97b0b04de
commit
f4fee20b3b
|
@ -1,5 +1,6 @@
|
|||
2005-11-19 Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
* lib/extensions.py: COMMITED -> COMMITTED. (Closes: #73)
|
||||
* doc/extensions.rst: included Daniele's work after minor cosmetic changes
|
||||
like using the new constants instead of numbers for transaction isolation
|
||||
levels.
|
||||
|
|
|
@ -42,12 +42,12 @@ from _psycopg import ISQLQuote
|
|||
|
||||
"""Isolation level values."""
|
||||
ISOLATION_LEVEL_AUTOCOMMIT = 0
|
||||
ISOLATION_LEVEL_READ_COMMITED = 1
|
||||
ISOLATION_LEVEL_READ_COMMITTED = 1
|
||||
ISOLATION_LEVEL_SERIALIZABLE = 2
|
||||
|
||||
# Postgresql maps the the other standard values to already defined levels
|
||||
# PostgreSQL maps the the other standard values to already defined levels
|
||||
ISOLATION_LEVEL_REPEATABLE_READ = ISOLATION_LEVEL_SERIALIZABLE
|
||||
ISOLATION_LEVEL_READ_UNCOMMITTED = ISOLATION_LEVEL_READ_COMMITED
|
||||
ISOLATION_LEVEL_READ_UNCOMMITTED = ISOLATION_LEVEL_READ_COMMITTED
|
||||
|
||||
|
||||
def register_adapter(typ, callable):
|
||||
|
|
Loading…
Reference in New Issue
Block a user