Am Freitag, den 31.03.2006, 09:25 +0000 schrieb Malek:
> hmmm, on second thoughts, the whole checking in appserver would add a
> redundant overhead (even if slight) cause the db does the check
> anyway.
Different backends do different checking. There may be backends that
raise an error on too long strings, other backends might silently cut
it, and others (like csv or maybe even sqlite) could just save the whole
string even though it was declared with a shorter length.
So it might well make sense to not rely on the backend doing proper
checks, and the overhead we add is really minimal.
Thanks,
Reinhard |