Skip to content

Commit 45e0c27

Browse files
committed
#3342, ignoring M in typmod output
git-svn-id: http://svn.osgeo.org/postgis/trunk@14304 b70326c6-7e19-0410-871a-916f4a2858ee
1 parent b2c2f67 commit 45e0c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgis/gserialized_typmod.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Datum postgis_typmod_out(PG_FUNCTION_ARGS)
5858
POSTGIS_DEBUGF(3, "Got typmod(srid = %d, type = %d, hasz = %d, hasm = %d)", srid, type, hasz, hasm);
5959

6060
/* No SRID or type or dimensionality? Then no typmod at all. Return empty string. */
61-
if ( ! ( srid || type || hasz || hasz ) )
61+
if ( ! ( srid || type || hasz || hasm ) )
6262
{
6363
*str = '\0';
6464
PG_RETURN_CSTRING(str);

0 commit comments

Comments
 (0)