Burton Strauss wrote: > Probably safer to use #ifdef (defined), vs. assuming it exists and testing > the value, i.e. > > #ifdef MYSQL_OPT_RECONNECT > mysql_options(sql->conn, MYSQL_OPT_RECONNECT, &do_reconnect); > #endif >
Yes, but if you test the version you can insert inside #IF ... #ENDIF all the features included in a specific database version...(you can use stored procedures, triggers, ecc.) I think... -- ___________________________________________________ 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
