CR.py 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # flake8: noqa
  2. # errmsg.h
  3. CR_ERROR_FIRST = 2000
  4. CR_UNKNOWN_ERROR = 2000
  5. CR_SOCKET_CREATE_ERROR = 2001
  6. CR_CONNECTION_ERROR = 2002
  7. CR_CONN_HOST_ERROR = 2003
  8. CR_IPSOCK_ERROR = 2004
  9. CR_UNKNOWN_HOST = 2005
  10. CR_SERVER_GONE_ERROR = 2006
  11. CR_VERSION_ERROR = 2007
  12. CR_OUT_OF_MEMORY = 2008
  13. CR_WRONG_HOST_INFO = 2009
  14. CR_LOCALHOST_CONNECTION = 2010
  15. CR_TCP_CONNECTION = 2011
  16. CR_SERVER_HANDSHAKE_ERR = 2012
  17. CR_SERVER_LOST = 2013
  18. CR_COMMANDS_OUT_OF_SYNC = 2014
  19. CR_NAMEDPIPE_CONNECTION = 2015
  20. CR_NAMEDPIPEWAIT_ERROR = 2016
  21. CR_NAMEDPIPEOPEN_ERROR = 2017
  22. CR_NAMEDPIPESETSTATE_ERROR = 2018
  23. CR_CANT_READ_CHARSET = 2019
  24. CR_NET_PACKET_TOO_LARGE = 2020
  25. CR_EMBEDDED_CONNECTION = 2021
  26. CR_PROBE_SLAVE_STATUS = 2022
  27. CR_PROBE_SLAVE_HOSTS = 2023
  28. CR_PROBE_SLAVE_CONNECT = 2024
  29. CR_PROBE_MASTER_CONNECT = 2025
  30. CR_SSL_CONNECTION_ERROR = 2026
  31. CR_MALFORMED_PACKET = 2027
  32. CR_WRONG_LICENSE = 2028
  33. CR_NULL_POINTER = 2029
  34. CR_NO_PREPARE_STMT = 2030
  35. CR_PARAMS_NOT_BOUND = 2031
  36. CR_DATA_TRUNCATED = 2032
  37. CR_NO_PARAMETERS_EXISTS = 2033
  38. CR_INVALID_PARAMETER_NO = 2034
  39. CR_INVALID_BUFFER_USE = 2035
  40. CR_UNSUPPORTED_PARAM_TYPE = 2036
  41. CR_SHARED_MEMORY_CONNECTION = 2037
  42. CR_SHARED_MEMORY_CONNECT_REQUEST_ERROR = 2038
  43. CR_SHARED_MEMORY_CONNECT_ANSWER_ERROR = 2039
  44. CR_SHARED_MEMORY_CONNECT_FILE_MAP_ERROR = 2040
  45. CR_SHARED_MEMORY_CONNECT_MAP_ERROR = 2041
  46. CR_SHARED_MEMORY_FILE_MAP_ERROR = 2042
  47. CR_SHARED_MEMORY_MAP_ERROR = 2043
  48. CR_SHARED_MEMORY_EVENT_ERROR = 2044
  49. CR_SHARED_MEMORY_CONNECT_ABANDONED_ERROR = 2045
  50. CR_SHARED_MEMORY_CONNECT_SET_ERROR = 2046
  51. CR_CONN_UNKNOW_PROTOCOL = 2047
  52. CR_INVALID_CONN_HANDLE = 2048
  53. CR_SECURE_AUTH = 2049
  54. CR_FETCH_CANCELED = 2050
  55. CR_NO_DATA = 2051
  56. CR_NO_STMT_METADATA = 2052
  57. CR_NO_RESULT_SET = 2053
  58. CR_NOT_IMPLEMENTED = 2054
  59. CR_SERVER_LOST_EXTENDED = 2055
  60. CR_STMT_CLOSED = 2056
  61. CR_NEW_STMT_METADATA = 2057
  62. CR_ALREADY_CONNECTED = 2058
  63. CR_AUTH_PLUGIN_CANNOT_LOAD = 2059
  64. CR_DUPLICATE_CONNECTION_ATTR = 2060
  65. CR_AUTH_PLUGIN_ERR = 2061
  66. CR_ERROR_LAST = 2061