]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed bug where the truncation of long labels in SQL could produce
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Apr 2015 20:02:59 +0000 (16:02 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Apr 2015 20:02:59 +0000 (16:02 -0400)
commitac52239b328f6dc573fdfb9acbbc7d5d528fa982
treec72c4a48deb76ad807629cc574c0fa6048ca348a
parent0783cb9337ad7711d216cc7e7b79e6fa6d4bbef1
- Fixed bug where the truncation of long labels in SQL could produce
a label that overlapped another label that is not truncated; this
because the length threshhold for truncation was greater than
the portion of the label that remains after truncation.  These
two values have now been made the same; label_length - 6.
The effect here is that shorter column labels will be "truncated"
where they would not have been truncated before.
fixes #3396
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/sql/compiler.py
test/sql/test_labels.py