Commit Graph

264 Commits

Author SHA1 Message Date
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
kylev
4d70852735 Bug #1774101 was caused by only copying things that had integer keys. We really
want to copy all key/value pairs and specially handle the int->list case.
2009-05-18 21:12:38 +00:00
adustman
eb0eb1f292 1.2.3 release candidate 1 2009-03-30 23:23:39 +00:00
adustman
f19386dd83 2009-03-30 23:01:58 +00:00
adustman
91de6b7b70 MySQLdb-1.2.3b2 2009-03-14 02:37:11 +00:00
adustman
fa5cb8b463 Add a test for connection.ping() 2009-03-11 02:34:59 +00:00
adustman
1697ff85f1 Fix #2061583: Ignore any non-numeric portion of client and server
version numbers.
2009-03-11 02:01:49 +00:00
adustman
d57be3fb50 Fix for bug #2479317 (patch #2496558) by kylev. Make some time handling
stuff more consistent.
2009-03-11 00:48:08 +00:00
adustman
ae8a1a8a75 Backport some new trunk tests 2009-03-08 17:48:11 +00:00
adustman
8d2979ed02 Move tests into their own directory to parallel trunk 2009-03-08 17:45:52 +00:00
adustman
0e2dbef519 Short-term fix for bug #2671682.
Make tests a little more parallel to trunk version.

Add nose.collector as test_suite
2009-03-08 16:34:49 +00:00
kylev
75a6326614 Two more old-style exception invocations 2009-03-05 19:55:19 +00:00
kylev
82a49f8d29 We missed one more 2.6-warning generating exception 2009-02-24 02:53:46 +00:00
kylev
7d57743ff4 Fix bug 1808476 for OSX compilation, ported from trunk. 2009-02-24 02:48:29 +00:00
kylev
e9c57bd414 don't leak special-case tuples (present in unicode modes) 2009-02-23 23:39:00 +00:00
adustman
f15a72a5e4 Updated ez_setup.py to latest version. 2009-02-06 00:52:34 +00:00
adustman
284b862950 Found one more old-style raise. Should fix #2122496. 2008-10-18 00:13:35 +00:00
adustman
570b96f9a7 Found one more Set reference.
Change raise to use the modern syntax for Python 3.0 compatibility.
2008-10-18 00:12:13 +00:00
adustman
57c69aa57f Remove more deprecated Set usage. Refs #2156977. 2008-10-18 00:07:14 +00:00
adustman
19ba3c6511 More documentation updates. 2008-10-17 01:07:01 +00:00
adustman
4edfaef688 Documentation and package data updates 2008-10-17 00:59:48 +00:00
adustman
087dcad5b7 Fix #2001855: Don't use ez_setup; just use setuptools direction. 2008-10-17 00:52:50 +00:00
adustman
b4c20bfaa0 Fix #2156977: Use frozenset as the base for DBAPISet. Only tested for
Python 2.5.
2008-10-17 00:44:48 +00:00
adustman
48d9ec3527 Fix bug #2137599: Better regex for parsing INPUT statements. Passes unit
tests but has not been thoroughly tested.

Bump version to 1.2.3b1.
2008-10-17 00:15:26 +00:00
adustman
34f2239544 Remove versioned python name from package as egg packaging
also does this.

1.2.2.
2007-03-04 03:06:05 +00:00
adustman
2e079461ae Added to make the build bot happy. 2007-02-27 00:33:21 +00:00
adustman
f63d6c3f23 Turns out DBAPISet has been broken all this time and nobody noticed, which proves no one uses it. 2007-02-26 19:00:32 +00:00
adustman
58b8a3c4f5 1.2.2 notes 2007-02-26 00:50:14 +00:00
adustman
c748fa7d9c Small build/packaging fixes. 1.2.2c1. 2007-02-25 04:06:01 +00:00
adustman
48b09d439e Use setuptools instead of distutils. Add Python-2.5 support for with statement as described in http://docs.python.org/whatsnew/pep-343.html *Please test* 2007-02-25 00:16:43 +00:00
adustman
692d79c30e Fix for #1602592. Some Solaris compiler args could have percent signs,
which would break distutils.
2007-02-11 16:21:25 +00:00
adustman
a479e6fb60 Suggestion from #1655760. 2007-02-11 15:49:53 +00:00
adustman
57446df5a9 Missing setup_common too 2007-02-11 07:31:16 +00:00
adustman
2f1cf5862e Missing setup_posix.py and setup_windows.py. 2007-02-11 07:27:13 +00:00
adustman
be73b0aeca Fix for #1655760 2007-02-10 20:09:26 +00:00
adustman
0340376f05 Revert previous reconnect patches and just handle it
with ping([reconnect]).
2007-02-10 19:03:18 +00:00
adustman
589521e027 Fix bug #1567804: Make sure lists are copies/slices and not just the original 2007-02-10 05:37:00 +00:00
adustman
e60e46cab1 Add connection.autoreconnect() (variant of bug #1574825) 2007-02-10 04:37:15 +00:00
adustman
b56eedab05 reconnect option for connect (bug #1550388).
Enjoy your toes while they last.
2007-02-10 04:16:53 +00:00
adustman
31af680d14 Remove test_SET() since it cannot work until
http://bugs.mysql.com/bug.php?id=17758 is fixed
(MySQL-5.1 or 5.2).
2007-02-10 04:06:10 +00:00
adustman
21fd87afe8 Patch #1651584 (florentaide): Fixes Windows build 2007-02-10 03:41:19 +00:00
adustman
ada567a0d7 Windows build. Completely untested. 2007-01-31 03:55:53 +00:00
adustman
344468a127 Fix dumb setup typo.
SET columns can not be reliably returned as Python sets
in MySQL<5.1. Fixes bug #1561190. Also see
http://bugs.mysql.com/bug.php?id=17758
2007-01-29 18:00:35 +00:00
adustman
b8c0d0faf8 Factor out most of the setup into setup_posix.py.
setup_windows.py is next.
2007-01-03 23:13:58 +00:00
adustman
0b230a5c6a Cleaner way to handle the compile-time versioning (via distutils
define_macro), from #1586161 (Alexandr Zamaraev).
2006-10-28 14:53:23 +00:00
adustman
cfd4a94682 Fix for Python 2.5.
Added a unit test for single character columns.

Updated download URL.
2006-10-27 23:33:35 +00:00
adustman
1699cc8eb1 Metadata updates, 1.2.2b2 2006-10-13 22:12:34 +00:00
adustman
1044fea0ff Use CP/M-style switch prefixes (/D instead of -D) on Windows. 2006-08-30 04:04:42 +00:00
adustman
9079297c4a Windows MySQL has a different configuration file (config-win.h)
for inexplicable reasons. (Bug 1548032)
2006-08-30 03:01:17 +00:00
adustman
94506c4e27 Version 1.2.2b1.
Raise IntegrityError for a couple types of relatively new errors.
(Bug 1327679)

Add BIT column support. (Bug 1468725)

Return BINARY columns as normal strings, not arrays. (Bug 1495765)

Add support for a new VARCHAR type; behaves like other CHAR types.

Defer issuing warnings when using SSCursors. (Bug 1495782)

Do not try to encode query strings unless they are unicode instances.
(Bug 1521274)

Fix problem with callproc() when it is used before execute() (which is
legal). (Bug 1541124)

Fix formatting of datetime.timedelta values. (Bug 1527801)

Fix connect_timeout documentation bug. (Bug 1523883)
2006-08-27 18:02:48 +00:00