673 Commits

Author SHA1 Message Date
c528f503b8 Merge pull request #41 from tiwilliam/test-times
Add tests for times module
2015-05-05 01:07:39 +09:00
7397b0e93c Fix non-valid MySQL dates 2015-05-04 15:27:31 +02:00
f9cc9f8b57 Mock localtime with gmtime for epoch tests 2015-05-03 10:51:28 +02:00
641a2eb5a0 Merge pull request #42 from tiwilliam/cursor-closed-exception
Raise `ProgrammingError` properly when connection is closed
2015-05-03 00:21:09 +09:00
bf470a4f71 Raise ProgrammingError properly when connection is closed 2015-05-01 20:56:16 +02:00
1670adfed2 Revert "Always convert epoch to UTC"
This reverts commit 8efd1d87690f525eae147779888ff144f5edf3e6.
2015-05-01 20:33:34 +02:00
5d47ff4e35 Increase MySQLdb.times coverage to 100% 2015-05-01 19:59:35 +02:00
50c0a3b798 Add coverage report 2015-05-01 19:59:09 +02:00
402016ff03 Drop debug logging from times test 2015-05-01 18:29:55 +02:00
8efd1d8769 Always convert epoch to UTC 2015-05-01 18:26:01 +02:00
f9faf720a3 Set assert time in UTC 2015-05-01 16:45:07 +02:00
66dd2d1511 Use pytest instead of nose 2015-05-01 15:49:57 +02:00
2d5db2e3e0 Add tests for times module 2015-05-01 13:51:29 +02:00
d768ef00e0 Merge pull request #40 from adamchainz/patch-1
connections.py use int not atoi
2015-04-29 03:34:50 +09:00
63a72f5861 connections.py use int not atoi
`atoi` is deprecated since python 2.0 and not in python 3. I guess this code is not being run since `_mysql.c` looks like it always defines `warning_count` anyway, but it should not sit around being python-3-incompatible.
2015-04-28 17:08:07 +01:00
0aa9a5390e Merge pull request #39 from PyMySQL/fix/bit-type
Fix UnicodeError when fetching BIT value on Python 3
2015-04-09 03:36:38 +09:00
04896fc6f5 Treat BIT as binary type. 2015-04-09 03:33:33 +09:00
06905e5e6f Add test for BIT type 2015-04-08 23:02:34 +09:00
375508bd10 Merge pull request #34 from graingert/patch-1
Fix grammar in readme
2015-03-18 02:05:04 +09:00
23653dcc28 Fix grammar in readme 2015-03-17 16:42:49 +00:00
c78360c769 Merge pull request #33 from pilou-/master
missing default value: raise IntegrityError
2015-03-16 14:11:17 +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
072a6cdb22 README: Add how to install/build 2015-03-10 21:45:57 +09:00
d431ac95ac Merge pull request #28 from PyMySQL/fix/py3-iter
Fix SSCursor is not iterator on Python 3
2015-03-06 16:14:11 +09:00
d408114028 Fix SSCursor is not iterator on Python 3 2015-03-06 16:05:33 +09:00
acadc9cd5f 1.3.6 1.3.6 2015-02-25 11:44:52 +09:00
bc6a2ed69d Update HISTORY 2015-02-25 11:42:06 +09:00
a42fe113bf Merge pull request #26 from PyMySQL/feature/cursor-context-manager
Add context manager interface to cursor
2015-02-25 11:38:05 +09:00
1c818f8034 Cursor supports context manager interface 2015-02-25 11:26:39 +09:00
864e27905e Merge pull request #25 from PyMySQL/fix/py33-cursor-leak
Remove BaseCursor.__del__
2015-02-25 04:50:43 +09:00
a5716c33e4 Remove BaseCursor.__del__
Fixes #22 (Uncollectable cursor on Python 3.3)
2015-02-25 03:53:21 +09:00
cac52c9541 Merge pull request #24 from PyMySQL/fix/escape-string
Fix _mysql.escape_string()
2015-02-24 15:00:32 +09:00
fae710dbfc Fix _mysql.escape_string() 2015-02-24 14:53:52 +09:00
0dfce06514 Add test for _mysql.escape_string() 2015-02-24 14:51:34 +09:00
4481bdbd02 1.3.5 1.3.5 2015-02-06 22:08:55 +09:00
eb4432a23a Update HISTORY 2015-02-06 22:06:31 +09:00
59406a9349 Merge pull request #20 from PyMySQL/datetime-format
Don't use datetime.isoformat() when encoding
2015-02-06 21:58:24 +09:00
861a7d3a91 Don't use datetime.isoformat() when encoding 2015-02-06 21:54:59 +09:00
1591760410 Merge pull request #18 from PyMySQL/update-pep-url
Update PEP 249 URL
2015-01-29 15:59:52 +09:00
aaf84230a0 Update PEP 249 URL
Via farcepest/MySQLdb1#94
2015-01-29 15:55:27 +09:00
7c8cc4fba1 Merge pull request #16 from PyMySQL/fix-blob-unicode
Fix some BLOBs without binary flag is not decoded.
2015-01-05 14:51:09 +09:00
7b805a3b8c Use Docker based Travis 2015-01-05 14:49:13 +09:00
e78ce1f8cb Fix some BLOBs without binary flag is not decoded.
Fixes #15
2015-01-05 14:41:51 +09:00
9271c1aed1 Merge pull request #12 from frewsxcv/patch-1
Test on PyPy
2014-11-06 02:28:02 +09:00
1fb0476067 Test on PyPy 2014-11-05 11:43:32 -05:00
e22c506a8d 1.3.4 1.3.4 2014-11-02 18:47:16 +09:00
2e7a9e5c30 Merge pull request #10 from PyMySQL/fix/deadlock-in-dealloc
Don't release GIL in dealloc()
2014-10-26 23:06:15 +09:00
21a91a2ee2 Don't release GIL in dealloc()
Fixes farcepest/MySQLdb1#84
2014-10-24 20:07:23 +09:00
1153287caf Merge pull request #9 from PyMySQL/fix-warnings
Fix warnings while building _mysql.so
2014-10-12 20:48:25 +09:00
e7e3a9b334 Fix warnings while building _mysql.so 2014-10-12 20:45:12 +09:00