Changeset: 2dfb5ae2e84d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2dfb5ae2e84d
Modified Files:
        sql/backends/monet5/sql.mal
Branch: Oct2014
Log Message:

Headless does not require :void tails


diffs (90 lines):

diff --git a/sql/backends/monet5/sql.mal b/sql/backends/monet5/sql.mal
--- a/sql/backends/monet5/sql.mal
+++ b/sql/backends/monet5/sql.mal
@@ -700,10 +700,10 @@ comment "cast to bte and check for overf
 command calc.bte( v:void, digits:int, scale:int ) :bte 
 address nil_2dec_bte
 comment "cast to dec(bte) and check for overflow";
-command batcalc.bte( v:bat[:oid,:void], digits:int ) :bat[:oid,:bte] 
+command batcalc.bte( v:bat[:oid,:oid], digits:int ) :bat[:oid,:bte] 
 address batnil_2num_bte
 comment "cast to bte and check for overflow";
-command batcalc.bte( v:bat[:oid,:void], digits:int, scale:int ) 
:bat[:oid,:bte] 
+command batcalc.bte( v:bat[:oid,:oid], digits:int, scale:int ) :bat[:oid,:bte] 
 address batnil_2dec_bte
 comment "cast to dec(bte) and check for overflow";
 
@@ -726,10 +726,10 @@ comment "cast to sht and check for overf
 command calc.sht( v:void, digits:int, scale:int ) :sht 
 address nil_2dec_sht
 comment "cast to dec(sht) and check for overflow";
-command batcalc.sht( v:bat[:oid,:void], digits:int ) :bat[:oid,:sht] 
+command batcalc.sht( v:bat[:oid,:oid], digits:int ) :bat[:oid,:sht] 
 address batnil_2num_sht
 comment "cast to sht and check for overflow";
-command batcalc.sht( v:bat[:oid,:void], digits:int, scale:int ) 
:bat[:oid,:sht] 
+command batcalc.sht( v:bat[:oid,:oid], digits:int, scale:int ) :bat[:oid,:sht] 
 address batnil_2dec_sht
 comment "cast to dec(sht) and check for overflow";
 
@@ -752,10 +752,10 @@ comment "cast to int and check for overf
 command calc.int( v:void, digits:int, scale:int ) :int 
 address nil_2dec_int
 comment "cast to dec(int) and check for overflow";
-command batcalc.int( v:bat[:oid,:void], digits:int ) :bat[:oid,:int] 
+command batcalc.int( v:bat[:oid,:oid], digits:int ) :bat[:oid,:int] 
 address batnil_2num_int
 comment "cast to int and check for overflow";
-command batcalc.int( v:bat[:oid,:void], digits:int, scale:int ) 
:bat[:oid,:int] 
+command batcalc.int( v:bat[:oid,:oid], digits:int, scale:int ) :bat[:oid,:int] 
 address batnil_2dec_int
 comment "cast to dec(int) and check for overflow";
 
@@ -778,10 +778,10 @@ comment "cast to lng and check for overf
 command calc.lng( v:void, digits:int, scale:int ) :lng 
 address nil_2dec_lng
 comment "cast to dec(lng) and check for overflow";
-command batcalc.lng( v:bat[:oid,:void], digits:int ) :bat[:oid,:lng] 
+command batcalc.lng( v:bat[:oid,:oid], digits:int ) :bat[:oid,:lng] 
 address batnil_2num_lng
 comment "cast to lng and check for overflow";
-command batcalc.lng( v:bat[:oid,:void], digits:int, scale:int ) 
:bat[:oid,:lng] 
+command batcalc.lng( v:bat[:oid,:oid], digits:int, scale:int ) :bat[:oid,:lng] 
 address batnil_2dec_lng
 comment "cast to dec(lng) and check for overflow";
 
@@ -805,10 +805,10 @@ command calc.timestamp( v:void, digits:i
 address nil_2time_timestamp
 comment "cast to timestamp and check for overflow";
 
-command batcalc.timestamp( v:bat[:oid,:void] ) :bat[:oid,:timestamp] 
+command batcalc.timestamp( v:bat[:oid,:oid] ) :bat[:oid,:timestamp] 
 address batnil_2_timestamp
 comment "Cast to timestamp";
-command batcalc.timestamp( v:bat[:oid,:void], digits:int ) 
:bat[:oid,:timestamp] 
+command batcalc.timestamp( v:bat[:oid,:oid], digits:int ) 
:bat[:oid,:timestamp] 
 address batnil_2time_timestamp
 comment "cast to timestamp and check for overflow";
 
@@ -839,10 +839,10 @@ command calc.daytime( v:void, digits:int
 address nil_2time_daytime
 comment "cast to daytime and check for overflow";
 
-command batcalc.daytime( v:bat[:oid,:void] ) :bat[:oid,:daytime] 
+command batcalc.daytime( v:bat[:oid,:oid] ) :bat[:oid,:daytime] 
 address batnil_2_daytime
 comment "Cast to daytime";
-command batcalc.daytime( v:bat[:oid,:void], digits:int ) :bat[:oid,:daytime] 
+command batcalc.daytime( v:bat[:oid,:oid], digits:int ) :bat[:oid,:daytime] 
 address batnil_2time_daytime
 comment "cast to daytime and check for overflow";
 
@@ -877,7 +877,7 @@ comment "Get the clients current timesta
 command calc.date( v:void ) :date 
 address nil_2_date
 comment "cast to date";
-command batcalc.date( v:bat[:oid,:void] ) :bat[:oid,:date] 
+command batcalc.date( v:bat[:oid,:oid] ) :bat[:oid,:date] 
 address batnil_2_date
 comment "cast to date";
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to