28.05.2016 15:58, Dimitry Sibiryakov wrote:
>
> What is advantage of following code
>
>> string err_msg;
>> err_msg.printf("INTL module '%s' is of incompatible version number %d",
>> filename.c_str(), version);
>> gds__log(err_msg.c_str());
>
> over simple
>
>> gds__log("INTL module '%s' is of incompatible version number %d",
>> filename.c_str(), version);
AFAIU, no advantage. Someone just forgot that gds__log() deals with a
formatted string. Sometimes I do ;-)
Dmitry
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel