]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- The :class:`.mysql.SET` type has been overhauled to no longer
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 4 Jan 2015 01:43:45 +0000 (20:43 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 4 Jan 2015 01:43:45 +0000 (20:43 -0500)
commit93742b3d5c16d3f1e27ff0d10c8e65e1b54971a3
tree2c772e76dcd10ccb7512bd30917c6fab110e7fb9
parent01a22a673ecefcc212b124d11c74d99b6f02cfb0
- The :class:`.mysql.SET` type has been overhauled to no longer
assume that the empty string, or a set with a single empty string
value, is in fact a set with a single empty string; instead, this
is by default treated as the empty set.  In order to handle persistence
of a :class:`.mysql.SET` that actually wants to include the blank
value ``''`` as a legitimate value, a new bitwise operational mode
is added which is enabled by the
:paramref:`.mysql.SET.retrieve_as_bitwise` flag, which will persist
and retrieve values unambiguously using their bitflag positioning.
Storage and retrieval of unicode values for driver configurations
that aren't converting unicode natively is also repaired.
fixes #3283
doc/build/changelog/changelog_10.rst
doc/build/changelog/migration_10.rst
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/util/langhelpers.py
test/dialect/mysql/test_types.py