21170a7639
Deprecate waiter ( #285 )
2018-11-05 21:28:05 +09:00
5376426494
Return OperationalError for closed connection ( #276 )
...
libmysqlclient returns CR_SERVER_GONE_ERROR(2006) when using
closed connection. But libmariadbclient cause SEGV.
For compatibility, emulate CR_SERVER_GONE_ERROR manually.
Ref: GH-270
2018-11-05 21:05:29 +09:00
413d3da22e
Update .travis.yml
...
* Test with Python 3.7
* Use xenial
2018-11-05 20:55:16 +09:00
e7fddaea24
Clear cursor._query before query() ( #283 )
2018-11-05 20:48:43 +09:00
abcc4681fb
Update INSTALL.rst ( #281 )
2018-11-02 20:42:12 +09:00
9fb618806b
Fix Connection.client_flag ( #266 )
2018-10-23 19:04:18 +09:00
09018914e1
Use shorter format for float converter ( #273 )
2018-10-23 18:38:50 +09:00
777b74f53e
Fix formatting and typo in user_guide.rst ( #274 )
2018-10-23 16:16:52 +09:00
4a4978d6b1
Add missing checks for connection before calling mysql APIs ( #272 )
...
Fixes #270
2018-10-22 21:26:57 +09:00
54c69436f4
Add Connection._get_native_connection
...
Private API for XTA [1] project.
[1]: http://www.tiian.org/lixa/XTA.html
2018-10-20 12:20:44 +09:00
68b9662918
Add Decimal converter ( #267 )
2018-10-19 19:51:36 +09:00
3d4d286a10
Fixed float converter ( #268 )
...
Use exponential notation always to MySQL treat it as float, not decimal.
Use enough precision for round-trip value.
2018-10-19 19:50:23 +09:00
cfff0175ba
Handle mariadb static library called mariadbclient.a ( #265 )
2018-10-02 14:04:51 +09:00
3de469db63
1.3.13
1.3.13
2018-06-27 20:27:54 +09:00
99c1eea578
Use c++ for static link ( #243 )
2018-06-27 19:47:03 +09:00
92cd532893
use metapackage for libmysqlclient-dev ( #245 )
...
libmysqliclient-dev package isn't available in Debian (Stretch) anymore.
It's better to use metapackage for installation because it is available
in Ubuntu and Debian.
2018-05-31 17:38:54 +09:00
fccd022ad7
Use pytest instead of py.test ( #240 )
...
http://blog.pytest.org/2016/whats-new-in-pytest-30/
2018-05-18 14:52:52 +09:00
8bd19500c6
Spelling and grammar fixes ( #241 )
2018-05-18 14:35:21 +09:00
1a379c446c
Add percona client support and --static option
2018-05-16 15:23:22 +09:00
50fa27df5c
Add optional --static flag to customize _mysql.so at install time
2018-05-15 22:35:53 -07:00
cacd5d0398
revert back to non-static linking by default
2018-05-15 18:19:26 -07:00
46805facbc
Change default build option to use static linking for the
...
MySQL client library, and support perconaserverclient as a
valid link target.
2018-05-15 17:37:58 -07:00
07f4739d97
Spelling and grammar fixes
2018-05-15 22:04:10 +02:00
0ce8ed205d
Use pytest instead of py.test per upstream recommendation, #dropthedot
...
http://blog.pytest.org/2016/whats-new-in-pytest-30/
https://twitter.com/hashtag/dropthedot
2018-05-15 22:00:54 +02:00
cddc375bbe
doc: grammar fix. ( #228 )
2018-03-23 02:34:49 +09:00
f95cfc09f6
typo/grammar fix
...
Changes "cursor execute" to "cursor executes" on line 388.
2018-03-22 09:29:27 -07:00
9178048a16
Reduce callproc roundtrip time ( #223 )
...
Make only one single call to SET variables used as procedure parameters
2018-03-15 18:55:40 +09:00
f2f94dcdde
Update cursors.py
2018-03-15 18:44:22 +09:00
1f8bd5361e
Reduce callproc roundtrip time
...
- Make only one single call to SET variables used as procedure parameters
2018-01-20 17:40:38 +00:00
a2ebbd2073
Use _Bool only for MySQL 8
2017-12-21 20:09:58 +09:00
1ea5d01db8
my_bool is removed from MySQL 8
...
Fixed #218
2017-12-21 19:16:24 +09:00
b10ecd0b46
Remove broken row_seek() and row_tell() ( #220 )
...
They are broken from long ago and making them safe is difficult.
So remove them rather than fix.
2017-12-21 18:48:50 +09:00
d65e10e356
Add note about annoying MySQL Connector bug. ( #212 )
2017-12-21 18:41:31 +09:00
b948553229
simplify memory management of the conv dictionary
...
In ResultObject_Initialize, always borrow the conv dictionary from the
caller. This simplifies the code, removes an allocation, and fixes ref
leaks in error cases.
2017-12-21 18:26:28 +09:00
73ccdcdddf
Fix decoding tiny/medium/long blobs ( #215 )
2017-12-14 17:30:29 +09:00
2996f9bebc
1.3.12
1.3.12
2017-09-02 02:40:15 +09:00
46e5581238
Update HISTORY
2017-09-02 02:39:45 +09:00
1a9874b340
raise InterfaceError when mysql_errno() returns 0 ( #203 )
2017-09-02 01:50:16 +09:00
bab17ed504
remove extra parameter ( #201 )
...
This produced the error `TypeError: _tuple_literal() missing 1 required positional argument: 'd'` on line 316.
2017-09-02 01:39:41 +09:00
71e15b1b3b
1.3.11
1.3.11
2017-09-01 10:54:36 +09:00
6058715077
Fix compile with MariaDB 10.2.8 ( #200 )
2017-08-31 10:53:55 +09:00
823e56a4b2
1.3.11c1
2017-08-30 18:51:07 +09:00
bfefd34bc1
update HISTORY
2017-08-30 18:49:49 +09:00
ca4317a6b5
Fix encoding tuple argument ( #155 )
...
Since Connections.encoders is broken by design.
Tuple and list is escaped directly in `Connection.literal()`.
Removed tuple and list from converters mapping.
Fixes #145
2017-08-30 18:49:02 +09:00
e39df07f29
Fix docstring for use_unicode type
2017-08-29 18:16:15 +09:00
92706a7dc7
1.3.11
2017-08-29 16:33:55 +09:00
ca41a647cb
remove include "my_config.h". ( #198 )
...
fixes #197
2017-08-28 22:35:27 +09:00
32ae0403d6
add ISSUE_TEMPLATE
2017-07-06 22:31:52 +09:00
1a10d0e4fc
Support error numbers > CR_MAX_ERROR ( #188 )
...
fixes #187
2017-06-27 12:10:11 +09:00
f41e651e28
fix leak of connection->converter. ( #182 )
2017-06-16 16:58:59 +09:00