]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Remove erroneous assertion from array._bind_param
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 26 Aug 2019 13:45:06 +0000 (09:45 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 26 Aug 2019 13:50:46 +0000 (09:50 -0400)
commit4b5d162ed028558ac38c687d69f26ce93741789d
treed07ff1d069b0d28d9b98fca24e412eb1f32cd102
parente429ef1d31343b99e885f58a79800ae490155294
Remove erroneous assertion from array._bind_param

Fixed bug where Postgresql operators such as
:meth:`.postgresql.ARRAY.Comparator.contains` and
:meth:`.postgresql.ARRAY.Comparator.contained_by` would fail to function
correctly for non-integer values when used against a
:class:`.postgresql.array` object, due to an erroneous assert statement.

Fixes: #4822
Change-Id: I886aca4c86dc7d64e9d0dfc1d910a0ae64d775a1
doc/build/changelog/unreleased_13/4822.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/array.py
test/dialect/postgresql/test_compiler.py