[GRASSLIST:9434] Re: DBMI errors with MySQL tables

Radim Blazek radim.blazek at gmail.com
Tue Dec 13 03:15:16 EST 2005


On 12/13/05, Dylan Beaudette <dylan.beaudette at gmail.com> wrote:
> ./db/drivers/mysql/table.c:113:    G_debug(3, "load_table()");
> ./db/drivers/mysql/table.c:117:    G_debug(3, "load_table() - not loaded");
> ./db/drivers/mysql/table.c:193: G_debug(3, "load_table() - number of cols is
> %d", db.tables[t].ncols);
>
> Not sure how to interpret these debug messages...
>
> Further ideas? maybe we are getting closer...?

The mysql driver is a quick hack which was written by somebody as
copy-and-paste from dbf which is completely wrong (loading tables
to memery instead of mysql_fetch_field_direct fro each db_fetch etc.)
+ practicaly it is not maintained few years.
It should be completely rewritten.

Radim




More information about the grass-user mailing list