[GRASS-SVN] r67368 - sandbox/martinl

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 24 08:09:00 PST 2015


Author: martinl
Date: 2015-12-24 08:09:00 -0800 (Thu, 24 Dec 2015)
New Revision: 67368

Added:
   sandbox/martinl/test-2775.c
Log:
sample program for testing #2775

Added: sandbox/martinl/test-2775.c
===================================================================
--- sandbox/martinl/test-2775.c	                        (rev 0)
+++ sandbox/martinl/test-2775.c	2015-12-24 16:09:00 UTC (rev 67368)
@@ -0,0 +1,13 @@
+#include<grass/gis.h>
+#include<grass/dbmi.h>
+
+int main()
+{
+  dbDriver *db1 = db_start_driver("sqlite");
+  dbDriver *db2 = db_start_driver("sqlite");
+
+  fprintf(stderr, "closing db1\n");
+  db_shutdown_driver(db1);
+  fprintf(stderr, "closing db2\n");
+  db_shutdown_driver(db2);
+}



More information about the grass-commit mailing list