Commit Graph

251 Commits

Author SHA1 Message Date
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
adustman
34624f472f Rename CHANGES to HISTORY 2006-04-09 03:37:18 +00:00
adustman
bfda75c89c Fix MANIFEST (well, fixed after the NEXT commit) 2006-04-09 03:36:29 +00:00
adustman
b2ba4aaae2 Update CHANGES file 2006-04-09 03:29:59 +00:00
adustman
afbd55ab46 Bump version. Disable leak checking by default. 2006-04-09 03:25:04 +00:00
adustman
d0fb145489 Fallback to non-thread-safe libraries if the thread-safe ones
are unavailable.
2006-04-09 02:56:39 +00:00
adustman
8cd67c1e36 Remove conditionals for registering server_start and server_end.
Not needed since the code itself is conditional on client version.
2006-04-05 17:56:36 +00:00
adustman
f373a32f95 raise NotSupportedError instead of non-existent UnsupportedError
connection.set_character_set() now avoids raising an exception
if the current character set is already correct, regardless of
MySQL version.
2006-04-04 15:04:20 +00:00
adustman
a1e2fb715b 1.2.1 2006-04-02 17:45:58 +00:00
adustman
0e9cc93e37 Fix leak test for subclassing 2006-03-28 12:59:24 +00:00
adustman
426d27d4ae Fix some inconsistent spacing.
Try to fix some memory leaks. I think cursors don't leak any more
but I've had no luck with connections. If you close your connections
you should be fine, even if you don't close your cursors.
2006-03-28 05:03:35 +00:00
adustman
e5d609b344 Added documentation for sql_mode support. 2006-03-06 05:33:01 +00:00
adustman
3c3ef08720 Added a bunch of new error codes to MySQLdb.constants.ER (complete for
MySQL-5.0).

Mapped some new error codes to DataError, which has always existed,
but never had anything mapped to it.

Cleaned set_character_set() a bit.

Added new connection option sql_mode and correspond set_sql_mode()
method.
2006-03-06 05:28:05 +00:00
adustman
21a3d3397b Bump metadata version.
Clean up setup.cfg so it doesn't break RPM builds on files which
are no longer included.

Add a test case for warnings for column truncation.

Clean up warnings; was working around the introduced bug that
returned (var)char columns with binary collations as array.

Exposed the column flags (values from constants.FLAG) as
description_flags on the cursor.
2006-03-05 04:59:14 +00:00