[CONJ-1090] AutoCommit Error Created: 2023-07-20 Updated: 2023-12-13 Resolved: 2023-12-13 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | JDBC 4.2 compatibility, JDBC compatibility |
| Affects Version/s: | 3.0.10, 3.1.4 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | stone | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Sever version:10.6.14-MariaDB [client] |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Looks like something wrong when invoking getAutoCommit method. |
| Comments |
| Comment by Diego Dupin [ 2023-07-26 ] |
|
hmm, i've tryed to reproduce the problem without success. |
| Comment by Diego Dupin [ 2023-07-26 ] |
|
maybe if connected to a database the current DB engine you are using too would help |
| Comment by stone [ 2023-07-27 ] |
|
The operation system is CentOS 7.9 Database init script: The current DB engine: Innodb AutoCommit method works fine in 2.7.9 strangely. |
| Comment by stone [ 2023-07-27 ] |
|
When remove 'autocommit=0' in my.cnf, AutoCommit method works fine. |
| Comment by Diego Dupin [ 2023-07-31 ] |
|
ho, i think i remember having seen something like that server returning wrong autocommit state when setting 'autocommit=0' in server conf file, but i've never been able to reproduced it. I'll check. |
| Comment by Diego Dupin [ 2023-07-31 ] |
|
btw, as a workaround, could you try explicitly set autocommit option on connection string using 'jdbc:mariadb://host/db?autocommit=true' |
| Comment by stone [ 2023-08-02 ] |
|
when appending '?autocommit=true' in jdbcUrl, 'getAutoCommit' method work return correctly |
| Comment by Diego Dupin [ 2023-12-13 ] |
|
closing since server correction |