272 Commits

Author SHA1 Message Date
252fb96802 Fix MySQLdb release tags MySQLdb-1.1.1 2006-04-02 17:03:52 +00:00
a311b019cf This commit was manufactured by cvs2svn to create tag 'r_1_1_1'. 2004-06-07 03:44:39 +00:00
69efaa470e Bump version. Update README. Convert all classes to new-style. 2004-06-07 03:44:39 +00:00
1fdb7422a6 Initial conversion to modern Python. 2004-05-19 03:54:01 +00:00
187d93c188 Fix bug #897344 2004-02-29 02:28:20 +00:00
9f2d4f50fe Fix bug #902024 2004-02-29 02:22:59 +00:00
59913d32f4 * Check for module initialization failure (extremely rare)
* The MySQL FIELD_TYPE converter can now be a sequence of 2-tuples.
   Item 0 is a bit mask (using FLAG.*) which must be matched. This should
   be an integer. Item 1 is the conversion function. If item 0 is not an
   integer, then this function is considered the default converter for
   this FIELD_TYPE. Note that these tuples are considered when the query
   has been executed and the result is available, so it doesn't add a
   per-row overhead.

 * As a result of the above, BINARY BLOB fields are now returned as
   character arrays using the array.array class. Non-BINARY BLOB fields
   (i.e. TEXT) are returned as strings. If unicode is enabled, they are
   returned as unicode strings.

 * Bump version to 0.9.3b3.
2003-12-30 01:30:36 +00:00
37481774b1 https://sourceforge.net/tracker/?func=detail&aid=850174&group_id=22307&atid=374932
Use more precision for floats; str(<float>) doesn't return full precision.
2003-12-13 04:58:25 +00:00
d0b77eed7d Preliminary SSL support. Adds a ssl parameter to connect().
ssl should be a mapping. These are the recognized keys:

ca*, cert*, capath, key*, cipher

Items marked with * are required. All values must be strings.
They are described here:

http://www.mysql.com/doc/en/SSL_options.html

You're probably better off putting these variables into an
option file and using read_option_file instead.

SSL is supported in MySQL-4.0 and newer. Even if you don't
specify all the required parameters, the connection will probably
succeed, although without SSL.

This is not yet tested in any significant way.
2003-11-27 20:56:40 +00:00
ff06467924 Version bump 2003-11-23 22:04:04 +00:00
c924bec96d Time-handling updates. New load order is:
mxdatetime (wrapper around mx.DateTime)
pytimes (wrapper around Python-2.3+ datetime)
stringtimes (minimal string implementation)

The logic is, if you're running Python-2.3 and are have mx.Datetime,
you probably want to use that instead of datetime.
2003-11-23 22:02:13 +00:00
8308b8de7e Bug #816721 2003-11-22 19:30:40 +00:00
ab203ebb2a Bug #811636 fix (?) 2003-11-22 18:55:13 +00:00
fc90884087 info() might return None or empty string 2003-09-07 02:51:15 +00:00
5ae682f33e Don't treat FIELD_TYPE.CHAR as a character type, it's really
a TINYINT (FIELD_TYPE.TINY).
2003-09-07 02:45:58 +00:00
2d62b499d4 Bug#778822 2003-09-07 02:25:05 +00:00
2ee619e3b7 Fix version number correctly 2003-09-07 02:07:16 +00:00
2f298c15f8 Version bump 2003-09-07 02:00:34 +00:00
345fe79759 Include new time handling modules 2003-07-11 00:34:40 +00:00
62d7a2a8e4 Split out old Date/Time handling classes into separate modules 2003-07-11 00:13:44 +00:00
da8b57cc79 Finish up TimeDelta_or_None 2003-07-11 00:07:06 +00:00
03a0fcdd1f Add support for Python 2.3 datetime classes. 2003-07-10 15:58:56 +00:00
b6509148a2 Bump version numbers. 2003-07-08 06:34:27 +00:00
a0bbac3bd4 Bump version and remove some unneccesary casts that seem to
break things when using Python 2.3.
2003-07-08 06:29:56 +00:00
0fccc960c1 Fix bug 605849 (I hope). 2003-07-07 21:44:40 +00:00
0b5983676a Fix member access problems 2003-07-07 17:49:01 +00:00
2f671dcd94 Eliminate use of deprecated PyArg_NoArgs() 2003-04-21 02:50:57 +00:00
df7d1a0924 Dumb typo 2003-04-21 02:23:06 +00:00
43854cc57e Build and documentation updates 2003-04-19 04:26:57 +00:00
aea6704864 Embedded server support 2002-08-22 21:12:02 +00:00
ba841ee17a Clean up compiler warnings about
assignment discards qualifiers from pointer target type
2002-08-22 15:20:25 +00:00
226d7fc212 Windows (blech) compatibility changes. (Gerhard H�ring) 2002-08-02 04:09:13 +00:00
97683ade62 CHANGELOG 2002-08-01 05:18:08 +00:00
865f3f4ffc Not supporting GC for python < 2.2 2002-08-01 05:09:51 +00:00
b86c7c0fca Memory API updates 2002-08-01 04:49:14 +00:00
b302b3ba69 Ignore exception from close() in __del__ 2002-08-01 04:48:48 +00:00
e46dbaf59f GC for Python 2.2+ 2002-08-01 04:29:54 +00:00
43994da567 0.9.2 (finally) 2002-07-21 04:05:17 +00:00
98c1aa154e Revert execute behavior: Do not use % operator when there are no args 2002-07-16 16:26:40 +00:00
fdd2cbc4fe Rewrite 2002-07-10 20:28:03 +00:00
21e840ae38 Packaging cleanups 2002-07-10 19:00:59 +00:00
b6323b0477 Version 0.9.2c3, see CHANGELOG 2002-07-10 15:18:13 +00:00
f373ab0097 Revert returning BLOBs as arrays, since MySQL doesn't distinquish
between TEXT and BLOB types. (Skip Montanaro)
2002-07-03 15:49:12 +00:00
d0e94fb15b Passing both conv and unicode to connect was broken (Skip Montanaro) 2002-07-03 14:40:12 +00:00
6165f9d2f7 FreeBSD/OpenBSD update 2002-07-02 03:55:58 +00:00
d259831f73 Fix dumb (but working) iterator implementation 2002-07-01 14:50:24 +00:00
92ccca2fbe Doc updates 2002-07-01 03:36:17 +00:00
2d41a8b609 Add _mysql.thread_safe() (boolean, true if linked with thread-safe lib) 2002-06-26 05:50:11 +00:00
0983b391d7 Smack my version up 2002-06-24 18:27:39 +00:00
3500b3d191 Some errorhandler cleanups 2002-06-23 20:25:55 +00:00