Troy Perkins wrote:
> Thanks Enrico, I found that before sending to the mailing list and did tried
> changing the 1 to a 0 for MYSQL_OPT_RECONNECT in database.c - still get the
> same problem.
so, I think, but I'm not a NTOP developer :-), a way to resolve your
problem is the following:
replace:
mysql_options(sql->conn, MYSQL_OPT_RECONNECT, &do_reconnect);
with:
#if MYSQL_VERSION_ID >= 50013
mysql_options(sql->conn, MYSQL_OPT_RECONNECT, &do_reconnect);
#endif
Bye :-)
--
___________________________________________________
Enrico Lorenzo De Vito IT MANAGER at SDT S.p.A.
EUCIP Elective Information System Analyst Certified
EUCIP Core Certified N. ITA0000001576 - AIP N. 2884
Tel. 3477324347 - Tel. 3922092003 - Tel. 085413686
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev