[GRASS-dev] db.drivers -f

Hi,

what is purpose of `full output` in `db.drivers`? It just prints

sqlite:
pg:
dbf:
odbc:
ogr:
mysql:

Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

Martin wrote:

what is purpose of `full output` in `db.drivers`?
It just prints

sqlite:
pg:
dbf:
odbc:
ogr:
mysql:

it seems dbDbmscap->comment is not currently used.

see comments in lib/db/bmi_base/dbmscap.c

at least for "pg" it might be useful to explain
what it is, and what it is not (ie not PostGIS)

or put it to some other use like print the db
library version number. probably it would be
good to look into the grass 5 code and see what it
was used for there,

lib/db/bmi_base/dbmscap.c:
/* dbmscap file was used in grass5.0 but it is not used in
* grass5.7 until we find it necessary. All code for dbmscap
* file is commented here.
*
* Instead of in dbmscap file db_read_dbmscap() searches
* for available dbmi drivers in $(GISBASE)/driver/db/ */

...

/* START OF OLD CODE FOR dbmscap FILE - NOT USED, BUT KEEP IT FOR FUTURE */
#if 0

...

Hamish