MySQLdb-SVN Log


Commit Date  
[r540] by eikenberry

Made some changes to how use_unicode and auto_create_db are set to better allow
for subclassing and extensions of the base classes.

2008-05-01 16:29:39 Tree
[r539] by eikenberry

Added condition to handle connection getting "out of sync". This can occur
when, for instance, you get a stray semicolon in a query. When a connection
gets in this state it is hosed and must be closed and reconnected.

So in this case we do a close/reconnect as well as log a error about it.

2008-04-14 20:09:11 Tree
[r538] by eikenberry

Bug 1932309

Updated ImageFile to import from App.ImageFile instead of ImageFile as the
latter is deprecated and causes namespace conflicts with PIL.

2008-04-02 15:05:52 Tree
[r537] by adustman

Fix #1808476

2008-04-01 16:16:14 Tree
[r536] by adustman

Fix #1931404

2008-04-01 16:06:57 Tree
[r535] by adustman

Missing file, but #1928858

2008-03-29 19:57:53 Tree
[r534] by eikenberry

Upped version to 3.0beta1.

2008-03-27 22:15:24 Tree
[r533] by eikenberry

Added test to make sure value is unicode before calling unicode_literal.

2008-03-27 22:05:26 Tree
[r532] by eikenberry

Spelling mistake in doc string.

2008-03-18 20:37:48 Tree
[r531] by eikenberry

Added version dependent call in _forceReconnection() to initialize the ping()
as a reconnecting command. This initialization is necessary with mysqldb
versions >= 1.2.2. It is only required once per connection instance as it is
persistent for the life of that instance.

2008-03-17 22:17:53 Tree
[r530] by adustman

Tons of changes from major refactoring/cleanup. This is all really broken
right now. In particular, all results are returned as strings.

2008-03-14 23:06:29 Tree
[r529] by eikenberry

In some cases sql_quote__() can be called before connect() (and thus no
_v_database_connection is set).

Added a check and connect() call if necessary.

2008-03-13 02:24:07 Tree
[r528] by eikenberry

Fixed an issue that MySQLdb versions previous to 1.2.2 had with Blob/Binary
types. It would convert them into character arrays instead of strings. Added version test and compatibility fix.

2008-02-26 19:17:40 Tree
[r527] by eikenberry

Upped version to 3.0alpha4.

2008-02-20 20:30:38 Tree
[r526] by eikenberry

Added joinTM.py which inherits from the standard ZRDB.TM and overrides its
_register() method to use the transaction's join() method directly. This avoids
a couple unnecessary abstraction levels and avoids some problems with the
overridden _register() and the transaction's register(). The former has a bare
except: that hides useful errors. The latter deals poorly with exceptions
raised from the join due to state modifications made before the join attempt.

This raises the Zope Dependency to Zope-2.8 or newer.

Changed the variables() method to be simpler and not hide errors.

Change a text exception to a class based one.

2008-02-20 19:48:25 Tree
[r525] by eikenberry

Removed reference to old _tlock attribute in _begin()'s except block.
Also added a comment about a redundancy.

2008-02-11 20:37:46 Tree
[r524] by eikenberry

Upping version to 3.0alpha3 for new release.

2008-02-08 18:50:13 Tree
[r523] by eikenberry

Removed usage of str.strip in map call in favor of list comprehension.
Did this to prevent issues with unicode values.

2008-02-08 16:27:59 Tree
[r522] by eikenberry

Some cleanups and extensions to the database introspection methods.

2008-02-08 04:15:23 Tree
[r521] by eikenberry

Cleanup.

Mostly added some comments and doc strings.
Removed some unused imports.
Couple formatting adjustments.

2008-02-06 18:43:36 Tree
[r520] by eikenberry

unicode_literal fixed to use MySQLdb's method

2008-02-06 18:41:32 Tree
[r519] by eikenberry

Fixing bad variable name.

2008-02-06 18:16:40 Tree
[r518] by eikenberry

Reworked unicode supporting code to use MySQLdb's unicode support.
As a plus, it now actually works in limited testing.

Also tweaked auto-create database to support creating unicode tables.

Note unicode support is still hardcoded as utf8. Though it theoretically
could be changed by subclassing/overridding the use of the DB class as it
is hardcoded as an attribute on it.

2008-02-06 05:23:05 Tree
[r517] by eikenberry

Removed the thread lock from around the pool read call as it is only necessary
around the writes.

2008-02-06 05:10:34 Tree
[r516] by eikenberry

Moved connection pool lock from around the entire connection process to just be
around the writing of the connection to the pool.

2008-02-06 05:07:49 Tree
Older >