[QGIS Commit] r15046 - trunk/qgis/src/providers/sqlanywhere

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Jan 14 15:46:21 EST 2011


Author: ddehaan
Date: 2011-01-14 12:46:21 -0800 (Fri, 14 Jan 2011)
New Revision: 15046

Modified:
   trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.h
Log:
Fixed typo returning max attribute value in SQLA provider.


Modified: trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.h
===================================================================
--- trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.h	2011-01-14 15:09:31 UTC (rev 15045)
+++ trunk/qgis/src/providers/sqlanywhere/qgssqlanywhereprovider.h	2011-01-14 20:46:21 UTC (rev 15046)
@@ -144,7 +144,7 @@
 
     /** Returns the maximum value of an attribute
      *  @param index the index of the attribute */
-    QVariant maximumValue( int index ) { return minmaxValue( index, "MIN" ); }
+    QVariant maximumValue( int index ) { return minmaxValue( index, "MAX" ); }
 
     /** Return the unique values of an attribute
      *  @param index the index of the attribute



More information about the QGIS-commit mailing list