Skip to content
Permalink
Browse files

Changed SQLA provider to output WKB format 1.1 instead of 1.2.

git-svn-id: http://svn.osgeo.org/qgis/trunk@15045 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
ddehaan
ddehaan committed Jan 14, 2011
1 parent 58c0406 commit 4dbb5163995c965773d37e6a4de2f2ee4afbcdf7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/sqlanywhere/qgssqlanywhereprovider.cpp
@@ -901,7 +901,7 @@ QgsSqlAnywhereProvider::makeSelectSql( QString whereClause ) const
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" );
}

0 comments on commit 4dbb516

Please sign in to comment.
You can’t perform that action at this time.