Subject | Re: [firebird-support] 60 chars in a 50 field |
---|---|
Author | Ann W. Harrison |
Post date | 2005-02-26T18:11:21Z |
Kjell Rilbe wrote:
The decision was made, deliberately and consciously to allocate string
files large enough to hold the largest probably value in the character
set and to allow as many characters to be stored in the field as fit.
Not an accident, an intentional, possibly incorrect, decision.
In the case of system tables, that behavior is essential, or all system
table objects would be restricted to 10 character names.
The problem is not that the people working on the engine are too
ignorant, incompetent, or dumb to fix what seems to you to be an obvious
bug. The problem is that the "bug" is a longstanding deliberate
behavior of the engine and changing the behavior risks breaking existing
applications. Adriano has explained a solution to the problem that
involves a new character set with new behavior. That's an upward
compatible solution that will be available in V2 - but not in the V2 alpha.
Regards,
Ann
> So what's needed is a better sizecheck function that works at theThe behavior you're seeing was not an oversight or a careless mistake.
> conceptual level instead of at the implementation level.
The decision was made, deliberately and consciously to allocate string
files large enough to hold the largest probably value in the character
set and to allow as many characters to be stored in the field as fit.
Not an accident, an intentional, possibly incorrect, decision.
In the case of system tables, that behavior is essential, or all system
table objects would be restricted to 10 character names.
The problem is not that the people working on the engine are too
ignorant, incompetent, or dumb to fix what seems to you to be an obvious
bug. The problem is that the "bug" is a longstanding deliberate
behavior of the engine and changing the behavior risks breaking existing
applications. Adriano has explained a solution to the problem that
involves a new character set with new behavior. That's an upward
compatible solution that will be available in V2 - but not in the V2 alpha.
Regards,
Ann