Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 SQLInsert fails under mySQL - ID: 635433
Last Update: Settings changed ( mhkay )

SQLInsert attempts to do commit() even if autocommit is
switched on. This can cause it to fail.

See <a
href="http://sourceforge.net/forum/forum.php?thread_id=758787&foru
m_id=94027">forum</a>

Present in 6.5.2, 7.2, and all earlier releases.

Source code fixed. Tested by the user reporting the
problem.

Specifically, in module SQLInsert.java, change

connection.commit();

to

if (!connection.getAutoCommit()) {
connection.commit();
}

Michael Kay




Michael Kay ( mhkay ) - 2002-11-08 10:37

5

Closed

Fixed

Michael Kay

Saxon extensions

v6.5.2

Public


Comments ( 2 )

Date: 2003-08-07 11:59
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

For the record, the source code is fixed in both branches.


Date: 2002-11-18 14:15
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Fixed in 7.3


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2003-08-14 14:21 mhkay
resolution_id None 2003-08-14 14:21 mhkay
close_date - 2003-08-14 14:21 mhkay