[CONJ-346] handle innodb_autoinc_lock_mode when rewrite is activated Created: 2016-09-09 Updated: 2021-02-08 Resolved: 2021-02-08 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | batch |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Description |
|
According to server variable innodb_autoinc_lock_mode https://mariadb.com/kb/en/mariadb/auto_increment-handling-in-xtradbinnodb/ This can affect rewrite option. If variable innodb_autoinc_lock_mode is set to values that cannot permit to ensure generatedKeys are accurate, when query is asked with RETURN_GENERATED_KEYS, rewrite must not be used. |
| Comments |
| Comment by Diego Dupin [ 2021-02-08 ] |
|
won't do, since driver must not try to suppose, but only report sure things |