[QGIS Commit] r15045 - trunk/qgis/src/providers/sqlanywhere
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Jan 14 10:09:31 EST 2011
Author: ddehaan
Date: 2011-01-14 07:09:31 -0800 (Fri, 14 Jan 2011)
New Revision: 15045
Modified:
trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.cpp
Log:
Changed SQLA provider to output WKB format 1.1 instead of 1.2.
Modified: trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.cpp
===================================================================
--- trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.cpp 2011-01-14 13:58:06 UTC (rev 15044)
+++ trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.cpp 2011-01-14 15:09:31 UTC (rev 15045)
@@ -901,7 +901,7 @@
QString sql = QString( "SELECT %1" ).arg( quotedIdentifier( mKeyColumn ) );
if ( mFetchGeom )
{
- sql += QString( ", %1 .ST_AsBinary('WKB(Version=1.2;endian=%2)') " )
+ sql += QString( ", %1 .ST_AsBinary('WKB(Version=1.1;endian=%2)') " )
.arg( geomColIdent() )
.arg( QgsApplication::endian() == QgsApplication::XDR ? "xdr" : "ndr" );
}
More information about the QGIS-commit
mailing list