annotate CHANGES-1.2.1 @ 2:c0d1fc0429ce MySQLdb

Smashed _mysql.c with a great big hammer and got some smaller, more managable pieces.
author adustman
date Fri, 07 Apr 2006 05:06:01 +0000
parents e48810735f11
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
1 =====================
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
2 What's new in 1.2.1
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
3 =====================
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
4
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
5 Switched to Subversion. Was going to do this for 1.3, but a
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
6 SourceForge CVS outage has forced the issue.
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
7
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
8 Mapped a lot of new 4.1 and 5.0 error codes to Python exceptions
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
9
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
10 Added an API call for mysql_set_character_set(charset) (MySQL > 5.0.7)
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
11
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
12 Added an API call for mysql_get_character_set_info() (MySQL > 5.0.10)
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
13
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
14 Revamped the build system. Edit site.cfg if necessary (probably not
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
15 in most cases)
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
16
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
17 Python-2.3 is now the minimum version.
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
18
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
19 Dropped support for mx.Datetime and stringtimes; always uses Python
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
20 datetime module now.
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
21
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
22 Improved unit tests
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
23
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
24 New connect() options:
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
25 * charset: sets character set, implies use_unicode
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
26 * sql_mode: sets SQL mode (i.e. ANSI, etc.; see MySQL docs)
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
27
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
28 When using MySQL-4.1 or newer, enables MULTI_STATEMENTS
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
29
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
30 When using MySQL-5.0 or newer, enables MULTI_RESULTS
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
31
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
32 When using MySQL-4.1 or newer, more detailed warning messages
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
33 are produced
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
34
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
35 SET columns returned as Python Set types; you can pass a Set as
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
36 a parameter to cursor.execute().
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
37
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
38 Support for the new MySQL-5.0 DECIMAL implementation
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
39
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
40 Support for Python Decimal type
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
41
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
42 Some use of weak references internally. Cursors no longer leak
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
43 if you don't close them. Connections still do, unfortunately.
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
44
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
45 ursor.fetchXXXDict() methods raise DeprecationWarning
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
46
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
47 cursor.begin() is making a brief reappearence.
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
48
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
49 cursor.callproc() now works, with some limitations.
e48810735f11 Copying 1.2.1 to be the new trunk
adustman
parents:
diff changeset
50