Bugs item #2075078, was opened at 2008-08-26 05:53
Message generated for change (Comment added) made by nielsnes
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2075078&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SQL/Core
Group: MonetDB5 5.6
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Qian Qiao (drizzlerain)
Assigned to: Niels Nes (nielsnes)
Summary: The length of inserted string exceed the definded, not trunc
Initial Comment:
OS:RedHat Linux AS 4
GCC:3.4.6
1.setup:
CREATE TABLE staff (
`CITY` char(15) DEFAULT NULL
);
2.insert:
INSERT INTO STAFF VALUES ('Claggetsville Maryland');
3.result:
select * from staff;
+-----------------+
| CITY |
+=================+
| Claggetsville |
: Maryland |
+-----------------+
4.question:
The length of inserted string exceed the definded 15.
----------------------------------------------------------------------
>Comment By: Niels Nes (nielsnes)
Date: 2008-09-09 12:42
Message:
fixed dynamic length checking.
----------------------------------------------------------------------
Comment By: Niels Nes (nielsnes)
Date: 2008-08-26 11:59
Message:
Logged In: YES
user_id=43556
Originator: NO
test script added to
src/tests/BugTracker-2008/Tests/string_length_not_checked.SF-2075078.sql
----------------------------------------------------------------------
Comment By: Fabian (mr-meltdown)
Date: 2008-08-26 07:11
Message:
Logged In: YES
user_id=963970
Originator: NO
an error should be returned instead
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2075078&group_id=56967
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs