Markus Neteler 1cf58e90f6 SQLite is the default in GRASS 7 16 lat temu
..
dbf 1cf58e90f6 SQLite is the default in GRASS 7 16 lat temu
mysql 1d504387e7 conditionalize MYSQL_TYPE_NEWDECIMAL 16 lat temu
odbc 1292bf9a1e Major build system clean-up 17 lat temu
ogr 1292bf9a1e Major build system clean-up 17 lat temu
postgres 6b49e4a45e Add notice about unsupported C-like escapes in PG SQL (merge from develbranch_6) 16 lat temu
sqlite 1cf58e90f6 SQLite is the default in GRASS 7 16 lat temu
Makefile 1292bf9a1e Major build system clean-up 17 lat temu
README db49180dd7 welcome to GRASS 7.0.svn 17 lat temu
mk_dbdriver_h.sh db49180dd7 welcome to GRASS 7.0.svn 17 lat temu

README

This directory contains drivers for the DBMI library.
The driver functions are for internal usage.

The DBMI API to be used for module programming is available in:
grass6/lib/db/


NOTE:
db__driver_* functions are implemented in a driver. If some of them
are not used or defined, the driver will use stub functions in
grass6/lib/db/stubs/

For some platforms like Cygwin, multiply defined symbols are not
resolved in a way that UNIX does. Even worse is that it is impossible
to build shared libraries with undefined symbols. For example,
libgrass_dbmidriver.so cannot be built without any implementations
of db__driver_* functions which should be specific to a db driver.

To work around this problem, function pointers are defined to use
driver's implementations instead of those of the db stubs library.
To do this automatically, run '../mk_dbdriver_h.sh' in driver's
directory, #include "dbdriver.h" from main.c, and execute init_dbdriver().

Function pointers are defined in grass6/lib/db/dbmi_driver/dbstubs.h
This header file can be generated with
grass6/lib/db/dbmi_driver/mk_dbstubs_h.sh

Please read grass6/lib/db/README