Commit Graph

8 Commits

Author SHA1 Message Date
R. Tyler Croy 8d02315985 Merge pull request #1 from alexanderdidenko/patch-1
Update DatabaseWrapper class to operate similarly to the standard MySQL backend
2011-09-07 17:27:34 -07:00
Alexander Didenko 5b2a4bd1da Update DatabaseWrapper class to operate similarly to the standard MySQL backend
Updating to use the API for Django 1.3
2011-09-08 02:52:52 +03:00
R. Tyler Ballance 8943486c4e Disable warnings.filterwarnings call that fails on Python 2.6 2010-02-19 00:37:43 -08:00
R. Tyler Ballance adcb259bb8 Borrow some attributes from the MySQLdb-backend's DatabaseFeatures class
I did not take the attribute `empty_fetchmany_value = ()` which results in
blocking on fetchmany()

For example, this is where we "hang" in that case (just including the pertinent part
of the traceback)::

  File "/usr/local/lib/python2.6/site-packages/django/db/models/sql/query.py", line 2383, in <lambda>
    result = iter((lambda: cursor.fetchmany(GET_ITERATOR_CHUNK_SIZE)),
  File "/usr/local/lib/python2.6/site-packages/mysql/connector/cursor.py", line 492, in fetchmany
    while cnt > 0 and self._have_result:
2010-02-19 00:35:02 -08:00
R. Tyler Ballance 9d78231e92 Make use of the DatabaseOperations class from the MySQLdb-backend for Django 2010-02-19 00:34:30 -08:00
R. Tyler Ballance 37e722ee01 Nuke accidentally added build/ directory 2010-02-18 14:51:30 -08:00
R. Tyler Ballance 239c8b87a8 Update DatabaseWrapper class to operate similarly to the standard MySQL backend
Updating to use the API for Django 1.1.1
2010-02-18 14:50:31 -08:00
Geert Vanderkelen c59faac144 Initial upload 2010-02-17 15:53:12 -08:00