Bug #1113 If in a trans, a non-trans table is updated by INSERTSELECT, ROLLBACK, no error

Submitted: 21 Aug 2003 8:41 Modified: 22 Aug 2003 7:02
Reporter: Guilhem Bichot Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0 OS:Any (all)
Assigned to: Guilhem Bichot CPU Architecture:Any

[21 Aug 2003 8:41] Guilhem Bichot
Description:
see "how to repeat".
This is specific to INSERT SELECT; normal INSERT triggers the error.

How to repeat:
create table ti (a int) type=innodb;
create table tm (a int) type=myisam;
begin;
insert into ti values(10);
insert into tm select * from ti;
rollback;

# should say some changes to non-transactional tables couldn't be rolled back (error 1196)

Suggested fix:
will send a patch for approval now.
[22 Aug 2003 7:02] Guilhem Bichot
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html

ChangeSet@1.1576.4.1, 2003-08-22 15:39:24+02:00, guilhem@mysql.com

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

Page generated in 0.046 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.