[nem-bug] [Nemerle 0000992]: Nemerle.Data.ExecuteReaderLoop macro:
nullable types from DB
feedback at nemerle.org
feedback at nemerle.org
Mon Apr 23 22:45:10 CEST 2007
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=992>
======================================================================
Reported By: apanteleev
Assigned To: nazgul
======================================================================
Project: Nemerle
Issue ID: 992
Category: The Macro Library
Reproducibility: always
Severity: tweak
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 04-23-2007 15:22 CEST
Last Modified: 04-23-2007 22:45 CEST
======================================================================
Summary: Nemerle.Data.ExecuteReaderLoop macro: nullable types
from DB
Description:
1. Not all columns returned from database are nullable => no need to
generate nullable variables for those that are not. So I've added a
compile-time check for nullableness, patch included. Tested with MySQL.
2. Why is System.Nullable[T] used instead of option[T]? That would be more
convinient.
======================================================================
----------------------------------------------------------------------
nazgul - 04-23-07 22:45
----------------------------------------------------------------------
Thanks for the patch.
Fixed on trunk (r7616).
As for Nullable - it is closer to the current .NET standard, also with a
bit better performance.
Issue History
Date Modified Username Field Change
======================================================================
04-23-07 15:22 apanteleev New Issue
04-23-07 15:22 apanteleev File Added: not_nullable.patch
04-23-07 22:45 nazgul Status new => resolved
04-23-07 22:45 nazgul Resolution open => fixed
04-23-07 22:45 nazgul Assigned To => nazgul
04-23-07 22:45 nazgul Note Added: 0001849
======================================================================
More information about the bugs
mailing list