Commit Graph

573 Commits

Author SHA1 Message Date
ae8020d709 Instead of storing pickled objects in a dynamic column, we store them
directly in BLOB. They will be identified in function mariadb_get_pickled()
under the following conditions:
- First two bytes must be 0x8003
- Last byte must be 0x2E
- the depickling call must return a valid (not NULL) object.
2018-07-20 17:03:39 +02:00
5994af2465 Objects with non corresponding database types (like tuple, list, ordereddict, set, ...) are now serialized (pickled) and stored in a dynamic column with key "pickle". 2018-07-20 13:23:22 +02:00
8dfc01cb65 Added support for PySet 2018-07-19 11:30:03 +02:00
d6f824ac65 Added documentation for Exceptions 2018-07-19 10:23:01 +02:00
568c4c72b6 code comments 2018-07-19 09:06:18 +02:00
9978c84a8c Use prepare and execute instead of execute_direct if server version is < 10.2.6 2018-07-16 15:54:52 +02:00
18177c1e4c Added connection attributes
- server_name
- server_port
- user
- tls_cipher
- tls_version
- character_set
- collation
- unix_socket
- connection_id
2018-07-16 09:44:34 +02:00
fbfca48e0e Added support for indicators (executemany):
mariadb.indicator_null,
  mariadb.indicator_default,
  mariadb.indictor.ignore
Added support for Tuple and list objects:
  List and Tuple will be stored as blob in a dynamic column
2018-07-15 10:00:20 +02:00
c3a3da377f Fixed cursor.py test
Added Py_BEGIN/END_ALLOW_THREAD macros for io bound mysql/mariadb calls
2018-07-09 15:04:44 +02:00
5c0e659c9a - Added two phase commit support 2018-07-08 16:38:56 +02:00
e3d5db1298 reverted callback function change:
If a NULL value is passed for row, we set the field to PyNone.
2018-07-05 17:24:28 +02:00
24f4cc76de Added exception sets for connection object 2018-07-05 17:06:27 +02:00
9606a94eb4 Added
Binary
  Date
  Time
  Timestamp
  Changed description() to description (attribute instead of method)
2018-07-05 13:35:45 +02:00
0afadf0ca6 Changed submodule 2018-07-03 10:16:23 +02:00
98656a3e3c Removed broken submodule 2018-07-03 10:08:30 +02:00
0915fcb710 Added required DB API 2.0 (PEP-249) methods
- mariadb.DateFromTicks
- mariadb.TimeFromTicks
- mariadb.TimestampFromTicks
2018-07-03 09:10:26 +02:00
63cc34a229 Added dbapitype class 2018-07-03 06:42:08 +02:00
02048b994f - Minor fixes
- Added support for named tuple results for fetch operations
2018-06-30 17:34:53 +02:00
2f86da2122 tests and minor fixes for rowcount 2018-06-28 17:41:54 +02:00
d308e38495 Create path for Connector/C build 2018-06-27 18:30:01 +02:00
3b45ecd658 Submodule initialization 2018-06-27 18:22:05 +02:00
be210d57be First version 2018-06-27 15:22:10 +02:00
3043acde6b Initial commit 2018-06-19 18:17:32 +02:00