Martin Landa d213f3d735 sqlite manual: clean up 15 年 前
..
dbf d4295bbb94 dbf driver must not link to GDAL, fix for https://trac.osgeo.org/grass/ticket/792 16 年 前
mysql 19bae7fc46 Clear up misunderstanding about what a MYSQL_ROW is 16 年 前
odbc d6700ffb2c Update LIBES, DEPENDENCIES from linkage database 16 年 前
ogr e07b5711fd activate OFTDate, OFTTime, OFTDateTime (treat as strings as in DBF driver) 15 年 前
postgres d6700ffb2c Update LIBES, DEPENDENCIES from linkage database 16 年 前
sqlite d213f3d735 sqlite manual: clean up 15 年 前
Makefile 1292bf9a1e Major build system clean-up 17 年 前
README db49180dd7 welcome to GRASS 7.0.svn 17 年 前
mk_dbdriver_h.sh db49180dd7 welcome to GRASS 7.0.svn 17 年 前

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