mysql tips
Status: Beta
Brought to you by:
t-m
Hi,
I set up bmf using mysql. One of the functions in
dbmysql.c has a bug, I think. The function is
sql_escape().
Just after the while loop, the string should be
terminated, so you could just add the following:
*d = *s;
I'm looking at v 1.9 of dbmysql.c and I added it as line
37.
I noticed this problem when strings had the single quote
character in them (').
Thanks for this tool. It's fast!
Allan