On 18/02/2014 19:26, Claudio Valderrama C. wrote: >> -----Original Message----- >> From: Thomas Steinmaurer [mailto:t...@iblogmanager.com] >> Sent: Martes, 18 de Febrero de 2014 17:02 >> >> Tried todays snapshot build (Win 32-bit). The output looks like a bit >> weird regarding package/procedure name: >> >> Procedure PKG_SCHE´õŸ: >> 0 ms > Probable because the string created by QualifiedName.toString() goes out of > scope before the contents can be copied. While it would be more tedious to > use, I would prefer this function changed to > > string toString(string& out) > > to ensure the result is written in "out" and not in a temporary object. > > Then you need to change every routine that returns a string.
The problem is not with this function. The problem is where is passing a c_str() of a temporary object. Adriano ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel