Skip to content

Commit d9a4c44

Browse files
author
ddehaan
committed
Fixed typo returning max attribute value in SQLA provider.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15046 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b8fa756 commit d9a4c44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/sqlanywhere/qgssqlanywhereprovider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class QgsSqlAnywhereProvider: public QgsVectorDataProvider
144144

145145
/** Returns the maximum value of an attribute
146146
* @param index the index of the attribute */
147-
QVariant maximumValue( int index ) { return minmaxValue( index, "MIN" ); }
147+
QVariant maximumValue( int index ) { return minmaxValue( index, "MAX" ); }
148148

149149
/** Return the unique values of an attribute
150150
* @param index the index of the attribute

0 commit comments

Comments
 (0)