8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 08:40:39 +01:00

Fixed (again) CORE-3373 - It is possible to store string with lenght 31 chars into column varchar(25).

This commit is contained in:
asfernandes 2015-04-03 01:31:15 +00:00
parent c4dcc1cf92
commit a1a745b942
2 changed files with 5 additions and 6 deletions

View File

@ -231,6 +231,11 @@
Contributor(s):
Alex Peshkov <peshkoff at mail.ru>
* Bugfix CORE-3373
It is possible to store string with lenght 31 chars into column VARCHAR(25)
Contributor(s):
Adriano dos Santos Fernandes <adrianosf at gmail.com>
* Bugfix CORE-2848
Page-level "lock conversion denied" or "lock denied" errors
Contributor(s):
@ -1512,11 +1517,6 @@
Contributor(s):
Adriano dos Santos Fernandes <adrianosf at gmail.com>
* Bugfix CORE-3373
It is possible to store string with lenght 31 chars into column VARCHAR(25)
Contributor(s):
Adriano dos Santos Fernandes <adrianosf at gmail.com>
* Bugfix CORE-3338
Regression: code changes disabled support for expression indexes with COALESCE, CASE and DECODE
Contributor(s):

View File

@ -955,7 +955,6 @@ int INTL_convert_string(dsc* to, const dsc* from, ErrorFunction err)
if (toCharSet->isMultiByte() &&
!(toCharSet->getFlags() & CHARSET_LEGACY_SEMANTICS) &&
toLength != 31 && // allow non CHARSET_LEGACY_SEMANTICS to be used as connection charset
src_len > dest_len)
{
err(Arg::Gds(isc_arith_except) << Arg::Gds(isc_string_truncation) <<