Commit Graph

525 Commits

Author SHA1 Message Date
Andy Dustman
a7c3ce49fc Merge pull request #38 from olive-oasis/master
microsecond-bug-fix for datetime.datetime
2013-11-21 11:46:46 -08:00
Jinuk
fb1c79d85a microsecond-bug-fix
When the MySQL Datetime Fraction is less than 6, microseconds set
incorrectly. For example, you set the field, Datetime(3). Then this
library read the time `2013-11-07 10:27:35.705` as `2013-11-08
10:27:35.000705`.
2013-11-08 12:18:55 +09:00
jinuk84.kim
100485f627 microsecond-bug-fix for datetime.datetime 2013-11-08 11:51:31 +09:00
Andy Dustman
c8b2744ea2 Merge pull request #12 from KLab/autocommit_on
Support keyword argument to initially autocommit=on
2013-08-18 14:22:40 -07:00
Andy Dustman
39406ea3e0 Merge pull request #25 from tyzhnenko/microsecond-bug-fix
Fix problem in Datetime with microsecond returns (Issue #24)
2013-08-18 14:21:12 -07:00
Andy Dustman
563ed10733 Merge pull request #18 from tseaver/do_not_force_distribute
If setuptools is importable, don't force use of 'distribute'.
2013-08-18 14:19:53 -07:00
Dima Tyzhnenko
0226f1a727 Fix problem with return None if Datetime field contained microsecond (Issue #24) 2013-07-15 18:11:07 +03:00
Tres Seaver
a050932372 If setuptools is importable, don't force use of 'distribute'.
Allows use of post-merge setuptools 0.7.
2013-06-14 13:34:07 -04:00
INADA Naoki
f064692a36 'BEGIN' on __enter__ if autocommit is enabled. 2013-05-22 22:33:20 +09:00
INADA Naoki
470eb56c4d Fix typo. 2013-05-21 13:32:23 +09:00
INADA Naoki
c1b8e8a047 autocommit=None means using server default. 2013-05-21 12:09:55 +09:00
INADA Naoki
9b83342879 Merge branch 'master' of https://github.com/farcepest/MySQLdb1 into autocommit_on 2013-02-01 02:11:40 +09:00
Andy Dustman
63ab17980d Merge pull request #8 from KLab/cleanup
Extraneous blank line removal and other small spacing cleanups.
2013-01-31 06:40:15 -08:00
INADA Naoki
797d9c3029 Support autocommit=True for constructor argument. 2013-01-05 09:34:59 +09:00
INADA Naoki
52894fd137 remove unused lines. 2013-01-05 09:19:43 +09:00
farcepest
ad119309fc Version bump MySQLdb-1.2.4 2013-01-01 17:14:08 -05:00
farcepest
e31811673b Version bump MySQLdb-1.2.4c1 2012-11-02 11:51:32 -04:00
farcepest
49f8ab9689 Fix some broken types module references. 2012-11-02 11:29:59 -04:00
farcepest
933e4d599f Tell Travis to start testing PyPy as well. 2012-10-17 18:37:26 -04:00
farcepest
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
farcepest
c9b282f8b5 Version bump. MySQLdb-1.2.4b5 2012-10-11 10:05:28 -04:00
farcepest
b144911dfb Merge branch 'sphinx' into MySQLdb-1.2 2012-10-11 09:57:21 -04:00
farcepest
fc0c03aaae Misplaced conditional comma. Fixes issue #6. 2012-10-11 09:50:33 -04:00
farcepest
9f36ea2553 Removing the download_url as the source is available on PyPi. 2012-10-08 14:21:43 -04:00
farcepest
026d20dffc HISTORY update 2012-10-08 14:07:50 -04:00
farcepest
a34cd2a9a0 Merge remote-tracking branch 'remotes/evax/utf8mb4' into MySQLdb-1.2 2012-10-08 14:02:42 -04:00
Evax Software
030d175754 Use db.unicode_literal.charset in cursors.py 2012-10-08 19:16:01 +02:00
farcepest
0f8d86cc87 Prep for 1.2.4b4 release MySQLdb-1.2.4b4 2012-10-08 11:47:09 -04:00
farcepest
2325200a7d Revert to using utf8 for default testing setup as utf8mb4 is not ubiquitous. 2012-10-08 11:37:35 -04:00
farcepest
c53d95fdd6 Update HISTORY 2012-10-08 11:34:48 -04:00
farcepest
451f88ef82 Doc overhaul with sphinx 2012-10-08 11:32:11 -04:00
Evax Software
9eb906e8a7 Map utf8mb4 to utf8 in python 2012-10-08 17:25:14 +02:00
farcepest
7d4993a53c Workaround for recommended MySQL 5.5 utf8mb4 character set, which is not recognized by Python yet. 2012-10-05 14:01:51 -04:00
farcepest
f982ab42f5 Merge remote-tracking branch 'origin/MySQLdb-1.2' into MySQLdb-1.2 2012-10-04 14:32:33 -04:00
Jean Schurger
119b6b2c97 Merge with jeansch/master 2012-10-04 14:32:06 -04:00
farcepest
4f9d95bc5a Merge branch 'jensch-master' into MySQLdb-1.2 2012-10-04 14:20:06 -04:00
farcepest
4e6c7c0e08 Remove obsolete setuptools bootstrap 2012-10-04 13:48:09 -04:00
Jean Schurger
417088a3aa Exposed 'read_timeout' option. 2012-10-04 13:45:26 -04:00
farcepest
36b8d1d4e8 Restore README.md, rename the old README as INSTALL 2012-10-04 13:43:11 -04:00
Evax Software
7a846cf5e3 Allow pip install from git
Merged with modifications from a815269010
2012-10-04 13:34:39 -04:00
farcepest
0164ffeb25 Let's not forget history... 2012-10-03 14:11:05 -04:00
farcepest
973660bdc6 Version 1.2.4b3 MySQLdb-1.2.4b3 2012-10-03 13:34:33 -04:00
André Malo
cd44524fef Patch 4/4: Fix TEXT vs. BLOB conversion.
This patch assumes an applied patch 3 (https://sourceforge.net/p/mysql-python/patches/79/). Looks a bit like a hack, but the infrastructure doesn't seem to allow anything else. And it works here very well. I'm not sure, how it works with very old mysql versions (<= 4.0).

https://sourceforge.net/p/mysql-python/patches/80/
2012-10-03 13:20:19 -04:00
André Malo
c05a2c6a50 Patch 3/4: _mysql.c reference counting and exception issues
This patch fixes a reference leak and improves the error handling in the converter mapping code. Rather accidentially it also drops the cleanup: label and the gotos ;)

https://sourceforge.net/p/mysql-python/patches/79/
2012-10-03 13:17:35 -04:00
André Malo
1c33baf352 Patch 2/4: executemany-regex improvement. It should match better and faster now. It also may be more readable.
https://sourceforge.net/p/mysql-python/patches/78/
2012-10-03 13:15:38 -04:00
André Malo
a7f55a5d6a Patch 1/4: Minor exception handling improvements (don't swallow program exits)
https://sourceforge.net/p/mysql-python/patches/77/
2012-10-03 13:10:25 -04:00
farcepest
fa248cf608 Merge branch 'master' into MySQLdb-1.2 2012-10-02 14:56:05 -04:00
farcepest
8685efce82 I don't know how this got lost. Git makes me feel like a git. 2012-10-02 14:53:29 -04:00
farcepest
080902e21e Merge remote-tracking branch 'origin/master'
Conflicts:
	.travis.yml
	MySQLdb/tests/test_MySQLdb_capabilities.py
	MySQLdb/tests/test_MySQLdb_dbapi20.py
	MySQLdb/tests/test_MySQLdb_nonstandard.py
2012-10-02 14:39:15 -04:00
farcepest
e2c396c245 README rewrite 2012-10-02 14:15:59 -04:00