Issue Details (XML | Word | Printable)

Key: CORE-1267
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adriano dos Santos Fernandes
Reporter: Alexander Tyutik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Small bug with default value for domains in PSQL

Created: 17/May/07 01:31 AM   Updated: 26/Jul/07 04:52 AM
Component/s: Engine
Affects Version/s: 2.1 Alpha 1
Fix Version/s: 2.1 Beta 1

Time Tracking:
Not Specified

Issue Links:
Relate
 


 Description  « Hide
CREATE DOMAIN BIT AS SMALLINT CHECK (VALUE IN (0,1) OR VALUE IS NULL);

COMMIT;

EXECUTE BLOCK
RETURNS (
  ID BIT)
AS
BEGIN
  SUSPEND;
END

Will return 0, but should return NULL

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Pavel Cisar added a comment - 26/Jul/07 04:52 AM
Fix verified for Beta 1, test added.