https://issues.apache.org/bugzilla/show_bug.cgi?id=56586

--- Comment #4 from Craig Servin <cser...@cromagnon.com> ---
It just seems like the connection initialization should persist for the life of
the connection.  If I have some DML that initializes a connection, and it is
returned to the pool, when I use that connection again it should still be
initialized.  In this case it wasn't, and it became apparent when the wrong
data was returned.

Adding the ";commit" worked as a solution for me it was just interesting to
track down because I expected the initSQL to be permanent for the life of the
connection.

Since different people will have different initSQL commiting the initSQL seems
correct to me, but I have know idea what most people would expect.

No objection to option, default, or leave it as is.  I just wanted to let
people know what I found.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to