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