3
|
1 ========================
|
|
2 What's new in 1.2.1_p2
|
|
3 ========================
|
|
4
|
|
5 There are some minor build fixes which probably only affect MySQL
|
|
6 older than 4.0.
|
|
7
|
|
8 If you had MySQL older than 4.1, the new charset and sql_mode
|
|
9 parameters didn't work right. In fact, it was impossible to create
|
|
10 a connection due to the charset problem.
|
|
11
|
|
12 If you are using MySQL-4.1 or newer, there is no practical difference
|
|
13 between 1.2.1 and 1.2.1_p2, and you don't need to upgrade.
|
|
14
|
|
15
|
|
16 =====================
|
|
17 What's new in 1.2.1
|
|
18 =====================
|
|
19
|
|
20 Switched to Subversion. Was going to do this for 1.3, but a
|
|
21 SourceForge CVS outage has forced the issue.
|
|
22
|
|
23 Mapped a lot of new 4.1 and 5.0 error codes to Python exceptions
|
|
24
|
|
25 Added an API call for mysql_set_character_set(charset) (MySQL > 5.0.7)
|
|
26
|
|
27 Added an API call for mysql_get_character_set_info() (MySQL > 5.0.10)
|
|
28
|
|
29 Revamped the build system. Edit site.cfg if necessary (probably not
|
|
30 in most cases)
|
|
31
|
|
32 Python-2.3 is now the minimum version.
|
|
33
|
|
34 Dropped support for mx.Datetime and stringtimes; always uses Python
|
|
35 datetime module now.
|
|
36
|
|
37 Improved unit tests
|
|
38
|
|
39 New connect() options:
|
|
40 * charset: sets character set, implies use_unicode
|
|
41 * sql_mode: sets SQL mode (i.e. ANSI, etc.; see MySQL docs)
|
|
42
|
|
43 When using MySQL-4.1 or newer, enables MULTI_STATEMENTS
|
|
44
|
|
45 When using MySQL-5.0 or newer, enables MULTI_RESULTS
|
|
46
|
|
47 When using MySQL-4.1 or newer, more detailed warning messages
|
|
48 are produced
|
|
49
|
|
50 SET columns returned as Python Set types; you can pass a Set as
|
|
51 a parameter to cursor.execute().
|
|
52
|
|
53 Support for the new MySQL-5.0 DECIMAL implementation
|
|
54
|
|
55 Support for Python Decimal type
|
|
56
|
|
57 Some use of weak references internally. Cursors no longer leak
|
|
58 if you don't close them. Connections still do, unfortunately.
|
|
59
|
|
60 ursor.fetchXXXDict() methods raise DeprecationWarning
|
|
61
|
|
62 cursor.begin() is making a brief reappearence.
|
|
63
|
|
64 cursor.callproc() now works, with some limitations.
|
|
65
|