On Wed, Sep 26, 2007 at 01:43:34PM +0900, ITAGAKI Takahiro wrote:
Here is a revised patch against CVS HEAD.
I fixed a bug in ECPGdeallocate_all().
Applied to CVS HEAD. I also added your example to the regression tests.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at
On Tue, Sep 25, 2007 at 03:22:13PM +0900, ITAGAKI Takahiro wrote:
Here is a WIP patch to make prepared statements thread-safe in ecpg.
The variable prep_stmts was global but not protected by any locks.
I divided it into per-connection field so that we can access prepared
statements separately
Here is a revised patch against CVS HEAD.
I fixed a bug in ECPGdeallocate_all().
Michael Meskes [EMAIL PROTECTED] wrote:
Could you please create a small example that we could add to the
regression suite?
The attached prep.pgc is an example for this fix,
that repeats EXEC SQL PREPARE and
Andreas Pflug [EMAIL PROTECTED] writes:
When checking for thread safety with src/tools/thread/thread_test.c, the
mktemp function wants an argument that contains 6 X, while the current
version only supplies 5 X which will fail on my SuSE 8.1.
Patch attached.
Isn't this going to break
Tom Lane wrote:
Andreas Pflug [EMAIL PROTECTED] writes:
When checking for thread safety with src/tools/thread/thread_test.c, the
mktemp function wants an argument that contains 6 X, while the current
version only supplies 5 X which will fail on my SuSE 8.1.
Patch attached.
Isn't this
Tom Lane wrote:
Andreas Pflug [EMAIL PROTECTED] writes:
When checking for thread safety with src/tools/thread/thread_test.c, the
mktemp function wants an argument that contains 6 X, while the current
version only supplies 5 X which will fail on my SuSE 8.1.
Patch attached.
Isn't this