33 Commits

Author SHA1 Message Date
98bec5fb8c fixup 2015-11-05 03:38:13 +09:00
b07937487d Don't fetch warnings when there is next result
Fixes #48
2015-10-12 02:29:06 +09:00
8c090157b7 Check after mysql_store_result propery
fixes #51
2015-10-11 20:09:17 +09:00
d4ef92d43a Adding FIELD_TYPE_GEOMETRY as binary type fixes the issue of the UnicodeDecodeError and makes geometry types usable. 2015-07-21 21:50:46 +02:00
04896fc6f5 Treat BIT as binary type. 2015-04-09 03:33:33 +09:00
57348117f3 missing default value: raise IntegrityError
instead of OperationalError

Follow Python DB API 2.0:
http://legacy.python.org/dev/peps/pep-0249/#integrityerror

Initially reported here:
https://sourceforge.net/p/mysql-python/bugs/336/
2015-03-16 02:03:09 +01:00
fae710dbfc Fix _mysql.escape_string() 2015-02-24 14:53:52 +09:00
21a91a2ee2 Don't release GIL in dealloc()
Fixes farcepest/MySQLdb1#84
2014-10-24 20:07:23 +09:00
e7e3a9b334 Fix warnings while building _mysql.so 2014-10-12 20:45:12 +09:00
0b9a5b09e0 Fix build error when using libmariadbclient.
Fixes farcepest/MySQLdb1#80
2014-10-11 22:37:27 +09:00
5ba60802c7 Add low level APIs for semi-async query. 2014-07-03 14:26:38 +09:00
f1608b7097 Fix compilation error on Windows. 2014-04-28 15:37:12 +09:00
bc5c25e9f9 Merge remote-tracking branch 'mysqldb/python3'
Conflicts:
	README.md
2014-04-28 14:18:03 +09:00
63df97dc05 Support MySQL-Connector/C 6.1 for Windows. 2014-04-28 11:11:49 +09:00
af18cc9c08 Remove pymemcompat.h 2014-04-18 22:59:30 +09:00
5a66f79f10 Fix segfault on Python 2. 2014-04-18 11:50:58 +09:00
e8c1ebb5b7 Call decoders with unicode when field is not str and bytes. 2014-04-18 03:42:11 +09:00
b5780d29c9 self of module-level function is not NULL on Python 3. 2014-04-18 01:11:47 +09:00
9cdef719a6 More fix 2014-04-17 19:50:42 +09:00
acc984c247 Fix escaping.
escape_string() -- only accepts bytes
string_literal() -- Use ASCII to encode str(o)
2014-04-17 19:41:01 +09:00
c4d8948449 Remove more macros for ancient Python. 2014-04-17 01:13:43 +09:00
2556226b3e Cleanup
Remove macros for Python <2.6
2014-04-17 01:05:38 +09:00
80f5a4a66f Fix segfault on Python 2. 2014-04-17 00:44:43 +09:00
690e5e9325 Fix getattr on result object. 2014-04-16 23:33:17 +09:00
8b8444fd89 Fix memory corruption on Python 3. 2014-04-16 23:29:05 +09:00
5fc7131cc0 Some Python 3 C-API fixes. 2014-04-16 22:31:48 +09:00
d236bb7f6b Merge pull request #26 from chipturner/master
Extend read_timeout support to also include write_timeouts
2013-11-21 12:00:56 -08:00
3dbf035fa5 More precise get_autocommit based on server_status. 2013-10-02 02:10:02 +09:00
7e73533dd9 Extend read_timeout support to also include write_timeouts 2013-08-23 13:10:07 -07:00
369810dff7 PyPy fixes, and probably some reference issues for CPython too.
Derived from a patch at https://bitbucket.org/pypy/compatibility/wiki/edit/mysql-python
2012-10-17 18:30:19 -04:00
fc0c03aaae Misplaced conditional comma. Fixes issue #6. 2012-10-11 09:50:33 -04:00
119b6b2c97 Merge with jeansch/master 2012-10-04 14:32:06 -04:00
7a846cf5e3 Allow pip install from git
Merged with modifications from a815269010
2012-10-04 13:34:39 -04:00