annotate MySQLdb/constants/CLIENT.py @ 0:e48810735f11 MySQLdb

Copying 1.2.1 to be the new trunk
author adustman
date Sun, 02 Apr 2006 18:20:53 +0000
parents
children a275593a1630
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
1 """MySQL CLIENT constants
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
2
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
3 These constants are used when creating the connection. Use bitwise-OR
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
4 (|) to combine options together, and pass them as the client_flags
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
5 parameter to MySQLdb.Connection. For more information on these flags,
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
6 see the MySQL C API documentation for mysql_real_connect().
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
7
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
8 """
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
9
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
10 LONG_PASSWORD = 1
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
11 FOUND_ROWS = 2
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
12 LONG_FLAG = 4
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
13 CONNECT_WITH_DB = 8
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
14 NO_SCHEMA = 16
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
15 COMPRESS = 32
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
16 ODBC = 64
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
17 LOCAL_FILES = 128
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
18 IGNORE_SPACE = 256
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
19 CHANGE_USER = 512
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
20 INTERACTIVE = 1024
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
21 SSL = 2048
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
22 IGNORE_SIGPIPE = 4096
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
23 TRANSACTIONS = 8192 # mysql_com.h was WRONG prior to 3.23.35
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
24 RESERVED = 16384
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
25 SECURE_CONNECTION = 32768
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
26 MULTI_STATEMENTS = 65536
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
27 MULTI_RESULTS = 131072
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
28
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
29