[mapserver-commits] r7986 - branches/branch-5-2/mapserver
svn at osgeo.org
svn at osgeo.org
Sat Oct 18 16:53:06 EDT 2008
Author: tamas
Date: 2008-10-18 16:53:06 -0400 (Sat, 18 Oct 2008)
New Revision: 7986
Modified:
branches/branch-5-2/mapserver/mapmssql2008.c
Log:
Fix for the access violation caused by msMSSQL2008LayerGetShape (#2795)
Modified: branches/branch-5-2/mapserver/mapmssql2008.c
===================================================================
--- branches/branch-5-2/mapserver/mapmssql2008.c 2008-10-18 20:49:28 UTC (rev 7985)
+++ branches/branch-5-2/mapserver/mapmssql2008.c 2008-10-18 20:53:06 UTC (rev 7986)
@@ -1471,7 +1471,7 @@
return MS_FAILURE;
}
- return msMSSQL2008LayerGetShapeRandom(layer, shape, 0);
+ return msMSSQL2008LayerGetShapeRandom(layer, shape, &(layerinfo->row_num));
}
/* Query the DB for info about the requested table */
More information about the mapserver-commits
mailing list