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
72848c84bc
Somehow I missed this connection setup
2012-10-02 13:50:00 -04:00
farcepest
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
farcepest
ae94e44ed1
Add Travis-specific configuration file
2012-10-02 12:59:29 -04:00
farcepest
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
farcepest
d0e96c7155
Unify test connection configuration
2012-10-02 12:37:41 -04:00
Andy Dustman
1936b93cf0
Test connection tweaks for Travis
2012-10-01 13:14:38 -04:00
farcepest
235d8466dd
History updates for 1.2.4b2
2012-09-27 12:40:05 -04:00
farcepest
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
farcepest
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
Andy Dustman
162e9e4d84
General cleanups
2012-09-27 12:40:02 -04:00
farcepest
4af9b70b91
History updates for 1.2.4b2
2012-09-27 12:18:07 -04:00
farcepest
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
farcepest
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
Andy Dustman
129f09ace4
Windows is HELL
2012-09-26 11:24:14 -04:00
Andy Dustman
f60f81d114
Revert "Hopefully this is just a very minor spacing cleanup."
...
This reverts commit cdc221a807 .
Conflicts:
MySQLdb/MANIFEST.in
MySQLdb/metadata.cfg
2012-09-26 11:18:32 -04:00
Andy Dustman
08945a4627
License file, cleanup MANIFEST.in, and bump version to 1.2.4b1
2012-09-25 21:45:14 -04:00
Andy Dustman
cdc221a807
Hopefully this is just a very minor spacing cleanup.
2012-09-25 21:08:56 -04:00
adustman
7676693b8f
More Python 3 fixes. Py 3 blows up when testing BLOBs.
2012-09-08 21:22:53 +00:00
adustman
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
adustman
fe917fcced
_mysql imports now, but still crashes
2012-09-08 18:44:34 +00:00
adustman
a5c7996f60
Fix import _mysql SystemError so that now we get the ImportError...
2012-09-08 18:16:28 +00:00
adustman
3b3e11340a
Python 3 fixes. _mysql raises SystemError, segfaults
2012-09-08 17:28:34 +00:00
adustman
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
adustman
c1d15552e6
A couple more Python 3 fixes.
2012-09-07 22:48:55 +00:00
adustman
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
adustman
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
adustman
1294271d28
Some Python 3 fixes for the build process. _mysql does *not* build yet.
2012-09-07 20:01:59 +00:00
adustman
e614bd4795
You'll use distribute, and like it, dagnabbit, part deux
2012-09-07 19:42:41 +00:00
adustman
a5fe12f857
You'll use distribute, and like it, dagnabbit
2012-09-07 19:14:50 +00:00
adustman
33002cedff
Delay setting cursorclass until after superclass initialization. Fixes #3211938
2012-09-07 18:09:19 +00:00
adustman
dd3cc7cafc
Use isoformat() instead of strftime() to avoid year limitations of the latter. Fixes #3296395
2012-09-07 18:04:23 +00:00
adustman
6fc719b4b1
Make the insert_values regex case-insensitive. Fixes #3511137
2012-09-07 17:30:36 +00:00
adustman
318dab9ab4
Add a test case for #3514287 . Was fixed in 1.2.3.
2012-09-07 17:23:22 +00:00
adustman
c12e7cca7e
Force HAVE_OPENSSL if the client library is 5.5 or newer. Fixes #3535584 .
2012-09-07 17:09:13 +00:00
adustman
e6d24c358d
Fix: Error is not checked if mysql_store_result returns NULL ( #3546166 )
2012-09-07 16:53:15 +00:00
adustman
10077317cd
Avoid unbound local on exception. Fixes #1686154
2012-09-07 15:46:30 +00:00
adustman
81dbbc5174
Update UnitTest methods deprecated in Python 2.7
2012-09-07 15:32:48 +00:00
adustman
3070f46d7d
More Windows build fixes.
2012-09-05 02:56:43 +00:00
adustman
11ade40463
Windows build fixes.
2012-09-05 00:38:57 +00:00
kylev
54cc6fda9c
Add some 1.2.3 notes
2010-06-17 07:03:34 +00:00
kylev
a6882d1768
1.2.3 final
2010-06-17 06:49:09 +00:00
kylev
e2f4478153
Bump to setuptools bootstrap for 0.6c11
2010-06-17 06:45:40 +00:00
kylev
93637dd74f
We need to copy the -arch compile flags to link-time flags in order to have a
...
chance of building on OS X.
2010-06-17 06:39:51 +00:00
kylev
ab6f294c41
Clean up some whitespace, test python version the same (cleaner) way that trunk does
2010-02-25 21:28:13 +00:00
kylev
1a728edd49
Unpack kill argument into an unsigned long correctly.
...
SF bug #2902635
2009-12-08 00:17:13 +00:00
kylev
29b884d0cc
Defer adding references until after all our C calls so we can avoid having
...
to decrement them if we bail out early.
Fixes bug 2811033.
2009-07-24 00:18:07 +00:00
kylev
fcbf7c9791
"import" creates GIL overhead every time it is run. For threaded MySQLdb apps,
...
it doesn't make sense to pay that cost for every execute(), so lets move some
of these imports.
http://wiki.python.org/moin/PythonSpeed/PerformanceTips#ImportStatementOverhead
2009-05-18 22:30:19 +00:00