]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Normalize check constraints even more radically
authorFlorian Apolloner <apollo13@users.noreply.github.com>
Wed, 17 Jan 2018 21:38:50 +0000 (16:38 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 17 Jan 2018 21:38:50 +0000 (16:38 -0500)
commitafb121b0af8bd8a08f02031b5cf443b72dac952b
tree996cbdae966565900771ebc232f9ad2a88276dde
parent92cabe2d8803c5f4aa3e627ef131ffa765ddc1c6
Normalize check constraints even more radically

This is the only way I could get this test pass on informix, basically I strip every whitespace.
The sql text as recorded in informix is:
```
((a > 1 ) AND (a < 5 ) )
((a = 1 ) OR ((a > 2 ) AND (a <5 ) ) )
```
Yes, this is absolutely bonkers, but that is what I get :(

Change-Id: I936e860f2b75b521e5560c05c452dbe72f0d3812
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/413
lib/sqlalchemy/testing/suite/test_reflection.py