Commit Graph

755 Commits

Author SHA1 Message Date
INADA Naoki
d8b4d34874 1.3.8 1.3.8 2016-09-29 20:33:13 +09:00
INADA Naoki
7a402995c0 Update HISTORY 2016-09-29 18:45:44 +09:00
INADA Naoki
fe94467312 Add basic Makefile 2016-09-29 17:20:58 +09:00
INADA Naoki
4202f611df Don't use mysql_real_escape_string_quote on MariaDB (#115) 2016-09-12 07:50:05 +09:00
INADA Naoki
4d5848ea9a Add test for Python 3.6 (#116) 2016-09-12 07:49:51 +09:00
Ville Skyttä
dd9929c0e7 Update error constants (#113)
* Add CR and ER main methods for updating from connector-c headers
* Sync CR and ER with MySQL/MariaDB connector C 6.1.6/2.3.1
2016-09-12 06:34:25 +09:00
Ville Skyttä
db1bb2ccb1 Spelling fixes (#112) 2016-09-12 06:31:28 +09:00
Vilnis Termanis
2617620e27 Use _binary prefix for bytes/bytearray parameters (#106) 2016-09-11 19:55:34 +09:00
INADA Naoki
269d3208ff MySQL Connector/C 6.1.6 doesn't have mysql_real_escape_string_quote (#111)
While it's MYSQL_VERSION_ID is 50706 and MySQL 5.7.6 has it.
Since MySQL 5.7.6 is old milestone version, just drop supporting it.

fixes #110
2016-09-06 14:00:12 +09:00
INADA Naoki
4b39e93eb4 Use mysql_real_escape_string_quote() if exists (#109) 2016-09-05 01:31:37 +09:00
INADA Naoki
a83baad1d0 Use mysql_real_escape_string_quote() if exists. 2016-09-05 01:16:12 +09:00
INADA Naoki
05fbc500d1 Always MYSQL_VERSION_ID >= 50007 2016-09-05 01:05:12 +09:00
INADA Naoki
19ad21179c Remove unused import from sample code
fixes #107
2016-08-31 16:20:36 +09:00
INADA Naoki
7431683307 Merge pull request #101 from vtermanis/warning_args
Warning propagation improvements
2016-07-28 18:59:00 +09:00
Woo-Jing, Seok
c7d2168939 add surrogate escape for callproc and test case for that (#104) 2016-07-28 18:49:52 +09:00
Vilnis Termanis
ad935e4ba8 Warning propagation improvements 2016-07-26 18:43:35 +01:00
INADA Naoki
fb842fbdd5 Use METH_NOARGS (#103) 2016-07-27 01:49:06 +09:00
INADA Naoki
8c219d9261 Merge pull request #100 from methane/mysql-affected-rows-error
mysql_affected_rows may return -1
2016-07-25 12:25:02 +09:00
INADA Naoki
ac1fb2dddd mysql_affected_rows may return -1 2016-07-25 03:55:38 +09:00
INADA Naoki
f2ab098af4 Merge pull request #96 from scop/links
Doc and comment link fixes
2016-07-07 02:39:20 +09:00
Ville Skyttä
0f6e5d7ddf Doc and comment link fixes 2016-07-06 16:32:31 +03:00
INADA Naoki
68181ed7c2 Merge pull request #91 from jinto/patch-1
unicode string in argument of string raises error
2016-06-28 21:59:45 +09:00
INADA Naoki
66029d6406 Support 'database' and 'password' kwargs 2016-06-28 17:36:57 +09:00
INADA Naoki
d505521313 Merge pull request #93 from methane/cursor-connections
Cursor.connection is real reference
2016-06-14 20:09:31 +09:00
INADA Naoki
06f2b66598 Cursor.connection is real reference 2016-06-14 18:01:46 +09:00
jay park
ee6ad1ccf4 unicode string in argument of string raises error
Hi, I've got  'surrogates not allowed' error when I put unicode string into stored procedure's argument.
This is pr for the issue.

cf: https://github.com/PyMySQL/mysqlclient-python/issues/90 .
2016-06-09 02:43:00 +09:00
INADA Naoki
ae9d6f8ccb Merge pull request #89 from adamchainz/readthedocs.io
Convert readthedocs link for their .org -> .io migration for hosted projects
2016-05-29 23:17:04 +09:00
Adam Chainz
3998e7b0ff Convert readthedocs link for their .org -> .io migration for hosted projects
As per their email ‘Changes to project subdomains’:

> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.

Test Plan: Manually visited all the links I’ve modified.
2016-05-29 14:47:42 +01:00
INADA Naoki
2601312e5d Merge pull request #88 from mmontagna/master
Fix readme spelling and grammar.
2016-05-24 08:28:21 +09:00
Marco Montagna
9e3ca789dc Fix readme spelling and grammar. 2016-05-23 15:54:35 -07:00
INADA Naoki
11febbd637 Merge pull request #87 from scop/assertequal
Use assertEqual instead of deprecated assertEquals
2016-05-16 14:18:56 +09:00
Ville Skyttä
6079889e51 Use assertEqual instead of deprecated assertEquals 2016-05-16 08:12:21 +03:00
INADA Naoki
42c2b22f21 Merge pull request #85 from methane/fix/ssl-dangling-pointer
Fix accessing buffer of decrefed string
2016-05-12 10:28:53 +09:00
INADA Naoki
012e91a03a Fix accessing buffer of decrefed string
fixes #78
2016-05-12 10:25:15 +09:00
INADA Naoki
9657ee06d5 Merge pull request #84 from graingert/revert-61-patch-4
Revert "cache pip correctly"
2016-05-11 19:05:16 +09:00
Thomas Grainger
a4b8f8c9b8 Revert "cache pip correctly" 2016-05-11 10:54:58 +01:00
INADA Naoki
c3318e8290 Merge pull request #83 from methane/fix/executemany-double-percent
Port executemany() implementation from PyMySQL
2016-05-11 18:41:53 +09:00
INADA Naoki
57dd34dc10 fixup 2016-05-11 18:21:49 +09:00
INADA Naoki
49e401b3bc Port executemany() implementation from PyMySQL 2016-05-11 12:35:00 +09:00
INADA Naoki
e76b691d9e Remove mention to dead link 2016-02-25 19:09:53 +09:00
INADA Naoki
b6601fef9e Remove duplicated license file 2016-01-12 15:12:46 +09:00
INADA Naoki
2511c7e92b Merge pull request #69 from methane/feature/faster-surrogateescape
faster surrogateescape
2016-01-12 01:24:10 +09:00
INADA Naoki
6ff138a597 faster surrogateescape 2016-01-12 01:17:01 +09:00
INADA Naoki
5d91470b0f Merge pull request #68 from angieellis/master
PY3: Warning should be str
2016-01-09 12:20:24 +09:00
aellis
ae99670a08 fixing byte strings for python 3
cleanup

validate python 3 version for decode
2016-01-06 21:07:06 -05:00
INADA Naoki
22455e5a32 update doc 2015-12-13 23:20:10 +09:00
INADA Naoki
93f6f02649 Merge pull request #60 from graingert/patch-3
parallelise tox
2015-11-26 20:32:31 +09:00
Thomas Grainger
32b1b97d88 parallelise tox 2015-11-26 10:07:11 +00:00
INADA Naoki
c4b69c1e80 Merge pull request #61 from graingert/patch-4
cache pip correctly
2015-11-26 17:02:12 +09:00
INADA Naoki
3dd7535fe4 Merge pull request #62 from graingert/patch-5
Add documentation link
2015-11-26 16:55:14 +09:00