802 Commits

Author SHA1 Message Date
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
354dcb59e2 Allow bulk insert which no space around VALUES (#179) 2017-06-15 09:06:46 +09:00
1693848c9f Fix compile error with MariaDB 10.2. (#177)
Don't touch MYSQL.reconnect directly.
2017-06-07 15:46:20 +09:00
f96cb44ef1 Add NEWDECIMAL to the NUMBER DBAPISet (#167) 2017-04-30 02:24:09 +09:00
bb07f701f5 include LICENSE in source tarball
GPL-2.0 was removed in b6601fef9efff4786671bb2ecb99ee40d716d1aa
2017-03-07 19:05:05 +09:00
2b6123e236 Allow semicolon at the end of bulk insert query 2017-03-03 01:19:53 +09:00
948def48bd 1.3.10 1.3.10 2017-02-20 17:49:47 +09:00
31337c4b63 nose is not used now 2017-02-20 17:44:12 +09:00
c56146d137 Add suffix to HISTORY and INSTALL 2017-02-20 17:20:34 +09:00
682dfa2b35 Add HISTORY for Python 1.3.10 2017-02-20 17:18:59 +09:00
8fcd2c5b7d Use surrogateescape normally on Python 3.6 2017-02-20 17:12:47 +09:00
118861f8cb deprecate Connection.__enter__ 2017-02-20 17:02:20 +09:00
d587e81a7f codecov 2017-02-19 20:59:39 +09:00
2c0485f246 travis: use sudo-enabled trusty for now
Random fail happens on container based image.
2017-02-19 20:52:03 +09:00
cbc991ec2c travis: fix erros
* set mysql password
* add mysql to services
2017-02-19 20:40:16 +09:00
97e18a1ea1 stop using tox. 2017-02-19 20:11:49 +09:00
cba486e043 Use _binary prefix for bytes/bytearray parameters (#140)
- Based on #106 but now disabled by default
- Can be enabled via 'binary_prefix' connection parameter
- Added unit tests to verify behaviour
2017-02-10 20:36:41 +09:00
50a81b1783 adding requirement for Mac OS (#143)
using homebrew
2017-01-26 17:37:19 +09:00
2feb5ed685 reduce IS_PY3K usage 2017-01-04 21:46:39 +09:00
c30c15f239 Merge pull request #138 from methane/fix/result-typecheck
Add typecheck to `_mysql.result()`
2017-01-04 21:41:38 +09:00
10c6f9f767 Add typecheck for _mysql.result()
fixes #137
2017-01-04 21:37:24 +09:00
d16ced645f Add test for PyMySQL/mysqlclient-python#137 2017-01-04 21:34:02 +09:00
4050c747e5 Fix some typos in HISTORY (#129) 2016-10-12 19:08:57 +09:00
42b68a43f7 Use Python 3.6-dev 2016-10-11 16:31:29 +09:00
74f7770b71 1.3.9 1.3.9 2016-09-30 21:33:46 +09:00
d2ee516e2c Update HISTORY 2016-09-30 21:33:20 +09:00
490080ac79 Revert "Use _binary prefix for bytes/bytearray parameters" 2016-09-30 21:31:34 +09:00
387c350188 Fix compile error on MSVC compiler.
fixes #121
2016-09-30 15:50:10 +09:00
d8b4d34874 1.3.8 1.3.8 2016-09-29 20:33:13 +09:00
7a402995c0 Update HISTORY 2016-09-29 18:45:44 +09:00
fe94467312 Add basic Makefile 2016-09-29 17:20:58 +09:00