[GRASS-SVN] r36681 - grass/branches/develbranch_6/db/drivers/mysql
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 11 11:10:04 EDT 2009
Author: neteler
Date: 2009-04-11 11:10:04 -0400 (Sat, 11 Apr 2009)
New Revision: 36681
Modified:
grass/branches/develbranch_6/db/drivers/mysql/describe.c
Log:
conditionalize MYSQL_TYPE_NEWDECIMAL
Modified: grass/branches/develbranch_6/db/drivers/mysql/describe.c
===================================================================
--- grass/branches/develbranch_6/db/drivers/mysql/describe.c 2009-04-11 11:44:59 UTC (rev 36680)
+++ grass/branches/develbranch_6/db/drivers/mysql/describe.c 2009-04-11 15:10:04 UTC (rev 36681)
@@ -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