From: Adriano d. S. F. <adr...@gm...> - 2010-01-15 14:06:08
|
Alexander Peshkoff wrote: >> >> He also can free the sqlda and alloc another one that by coincidence >> receives the same memory address. >> >> I.e., these are things difficult to expect, but we know users. :-) > > If you plan to compare sqlda's by ptr, I'm afraid this is for sure something > wrong. Yes, that's what I feel. :-) So we can do it with memcmp and still do faster using new semantics (second fetch with NULL sqlda or sqlda passed to execute). The memcmp way will certainly be faster than current way, and will work automatically. Adriano |