courtesy Hajime Nakagami.
.. changelog::
:version: 0.9.0
+ .. change::
+ :tags: bug, mysql
+
+ Improved support for the cymysql driver, supporting version 0.6.5,
+ courtesy Hajime Nakagami.
+
.. change::
:tags: bug, examples
driver = 'cymysql'
description_encoding = None
- supports_sane_rowcount = False
+ supports_sane_rowcount = True
+ supports_sane_multi_rowcount = False
+ supports_unicode_statements = True
colspecs = util.update_copy(
MySQLDialect.colspecs,
raise_from_cause, text_type, string_types, int_types, binary_type, \
quote_plus, with_metaclass, print_, itertools_filterfalse, u, ue, b,\
unquote_plus, b64decode, b64encode, byte_buffer, itertools_filter,\
- StringIO, inspect_getargspec
+ iterbytes, StringIO, inspect_getargspec
from ._collections import KeyedTuple, ImmutableContainer, immutabledict, \
Properties, OrderedProperties, ImmutableProperties, OrderedDict, \
finally:
metadata.drop_all()
- @testing.crashes('mysql+cymysql', 'blocking with cymysql >= 0.6')
+ @testing.crashes('mysql+cymysql', 'blocking')
def test_unicode_warnings(self):
metadata = MetaData(testing.db)
table1 = Table('mytable', metadata, Column('col1', Integer,
# in pysqlite itself. background at:
# http://thread.gmane.org/gmane.comp.python.db.pysqlite.user/2290
+ @testing.crashes('mysql+cymysql', 'blocking')
def test_join_cache(self):
metadata = MetaData(testing.db)
table1 = Table('table1', metadata, Column('id', Integer,
testing.db.execute(users.delete()).close()
@classmethod
- @testing.crashes('mysql+cymysql', 'deadlock')
def teardown_class(cls):
users.drop(testing.db)
# mysqldb executemany() of the association table fails to
# report the correct row count
@testing.fails_if(lambda: testing.against('mysql')
- and not testing.against('+zxjdbc'))
+ and not (testing.against('+zxjdbc') or testing.against('+cymysql')))
def test_manytomany_nonpassive(self):
self._test_manytomany(False)