Commit Graph

11 Commits

Author SHA1 Message Date
8138eb9ebf test fixes 2019-12-05 11:05:13 +01:00
6c8fec31f5 Merge branch 'master' into tests 2019-12-04 15:48:47 +01:00
8bf252408c [misc] set plugin path at compile time
- connection plugin_dir possible parameter
- correction for error occurring in connection initialization
2019-12-04 10:43:12 +01:00
e218d19060 CONPY-31: Implement callproc method
Input/Output or Output parameters have to be retrieved by .fetch methods,
  the .sp_outparams attribute indicates if the result set contains output
  parameters.
2019-12-03 20:18:38 +01:00
a169c3949d [misc] various change
- correct tests according to server/maxscale, and multiple python version
  - Cpython (3.6.0, 3.8.0) pypy (3.6-7.2.0), miniconda3-4.3.30
- add scroll test
- benchmark added to test suite. See benchmarks/README.md for info
- cursor.scroll now permit position 0 when using absolute mode
- return Cursor.rownumber None if no result-set, not 0
- exception missing type sqlstate and according tests
2019-11-29 12:13:05 +01:00
89ea56d668 Implementation of CONPY-29: Support format and pyformat paramstyle
While the default paramstyle is still 'qmark', MariaDB Connector/Python
now also supports the paramstyles 'format' and 'pyformat'. The paramstyles
can't be mixed.
2019-11-14 09:21:57 +01:00
a4648e992c Implemented CONPY-27: support prepared for cursor
Fixed line endings (dos2unix)
2019-11-13 11:45:02 +01:00
1b75fa2e7d Merge branch 'master' of https://github.com/MariaDB/mariadb-connector-python 2019-11-12 11:13:08 +01:00
ea79edcd6e [misc] correcting charset missing format identifier 2019-11-06 17:20:16 +01:00
11976139d4 [misc] python standard formatting 2019-11-06 15:13:56 +01:00
496f541fe1 [misc] Testing improvement
* adding file encoding
* test file renamed with test_ prefix permitting unittest discovery
* test configuration using dict using environment data for futur CI testing
* test correction (using table t1) permitting unittest parallel testing
now tests can be run using `python -m unittest -v`
or for python 2 `python -m unittest discover -v`
2019-11-06 15:10:12 +01:00