Skip to content

Commit 9ae99cd

Browse files
committed
- Documentation fixes
- removed COMMAND constants
1 parent 55ce15a commit 9ae99cd

File tree

4 files changed

+15
-44
lines changed

4 files changed

+15
-44
lines changed

mariadb/constants/CLIENT.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
''' MariaDB client flags
1+
'''
2+
MariaDB client flags (internal use only).
23
34
These flags are used when establishing a connection to a MariaDB
45
database server or to check the capabilities of a MariaDB server.
6+
7+
Client flags are defined in module *mariadb.constants.CLIENT_FLAG*
58
'''
69

710
MYSQL = 1 # MariaDB

mariadb/constants/COMMAND.py

Lines changed: 0 additions & 36 deletions
This file was deleted.

mariadb/constants/FIELD_FLAG.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
"""MariaDB FIELD_FLAG Constants
22
3-
These constants represent the various field flags that are
4-
supported by MariaDB.
3+
These constants represent the various field flags. As an addition
4+
to the DBAPI 2.0 standard (PEP-249) these flags are returned as
5+
eigth element of the cursor description attribute.
6+
7+
Field flags are defined in module *mariadb.constants.FIELD_FLAG*
58
"""
69

710
# Source: mariadb_com.h (MariaDB Connector(C)

mariadb/constants/FIELD_TYPE.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
"""MariaDB FIELD_TYPE Constants
2-
3-
These constants represent the various field types that are
4-
supported by MariaDB.
51
"""
2+
MariaDB FIELD_TYPE Constants
3+
4+
These constants represent the field types supported by MariaDB.
5+
The field type is returned as second element of cursor description attribute.
66
7-
# Source: mariadb_com.h (MariaDB Connector(C)
7+
Field types are defined in module *mariadb.constants.FIELD_TYPE*
8+
"""
89

910
DECIMAL = 0
1011
TINY = 1

0 commit comments

Comments
 (0)