327 Commits

Author SHA1 Message Date
52894fd137 remove unused lines. 2013-01-05 09:19:43 +09:00
ad119309fc Version bump 2013-01-01 17:14:08 -05:00
49f8ab9689 Fix some broken types module references. 2012-11-02 11:29:59 -04: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
c9b282f8b5 Version bump. 2012-10-11 10:05:28 -04:00
a34cd2a9a0 Merge remote-tracking branch 'remotes/evax/utf8mb4' into MySQLdb-1.2 2012-10-08 14:02:42 -04:00
030d175754 Use db.unicode_literal.charset in cursors.py 2012-10-08 19:16:01 +02:00
0f8d86cc87 Prep for 1.2.4b4 release 2012-10-08 11:47:09 -04:00
9eb906e8a7 Map utf8mb4 to utf8 in python 2012-10-08 17:25:14 +02:00
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
7a846cf5e3 Allow pip install from git
Merged with modifications from a815269010
2012-10-04 13:34:39 -04:00
0164ffeb25 Let's not forget history... 2012-10-03 14:11:05 -04:00
973660bdc6 Version 1.2.4b3 2012-10-03 13:34:33 -04:00
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
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
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
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
72848c84bc Somehow I missed this connection setup 2012-10-02 13:50:00 -04:00
413c3b6623 Giving Travis it's own database with utf8 charset in hopes this will fix the callproc test (which works everywhere else) 2012-10-02 13:19:09 -04:00
ae94e44ed1 Add Travis-specific configuration file 2012-10-02 12:59:29 -04:00
3581603f45 Merge branch 'master' into MySQLdb-1.2
Conflicts:
	MySQLdb/tests/test_MySQLdb_capabilities.py
	MySQLdb/tests/test_MySQLdb_dbapi20.py
2012-10-02 12:58:00 -04:00
d0e96c7155 Unify test connection configuration 2012-10-02 12:37:41 -04:00
1936b93cf0 Test connection tweaks for Travis 2012-10-01 13:14:38 -04:00
235d8466dd History updates for 1.2.4b2 2012-09-27 12:40:05 -04:00
5fda4c2579 Revert raise exc as value statements to raise exc, value since it breaks Python < 2.6. 2012-09-27 12:40:04 -04:00
048b70d901 Fix MySQLdb1-1 Exception format incompatible with previous versions
Unfortunately, when I broke this, I broke the test at the same time. That should have been a red flag.
2012-09-27 12:40:03 -04:00
162e9e4d84 General cleanups 2012-09-27 12:40:02 -04:00
4af9b70b91 History updates for 1.2.4b2 2012-09-27 12:18:07 -04:00
2b5b909529 Revert raise exc as value statements to raise exc, value since it breaks Python < 2.6. 2012-09-27 12:06:58 -04:00
d1b43681cf Fix MySQLdb1-1 Exception format incompatible with previous versions
Unfortunately, when I broke this, I broke the test at the same time. That should have been a red flag.
2012-09-26 16:02:05 -04:00
129f09ace4 Windows is HELL 2012-09-26 11:24:14 -04:00
f60f81d114 Revert "Hopefully this is just a very minor spacing cleanup."
This reverts commit cdc221a8078382f3a0d97b8b43b155a4f6246297.

Conflicts:
	MySQLdb/MANIFEST.in
	MySQLdb/metadata.cfg
2012-09-26 11:18:32 -04:00
08945a4627 License file, cleanup MANIFEST.in, and bump version to 1.2.4b1 2012-09-25 21:45:14 -04:00
cdc221a807 Hopefully this is just a very minor spacing cleanup. 2012-09-25 21:08:56 -04:00
7676693b8f More Python 3 fixes. Py 3 blows up when testing BLOBs. 2012-09-08 21:22:53 +00:00
8041cc6df6 Some (many) tests actually pass now on Python 3. May no longer be backwards-compatible with Python < 2.6. 2012-09-08 20:24:45 +00:00
fe917fcced _mysql imports now, but still crashes 2012-09-08 18:44:34 +00:00
a5c7996f60 Fix import _mysql SystemError so that now we get the ImportError... 2012-09-08 18:16:28 +00:00
3b3e11340a Python 3 fixes. _mysql raises SystemError, segfaults 2012-09-08 17:28:34 +00:00
ece1e0e08b _mysql.c compiles and links with Python 3.2.3 now. Need to fix the Python code now... 2012-09-08 16:55:16 +00:00
c1d15552e6 A couple more Python 3 fixes. 2012-09-07 22:48:55 +00:00
66abb0e8d0 A lot more Python 3 fixes for _mysql. It still ain't fixed or broken yet (for Python <3) 2012-09-07 22:09:31 +00:00
9737a4cb39 Some Python 3 fixes for _mysql. It ain't fixed but at least it ain't broken yet (for Python <3) 2012-09-07 20:19:56 +00:00
1294271d28 Some Python 3 fixes for the build process. _mysql does *not* build yet. 2012-09-07 20:01:59 +00:00
e614bd4795 You'll use distribute, and like it, dagnabbit, part deux 2012-09-07 19:42:41 +00:00
a5fe12f857 You'll use distribute, and like it, dagnabbit 2012-09-07 19:14:50 +00:00
33002cedff Delay setting cursorclass until after superclass initialization. Fixes #3211938 2012-09-07 18:09:19 +00:00
dd3cc7cafc Use isoformat() instead of strftime() to avoid year limitations of the latter. Fixes #3296395 2012-09-07 18:04:23 +00:00
6fc719b4b1 Make the insert_values regex case-insensitive. Fixes #3511137 2012-09-07 17:30:36 +00:00
318dab9ab4 Add a test case for #3514287. Was fixed in 1.2.3. 2012-09-07 17:23:22 +00:00