[GRASS-dev] string madness

Daniel Calvelo dca.gis at gmail.com
Sat Mar 17 12:10:27 EDT 2007


Hi Markus,

On 3/17/07, Markus Neteler <neteler at itc.it> wrote:
[...]
> Apparently the db_set_string() fails.
> Adding debug output to db_set_string() in lib/db/dbmi_base/string.c
> shows that the date string does not "reach" db_set_string() above.
> Maybe the '-' chars in 2001-04-03 are evil for db_set_string()?

What reaches db_set_string()? NULL?

Don't you get a warning when compiling? sqlite3_column_text() returns
a const unsigned char * and db_set_string expects a plain char *. My
guess is casting problems.

Daniel.

-- 
-- Daniel Calvelo Aros




More information about the grass-dev mailing list