Navigation Menu

Skip to content

Commit

Permalink
Changed SQLA provider to output WKB format 1.1 instead of 1.2.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15045 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
ddehaan committed Jan 14, 2011
1 parent d172b17 commit b8fa756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/sqlanywhere/qgssqlanywhereprovider.cpp
Expand Up @@ -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" );
}
Expand Down

0 comments on commit b8fa756

Please sign in to comment.