Show
Ignore:
Timestamp:
11/23/05 06:52:39 (7 years ago)
Author:
strk
Message:

Changed M() and Z() to return NULL when input doesn't have
the requested dimension. Updated regress tests with a few
of these cases.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/regress/regress.sql

    r2057 r2059  
    224224select '132', Y('POINT(1 2)'); 
    225225select '133', Z('POINT(1 2)'); 
     226select '133a', Z('POINT(1 2 3)'); 
     227select '133b', Z('POINTM(1 2 3)'); 
     228select '133c', M('POINT(1 2)'); 
     229select '133d', M('POINTM(1 2 4)'); 
     230select '133e', M('POINT(1 2 4)'); 
    226231 
    227232select '134', distance('POINT(1 2)', 'POINT(1 2)');