d1197e3f42
Documentation update:
...
- added release notes
- added doctest support
2021-09-08 15:31:03 +02:00
daab5ee987
CONPY-164:
...
Reset array_size before executing statement.
2021-09-07 08:45:41 +02:00
40503a0728
bumped version number
2021-08-22 11:33:18 +02:00
7f469a3f26
CONPY-161:
...
The following attributes were added:
1) mariadb.client_version
Returns the version of MariaDB Connector/C library as an integer
2) mariadb.client_version_info
Returns the version of MariaDB Connector/C library as tuple
2021-08-22 11:19:05 +02:00
5a61845920
Fix for CONPY-161:
...
Since resolution of time.monotonic() is not precise enough, we need to use
first connection in ConnectionPool.get_connection() method, in case all
values obtained by time.monotonic() are the same.
2021-08-22 09:49:19 +02:00
9d472c2596
Fix for CONPY-159:
...
Insted of parsing a short int (16 bits, "h" option in PyArg_ParseTuple) we need
to parse 32bit option "i"
2021-08-22 08:09:52 +02:00
b38f336c86
Fix for CONPY-160:
...
ConnectionPool attribute connection count returned list instead
of len(list).
2021-08-22 06:54:19 +02:00
aa6edc38cb
Updated documentation
2021-08-21 18:09:48 +02:00
2ec4130bbe
bump version number
2021-08-21 08:21:08 +02:00
18b81fd282
Documentation fixes
v1.1.0a1
2021-08-18 07:19:48 +02:00
2e7dcde73b
Removed converter from C Code
2021-08-16 10:41:07 +02:00
307046ba6f
Removed unused MemberDefs from connection
2021-08-16 10:12:41 +02:00
445f3bceec
Documentation update:
...
Removed DOCSTR from c code, property documentation
was moved to python code
2021-08-16 10:11:46 +02:00
3fbe0e35d4
removed newline from end of file
2021-08-16 10:11:24 +02:00
aaf501183c
gitignore update
...
Exclude build and dist folders
2021-08-16 10:10:22 +02:00
7494e2baa4
Documentation fixes and update
2021-08-16 10:09:45 +02:00
6bbe0260a7
Moved MemberDef properties
...
Mostly all properties moved to Python code
2021-08-16 10:08:15 +02:00
1ab9f833bf
Test fix:
...
When connected against MySQL or MariaDB < 10.2 server
we need to skip tests which use INDICATOR variables,
since they can't be used in mysql_stmt_execute() C API
function.
2021-08-16 09:32:32 +02:00
fc32956109
Check server capabilities at the beginning of function
2021-08-16 09:29:55 +02:00
d3d1cfc482
Fixed rowcount for executemany() when connected
...
to a MySQL database server.
2021-08-16 09:28:32 +02:00
a614b9f6f6
Fixed a previous copy/paste error
2021-08-05 10:09:12 +02:00
879744926b
Raise exception if number of parameter doesn't match.
2021-08-05 09:57:09 +02:00
1d201f10e3
Removed refrence decrement in tuple construct.
2021-08-05 08:52:32 +02:00
9ac0551ed1
Default mode for cursor changed:
...
Due to several incompatibilites (but also MDEV-23768, where errors
can't be triggered in unbuffered) we decided to switch the default
mode for cursor class for buffered from False to True.
2021-08-05 08:32:20 +02:00
8cd33d55c1
Fixed memory leak in parser
2021-08-03 11:31:31 +02:00
cb0c3c8f5a
Documentation update
2021-08-01 11:29:22 +02:00
b3713fd588
initialization fixes
2021-08-01 11:16:19 +02:00
47ca11d921
Documentation update
2021-08-01 10:31:10 +02:00
ebb09cf56e
Documentation
2021-07-28 06:55:10 +02:00
5a81686f4c
Documentation work
2021-07-26 06:54:38 +02:00
6c6e1005eb
remove commit/rollback from c code
2021-07-23 11:07:43 +02:00
ea97f66769
connection class:
...
moved kill method to python class
2021-07-22 16:06:27 +02:00
5870f5d4d7
cursor:
...
added keyword quote_sequences (default=true)
connection:
moved tpc functions to native python
moved autocommit to native python
2021-07-22 14:15:53 +02:00
2bd40ca1de
Test fixes
2021-07-18 18:16:38 +02:00
8ee02ac7e3
Cursor fixes for execute, implemented execute_direct
2021-07-14 22:14:52 +02:00
c8a9f50712
Updated required minimum version
...
of Connector&C (3.2.4)
2021-07-12 10:52:02 +02:00
84df56ce40
connection and cursor class are now written in
...
native python
2021-07-12 09:46:05 +02:00
27730cd018
Moved more methods and propertys from C to Python code
2021-03-21 22:44:42 +01:00
1299be5031
fixed typo
2021-01-18 06:41:15 +01:00
1f084d112f
disable pooling until tests are ready
2021-01-18 06:39:05 +01:00
b5936a9d02
Added new class Pool
2021-01-18 06:37:09 +01:00
aa65cc853a
Exchanged C written connection pool class by native python class.
2021-01-18 06:11:03 +01:00
2ce8f2cf2f
Added missing dbapi20.py
2020-12-02 10:41:29 +01:00
feb990db4e
Moved DBAPI 2.0 Date/Time/Timestamp constructors from C code to Python module dpapi20.py
2020-12-01 20:59:27 +01:00
a2b3e98104
Replaced Mrdb_Fieldinfo by python fieldinfo class
2020-12-01 08:28:01 +01:00
7df428ecf8
Moved Objects from c to python code
...
Indicator, BINARY, NUMBER, STRING and DATE objects were moved
to python code
2020-11-30 16:49:16 +01:00
e8d7854fef
codespell typo fixes
2020-11-25 13:44:18 +01:00
ba6af78f6e
Fixed travis link for build status
2020-11-25 13:16:51 +01:00
8a9ab456d8
bumped version number
2020-11-24 18:37:52 +01:00
5718305c3b
Windows build fix
v1.0.5
2020-11-24 15:54:15 +01:00