Re: [PATCH] mysql_real_escape_string() usage in gw/dlr_mysql.c

2005-09-27 Thread Stipe Tolj
Peter Christensen wrote: Under all circumstances, the patch is better than the one I was forced to make myself in a hurry when I encountered the problem. I ended up not using the real_escape version because I didn't have time to dig into how the DB pool was working, and I didn't use the

RE: [PATCH] mysql_real_escape_string() usage in gw/dlr_mysql.c

2005-09-26 Thread Rene Kluwen
Stipe, list, IMHO consuming DBPoolConns is not a bad thing. After all, that is why the pool even exist. So consuming and producing sql connections is not so expensive. In your patch: Where exactly do you escpape the parameters to the sql string? I couldnt find that so quick. In most of the