CLIENT.py 696 B

1234567891011121314151617181920212223242526272829
  1. """MySQL CLIENT constants
  2. These constants are used when creating the connection. Use bitwise-OR
  3. (|) to combine options together, and pass them as the client_flags
  4. parameter to MySQLdb.Connection. For more information on these flags,
  5. see the MySQL C API documentation for mysql_real_connect().
  6. """
  7. LONG_PASSWORD = 1
  8. FOUND_ROWS = 2
  9. LONG_FLAG = 4
  10. CONNECT_WITH_DB = 8
  11. NO_SCHEMA = 16
  12. COMPRESS = 32
  13. ODBC = 64
  14. LOCAL_FILES = 128
  15. IGNORE_SPACE = 256
  16. CHANGE_USER = 512
  17. INTERACTIVE = 1024
  18. SSL = 2048
  19. IGNORE_SIGPIPE = 4096
  20. TRANSACTIONS = 8192 # mysql_com.h was WRONG prior to 3.23.35
  21. RESERVED = 16384
  22. SECURE_CONNECTION = 32768
  23. MULTI_STATEMENTS = 65536
  24. MULTI_RESULTS = 131072