[GRASS-SVN] r36682 - grass/trunk/db/drivers/mysql
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 11 11:10:20 EDT 2009
Author: neteler
Date: 2009-04-11 11:10:20 -0400 (Sat, 11 Apr 2009)
New Revision: 36682
Modified:
grass/trunk/db/drivers/mysql/describe.c
Log:
conditionalize MYSQL_TYPE_NEWDECIMAL
Modified: grass/trunk/db/drivers/mysql/describe.c
===================================================================
--- grass/trunk/db/drivers/mysql/describe.c 2009-04-11 15:10:04 UTC (rev 36681)
+++ grass/trunk/db/drivers/mysql/describe.c 2009-04-11 15:10:20 UTC (rev 36682)
@@ -177,7 +177,9 @@
break;
case MYSQL_TYPE_DECIMAL:
+#ifdef MYSQL_TYPE_NEWDECIMAL
case MYSQL_TYPE_NEWDECIMAL:
+#endif
*sqltype = DB_SQL_TYPE_DECIMAL;
break;
More information about the grass-commit
mailing list