Bug #2597 Endless recursion upon calling Connecion.rollback()

Submitted: 1 Feb 2004 2:04 Modified: 1 Feb 2004 5:42
Reporter: Yair dfwerfw Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version:3.0.7 OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any

[1 Feb 2004 2:04] Yair dfwerfw
Description:
	Stack overflow error due to endless recursion upon calling Connecion.rollback()

Stack trace:

....
at com.mysql.jdbc.Connection.rollback(Connection.java:1356)
	at com.mysql.jdbc.Connection.close(Connection.java:1028)
	at com.mysql.jdbc.Connection.cleanup(Connection.java:2050)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1853)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1787)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1768)
	at com.mysql.jdbc.Connection.rollbackNoChecks(Connection.java:1369)
	at com.mysql.jdbc.Connection.rollback(Connection.java:1356)
	at com.mysql.jdbc.Connection.close(Connection.java:1028)
	at com.mysql.jdbc.Connection.cleanup(Connection.java:2050)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1853)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1787)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1768)
	at com.mysql.jdbc.Connection.rollbackNoChecks(Connection.java:1369)
	at com.mysql.jdbc.Connection.rollback(Connection.java:1356)
	at com.mysql.jdbc.Connection.close(Connection.java:1028)
	at com.mysql.jdbc.Connection.cleanup(Connection.java:2050)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1853)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1787)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1768)
	at com.mysql.jdbc.Connection.rollbackNoChecks(Connection.java:1369)
	at com.mysql.jdbc.Connection.rollback(Connection.java:1356)
	at com.mysql.jdbc.Connection.close(Connection.java:1028)
	at com.mysql.jdbc.Connection.cleanup(Connection.java:2050)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1853)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1787)
	at com.mysql.jdbc.Connection.execSQL(Connection.java:1768)
	at com.mysql.jdbc.Connection.rollbackNoChecks(Connection.java:1369)
	at com.mysql.jdbc.Connection.rollback(Connection.java:1356)

How to repeat:
?

Suggested fix:
?
[1 Feb 2004 2:05] Yair dfwerfw
Note this is in version 3.0.7
[1 Feb 2004 2:11] Yair dfwerfw
oops, searching the bug reports I guess this was solved on 3.0.8 ?
[1 Feb 2004 5:42] Mark Matthews
Thank you for your bug report. This issue has already been fixed
in the latest released version of that product, which you can download at 
http://www.mysql.com/downloads/
[1 Feb 2004 5:43] Mark Matthews
This was fixed quite some time ago (You're using 3.0.7, 3.0.10 is the current stable driver version).

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.