62 Commits

Author SHA1 Message Date
961e135324 Argh 2000-08-16 19:29:58 +00:00
4f8e1183f2 A little support for old-style dictionary fetching. 2000-08-09 21:47:48 +00:00
fac4a53f24 Update for new features. 2000-08-09 21:46:13 +00:00
9eaee1765b Modify quoting for MySQL-3.23.
Implement mysql_options() as keyword options to the connect method.
2000-08-09 20:21:08 +00:00
6e7c139b0d Modify quoting for MySQL-3.23. 2000-08-09 20:19:10 +00:00
da045c5eec Minor doc fix. 2000-07-21 15:26:51 +00:00
47edf13df1 Fix memory leak (maybe). 2000-07-11 20:56:29 +00:00
b7c2b7cbdd Version update. 2000-06-23 20:18:29 +00:00
3fa59b1ee5 It seems that MySQL-3.23 clients must be linked against libz. 2000-06-23 20:15:10 +00:00
2056478d85 Documentation updates. 2000-06-23 20:06:25 +00:00
4eb68e9f05 Make commit and rollback truly functional. 2000-06-23 18:55:10 +00:00
8e3ad9b07c Add missing casts. 2000-05-03 02:07:25 +00:00
ad5a4e3056 Optimization (I hope). 2000-05-02 04:39:51 +00:00
bdb3b8948d Remove debugging statement. 2000-04-20 00:21:27 +00:00
4dcca6779b Bug fixes. 2000-04-20 00:10:42 +00:00
dee24e5754 Fix DOS formatting, some minor nits. 2000-04-19 23:51:34 +00:00
727b0d2122 Rename some hidden attributes. 2000-04-13 21:29:19 +00:00
b43f6a50ae For the RPM. 2000-04-08 03:23:51 +00:00
7bb113c6eb A teensy optimization. 2000-04-08 03:07:57 +00:00
3bc2e7a9d3 A big (I hope) optimization and hooks for transaction support. 2000-03-28 17:09:29 +00:00
a57d4c439c Make keys for rows returned as dictionary unique by using
"table.column" instead of "column" when there are two columns
in the result set with the same name.
2000-03-24 05:47:17 +00:00
d4529e5d15 Break up the various cursor variations into MixIn classes.
Found a work-around for the way MySQL treats TIME literals with
dates and/or fractional seconds.

Added a mutex into the cursor so that connections can be shared between
threads. threadsafety=2

I could easily make the cursors sharable as well (threadsafety=3) but
I hardly see the point. Even sharing connections is not a good idea,
because you don't get the benefit of multiple mysqld threads.
2000-03-24 05:46:00 +00:00
8545e05c00 Clean up. 2000-03-24 05:42:37 +00:00
028cc4e7be New documentation. Linuxdoc is a little easier to maintain. 2000-03-18 03:19:09 +00:00
abfd616405 Add some support for MySQL-3.23 features.
Fixed a few miscellaneous things.
2000-03-14 04:47:52 +00:00
b48664d4c9 Attempt to save my sanity. 2000-03-11 22:04:58 +00:00
46b9270bb3 Clarify/update a few points. 2000-03-09 00:31:46 +00:00
dfac8d7742 Document new features. 2000-03-08 23:16:47 +00:00
7571b7fdc0 Updates to match reality. 2000-03-08 23:03:02 +00:00
9aead60fe3 Support for fetching rows as dictionaries, a la MySQLmodule. 2000-03-08 22:50:06 +00:00
ad6b9b7b39 Add support for returning values as dictionaries a la MySQLmodule. 2000-03-08 22:29:35 +00:00
83643b4935 Bug fixes. 2000-03-08 21:53:06 +00:00
8c84fe617e Some user-contributed examples. 2000-02-24 23:06:50 +00:00
844f142a2f Add some wrapper methods to get at some MySQL-specific functions. 2000-02-18 03:49:46 +00:00
517727b2c4 Minor updates. 2000-02-18 03:47:47 +00:00
42bd06e986 Add a dictionary that controls conversion of Python types into
MySQL literals.
2000-01-07 00:30:44 +00:00
589df8797c User-suggested fix. 1999-11-19 18:30:31 +00:00
e557a5e93f User-contributed bugfixes. 1999-10-12 01:55:45 +00:00
fc1b1a27e4 Minor doc updates. 1999-09-14 21:21:28 +00:00
b4b1cbebe9 More comments for the generally ignorant. A Windows configuration for
the truly ignorant.
1999-09-14 21:21:02 +00:00
fd4d0d2a2e Fix a memory leak. Add some user-contributed patches so that it works
in the Evil OS.
1999-09-14 21:20:17 +00:00
7298ac1ed3 User-contributed fix: Convert None to NULL correctly when passing a
dictionary as the parameters to execute.
1999-08-02 21:29:31 +00:00
5d45e44593 Avoid core dump if exception occurs during connect. 1999-08-02 04:24:36 +00:00
14aec8c4d4 Captions for the clue-impaired. 1999-07-22 20:25:57 +00:00
f88e77d033 Minor tweaks.
ZMySQLDA.patch makes Zope's ZMySQLDA compatible with MySQLdb (maybe).
1999-07-20 04:04:20 +00:00
c3d23b6858 _mysql: Move type converter initialization outside of module. When opening
the connection, a mapping of MySQL types to Python functions may be passed
as the keyword argument conv. This is stored as the converter attribute
on the connection object, and may be modified, assigned, etc.

MySQLdb: Build full converter dictionary, pass along to _mysql when
creating a connection.

MySQL_doc: Fixed a minor documentation bug.
1999-07-15 22:14:42 +00:00
2353d9ff30 Minor user-contributed stuff. 1999-07-08 03:05:10 +00:00
00ba949e48 IP: Add ip.masked() method to return the address with the mask applied
as a string.

smeat: Use IP and ipalloc database (startup only). Smeat now does it's
stats using a netmask of /24.

mysql: minor stuff
1999-04-28 04:23:51 +00:00
d7643502b1 Whoops. 1999-04-21 03:49:32 +00:00
bac59056aa Fix a typo.
Make it a bit more robust if DateTime can't be imported.
1999-04-08 01:48:33 +00:00