annotate MySQLdb/constants/CLIENT.py @ 15:a275593a1630 MySQLdb

More doc fixes
author adustman
date Mon, 26 Feb 2007 18:59:22 +0000
parents e48810735f11
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
a275593a1630 More doc fixes
adustman
parents: 0
diff changeset
1 """
a275593a1630 More doc fixes
adustman
parents: 0
diff changeset
2 MySQL CLIENT constants
a275593a1630 More doc fixes
adustman
parents: 0
diff changeset
3 ----------------------
0
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
4
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
5 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
6 (|) 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
7 parameter to MySQLdb.Connection. For more information on these flags,
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
8 see the MySQL C API documentation for mysql_real_connect().
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
9 """
15
a275593a1630 More doc fixes
adustman
parents: 0
diff changeset
10 __revision__ = "$Revision$"[11:-2]
a275593a1630 More doc fixes
adustman
parents: 0
diff changeset
11 __author__ = "$Author$"[9:-2]
0
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
12
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
13 LONG_PASSWORD = 1
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
14 FOUND_ROWS = 2
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
15 LONG_FLAG = 4
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
16 CONNECT_WITH_DB = 8
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
17 NO_SCHEMA = 16
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
18 COMPRESS = 32
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
19 ODBC = 64
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
20 LOCAL_FILES = 128
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
21 IGNORE_SPACE = 256
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
22 CHANGE_USER = 512
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
23 INTERACTIVE = 1024
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
24 SSL = 2048
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
25 IGNORE_SIGPIPE = 4096
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
26 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
27 RESERVED = 16384
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
28 SECURE_CONNECTION = 32768
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
29 MULTI_STATEMENTS = 65536
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
30 MULTI_RESULTS = 131072
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
31
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
32