diff options
author | Steve Johnson <steve@steveasleep.com> | 2014-01-09 18:00:38 -0800 |
---|---|---|
committer | Steve Johnson <steve@steveasleep.com> | 2014-01-09 18:00:38 -0800 |
commit | ce2874d482ac9086dfd867df678cbf4f287ae990 (patch) | |
tree | c91a72360b7e51af5006aa4be9e48b0b3f998433 | |
parent | b287a379e9257fe00c2ba5f01b332ebc51546cff (diff) | |
download | sqlalchemy-pr/56.tar.gz |
MySQL-Python <1.2.5 unicode compatibility notepr/56
Unicode and UnicodeText columns will have str instead of unicode values when used with MySQL-python versions prior to 1.2.5.
-rw-r--r-- | lib/sqlalchemy/dialects/mysql/mysqldb.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/mysql/mysqldb.py b/lib/sqlalchemy/dialects/mysql/mysqldb.py index c6942ae2d..b99b8f8d3 100644 --- a/lib/sqlalchemy/dialects/mysql/mysqldb.py +++ b/lib/sqlalchemy/dialects/mysql/mysqldb.py @@ -46,6 +46,9 @@ MySQL-python version 1.2.2 has a serious memory leak related to unicode conversion, a feature which is disabled via ``use_unicode=0``. It is strongly advised to use the latest version of MySQL-Python. +:class:`~sqlalchemy.Unicode` and :class:`~sqlalchemy.UnicodeText` +columns will have :class:`str` instead of :class:`unicode` values when +used with MySQL-python versions prior to 1.2.5. """ from .base import (MySQLDialect, MySQLExecutionContext, |