- Result sets
Convert named_tuple and dictinuary result sets directly from netbuffer,
instead to fetch them in tuples and convert it afterwards
- fetch rows()
Use MrdbCursor_fetchrows() c function for fetchmany/fetchall.
If a bulk operation is executed and the statement doesn't need to
be reprepared, only array size has to be updated, since setting
the number of parameters (STMT_ATTR_PREBIND_PARAMS) will reset the
statement in Connector/C.
Fixed various coding style stuff detected by flake8.
Added .pre-commit-config.yaml:
With command pre_commit install a hook for flake8 will be
installed.
Since CLIENT constants can be used to determine both server
and client capabilities we use now CAPABILITY constants
instead.
CLIENT constants were marked as deprecated in documentation
and will be removed in 2.0 release
The default settiing for buffered in cursors.execute() method has
to be None:
- if not specified, it will use cursor defaults
- if specified, the default behavior of cursor will be changed
Due to an error in versioning first alpha versions, they were uploaded
as 1.1.0 and 1.1.1 and afterwards removed. Since we can't reuse the
same version number - we need to set it to 1.1.2
- removed utf8 part of parser, instead we use python binary
object for parameter substituton (text mode)
- removed memory leaks
- fixed crash when reusing cursor with different number of
placeholders
Since SQLALchemy test suite checks for the word
'Invalid' we changed the error message for closed
connections back to "Invalid connection or not connected"
- All parameter exceptions are now ProgrammingErrors
- A dictionary now might contain more keys than
placeholders in statement
- Fixed unhandled exception when using dictionary as parameter