[MDEV-6997] SET STATEMENT last_insert_id FOR ... does not affect the value written to the binlog Created: 2014-11-01 Updated: 2015-03-14 Resolved: 2015-03-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Admin statements |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.1.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Percona server works okay. |
| Comments |
| Comment by Oleksandr Byelkin [ 2014-11-05 ] |
|
The variable prohibited as a workaround. |
| Comment by Oleksandr Byelkin [ 2014-11-11 ] |
|
Problem was in reinitialization of first_successful_insert_id_in_prev_stmt_for_binlog after setting variables. |
| Comment by Oleksandr Byelkin [ 2015-02-25 ] |
|
Fixed test commit: revision-id: 60c1dc1ab24bfe9b3f4a898fe5e7cb070ee02cf7
|
| Comment by Oleksandr Byelkin [ 2015-03-06 ] |
|
Checked with stored functions everything is OK. |
| Comment by Oleksandr Byelkin [ 2015-03-13 ] |
|
revision-id: b7237786f5b8e74ba9558db8325d29a64f1a1d9b
Problem was in reinitialization of first_successful_insert_id_in_prev_stmt_for_binlog after setting variables. |