301 Commits

Author SHA1 Message Date
6aa4d8b4d1 Fix MySQLdb release tags MySQLdb-1.1.8 2006-04-02 17:03:52 +00:00
3a43339d8f This commit was manufactured by cvs2svn to create tag 'r_1_1_8'. 2005-01-01 00:10:20 +00:00
47ded12f98 Fix some formatting problems 2005-01-01 00:10:20 +00:00
bad2cc11dc Clean up handling of warnings and make cursor.messages
actually useful for something.
2004-12-31 23:38:21 +00:00
8f4649dbd2 Version 1.1.8 2004-12-31 22:41:11 +00:00
8802176f03 Remove old CHANGELOG. Include some test programs, which are
not in CVS.
2004-12-31 22:36:50 +00:00
34ad168b73 Very minor DB-API compliance fixes. 2004-12-31 22:34:11 +00:00
6943657d87 Add support for warning_count() and constants needed for
issuing multiple statements.
2004-12-31 01:30:17 +00:00
59cdc0aaea * add set_server_option() and sqlstate() connection object methods 2004-12-30 22:17:36 +00:00
8632a76952 *** empty log message *** 2004-12-30 20:59:58 +00:00
ebaa1af609 * Add connection.next_result()
* Another fix for bug #1093028
2004-12-30 20:58:48 +00:00
7e7ebf7e6a Convert the new autocommit, commit, and rollback connection methods
into pure C. When using MySQL<4.1, these issue queries. This simplifies
the Python layer a bit.
2004-12-30 19:13:22 +00:00
222e97e40e Fix bug 1093028 2004-12-30 17:50:48 +00:00
0ead0d244d *** empty log message *** 2004-10-31 03:53:15 +00:00
28d85501da Convert to restructured text. 2004-10-31 03:49:19 +00:00
2d32380e68 Version 1.1.7 2004-10-31 02:11:20 +00:00
2a2c1d3791 Fix bug #1050841 2004-10-31 01:55:51 +00:00
691b3c060b Add unicode_errors parameter to connect() 2004-10-29 01:52:52 +00:00
bb96e5577a Fix bug #1045512 2004-10-29 01:50:34 +00:00
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
f6d529758d *** empty log message *** 2004-09-19 21:38:59 +00:00
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
0af082a686 Include new ChangeLog 2004-09-19 20:14:31 +00:00
83c22e8d31 Restore missing common on include_dirs 2004-09-19 19:56:20 +00:00
cf3ec6e38f *** empty log message *** 2004-09-11 07:26:27 +00:00
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
ca5e0c3216 Re-fix typo 2004-09-11 05:57:19 +00:00
ff28c9fd14 Fix _mysql_Execption() typo. Code is only compiled when MySQL-4.1
is in use, and I haven't done any actual testing against 4.1 yet.
Please report any bugs to the SourceForge tracker.
2004-09-11 05:29:00 +00:00
a65e0de618 *** empty log message *** 2004-09-08 01:40:33 +00:00
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
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
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