reverting https://code.google.com/p/web2py/issues/detail?id=1500 as discussed https://groups.google.com/ dE-Fu9prKyI
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.4.7-stable+timestamp.2013.05.27.11.49.44
|
Version 2.4.7-stable+timestamp.2013.05.28.22.44.29
|
||||||
|
|||||||
@@ -2522,8 +2522,6 @@ class MySQLAdapter(BaseAdapter):
|
|||||||
self.execute('select last_insert_id();')
|
self.execute('select last_insert_id();')
|
||||||
return int(self.cursor.fetchone()[0])
|
return int(self.cursor.fetchone()[0])
|
||||||
|
|
||||||
def integrity_error_class(self):
|
|
||||||
return self.cursor.IntegrityError
|
|
||||||
|
|
||||||
class PostgreSQLAdapter(BaseAdapter):
|
class PostgreSQLAdapter(BaseAdapter):
|
||||||
drivers = ('psycopg2','pg8000')
|
drivers = ('psycopg2','pg8000')
|
||||||
|
|||||||
Reference in New Issue
Block a user