Commit Graph

66 Commits

Author SHA1 Message Date
adustman
b624fd4bdd * Fix pytimes.TimeDelta_or_None()
* Include days with mxdatetime.format_TIME()

 * Return MySQL TIME columns as a time delta

 * Remove old CompatMysqldb module

 * Version 1.1.6
2004-09-26 22:22:59 +00:00
adustman
a63002ecb5 * Removed some old-style Python stuff from setup.py
* Added a bit of documentation on ssl parameter to Connection

 * Version 1.1.5
2004-09-19 21:38:08 +00:00
adustman
075eea32f3 Version 1.1.4
* setup.py: changed include and library path order

 * MySQLdb/connections.py: fix super class reference in autocommit()

 * Tested against MySQL-4.1.4a with InnoDB tables
2004-09-11 07:25:34 +00:00
adustman
145565b3e4 Version 1.1.3
* _mysql.c: restored missing mysql_errno() call (bug #1023466)

 * _mysql.c: Only try to use SSL support if HAVE_OPENSSL is defined.
   Raise NotSupportedError if ssl is requested but not available.
2004-09-08 01:39:46 +00:00
adustman
ceabe0ed1b General cleanups.
* Turn autocommit off initially

 * Add support for mysql_autocommit, _commit, and _rollback API functions
   (new in MySQL-4.1)

 * Remove Connection.begin(); use SQL BEGIN or START TRANSACTION instead

 * pytimes (standard datetime module) is now the default implementation

 * Detect and handle MySQL-4.1 and newer TIMESTAMP (looks like DATETIME)

 * UnicodeType and ObjectType now always handled (required features)

 * Ditch support for L at the end of long integer

 * Remove z and crypt libs if building for Windows

 * Version 1.1.2
2004-09-06 21:53:40 +00:00
adustman
69efaa470e Bump version. Update README. Convert all classes to new-style. 2004-06-07 03:44:39 +00:00
adustman
1fdb7422a6 Initial conversion to modern Python. 2004-05-19 03:54:01 +00:00
adustman
9f2d4f50fe Fix bug #902024 2004-02-29 02:22:59 +00:00
adustman
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
adustman
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
adustman
ff06467924 Version bump 2003-11-23 22:04:04 +00:00
adustman
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
adustman
8308b8de7e Bug #816721 2003-11-22 19:30:40 +00:00
adustman
fc90884087 info() might return None or empty string 2003-09-07 02:51:15 +00:00
adustman
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
adustman
2d62b499d4 Bug#778822 2003-09-07 02:25:05 +00:00
adustman
2f298c15f8 Version bump 2003-09-07 02:00:34 +00:00
adustman
62d7a2a8e4 Split out old Date/Time handling classes into separate modules 2003-07-11 00:13:44 +00:00
adustman
da8b57cc79 Finish up TimeDelta_or_None 2003-07-11 00:07:06 +00:00
adustman
03a0fcdd1f Add support for Python 2.3 datetime classes. 2003-07-10 15:58:56 +00:00
adustman
b6509148a2 Bump version numbers. 2003-07-08 06:34:27 +00:00
adustman
0fccc960c1 Fix bug 605849 (I hope). 2003-07-07 21:44:40 +00:00
adustman
aea6704864 Embedded server support 2002-08-22 21:12:02 +00:00
adustman
b302b3ba69 Ignore exception from close() in __del__ 2002-08-01 04:48:48 +00:00
adustman
43994da567 0.9.2 (finally) 2002-07-21 04:05:17 +00:00
adustman
98c1aa154e Revert execute behavior: Do not use % operator when there are no args 2002-07-16 16:26:40 +00:00
adustman
b6323b0477 Version 0.9.2c3, see CHANGELOG 2002-07-10 15:18:13 +00:00
adustman
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
adustman
d0e94fb15b Passing both conv and unicode to connect was broken (Skip Montanaro) 2002-07-03 14:40:12 +00:00
adustman
d259831f73 Fix dumb (but working) iterator implementation 2002-07-01 14:50:24 +00:00
adustman
0983b391d7 Smack my version up 2002-06-24 18:27:39 +00:00
adustman
3500b3d191 Some errorhandler cleanups 2002-06-23 20:25:55 +00:00
adustman
86692002e9 Make the new unicode option actually work 2002-06-20 23:17:48 +00:00
adustman
fce0d7a61b Add nextset() dummy stub 2002-06-20 21:31:27 +00:00
adustman
06f1f1fc9a BLOBs as array support 2002-06-20 21:30:49 +00:00
adustman
632ea4471c More Python 2.2 and doc updates. Return blobs as array.
The unicode option to connect() causes (VAR)CHAR columns
to be returned as unicode stings.
2002-06-20 21:27:51 +00:00
adustman
05199fb0f9 Mostly documentation updates, and some code cleanups 2002-06-18 01:01:47 +00:00
adustman
58866a76fa Make executemany iterate over queries that don't use multiple VALUES 2002-06-15 23:38:54 +00:00
adustman
326c7ff3fb Errorhandler was broken in cursor
CVSr ----------------------------------------------------------------------
2002-04-28 19:23:50 +00:00
adustman
17bbd326a9 Version bump 2002-04-28 18:32:06 +00:00
adustman
1de7c8be15 Elminate debugging statement. 2002-03-14 20:44:42 +00:00
adustman
127059fa73 Bump version. Minor Alpha Linux update. Clear errorhandler on close. 2002-03-14 20:43:51 +00:00
adustman
3bc6fb42af Stricter regex for finding INSERT values
([ #505295 ] Wrong regexp in executemany() function.)
2002-01-29 01:21:21 +00:00
adustman
72f38a531b Verision bump. 2002-01-25 20:18:18 +00:00
adustman
18ef0ec67d Fix fetchmany(). 2001-12-29 02:28:18 +00:00
adustman
7214eaa31e Version 0.9.2a1. Unicode + DB-API extensions. 2001-12-24 01:23:55 +00:00
adustman
a18138516e 0.9.2 alpha 1 2001-12-23 21:39:31 +00:00
adustman
209703c532 Unicode support. 2001-12-23 21:37:33 +00:00
adustman
913aea00f6 Fix cursor.rownumber for CursorStoreResultMixIn.fetchmany()
and implement cursor.rownumber for CursorUseResultMixIn.fetchXXX().
2001-12-03 15:05:39 +00:00
adustman
380dd24868 Do some renaming suggested by recent DB-SIG discussions.
This should not break anything unless you are using private members.
2001-10-25 15:06:35 +00:00