diff MySQLdb/constants/ER.py @ 8:fa8974a41c76 MySQLdb

New error handling code, plus some small fixes from 1.2
author adustman
date Sun, 11 Feb 2007 21:36:29 +0000
parents e48810735f11
children 7773efbe9b30
line wrap: on
line diff
--- a/MySQLdb/constants/ER.py	Sun Feb 11 07:40:50 2007 +0000
+++ b/MySQLdb/constants/ER.py	Sun Feb 11 21:36:29 2007 +0000
@@ -4,7 +4,9 @@
 that may occur.
 
 """
+# Autogenerated file, please don't edit
 
+ERROR_FIRST = 1000
 HASHCHK = 1000
 NISAMCHK = 1001
 NO = 1002
@@ -98,7 +100,7 @@
 CANT_REMOVE_ALL_FIELDS = 1090
 CANT_DROP_FIELD_OR_KEY = 1091
 INSERT_INFO = 1092
-INSERT_TABLE_USED = 1093
+UPDATE_TABLE_USED = 1093
 NO_SUCH_THREAD = 1094
 KILL_DENIED_ERROR = 1095
 NO_TABLES_USED = 1096
@@ -463,5 +465,15 @@
 OLD_FILE_FORMAT = 1455
 SP_RECURSION_LIMIT = 1456
 SP_PROC_TABLE_CORRUPT = 1457
-ERROR_LAST = 1457
-
+SP_WRONG_NAME = 1458
+TABLE_NEEDS_UPGRADE = 1459
+SP_NO_AGGREGATE = 1460
+MAX_PREPARED_STMT_COUNT_REACHED = 1461
+VIEW_RECURSIVE = 1462
+NON_GROUPING_FIELD_USED = 1463
+TABLE_CANT_HANDLE_SPKEYS = 1464
+NO_TRIGGERS_ON_SYSTEM_SCHEMA = 1465
+USERNAME = 1466
+HOSTNAME = 1467
+WRONG_STRING_LENGTH = 1468
+ERROR_LAST = 1468