Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0(EOL), 10.1(EOL)
-
CentOS7 on Google Cloud, unixODBC 2.3.1 all tested drivers
-
10.0.25
Description
If you add an AFTER INSERT trigger on an Innodb table that simply tries to insert a record into a CONNECT table, adding a record to the Innodb table fails with:
Access denied for user 'root'@'localhost' (using password: YES) |
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Fix Version/s | 10.1 [ 16100 ] | |
Affects Version/s | 10.0 [ 16000 ] | |
Affects Version/s | 10.1 [ 16100 ] | |
Assignee | Olivier Bertrand [ bertrandop ] |
Assignee | Olivier Bertrand [ bertrandop ] | Sergei Golubchik [ serg ] |
Component/s | Authentication and Privilege System [ 13101 ] |
Affects Version/s | 10.1.11 [ 21202 ] |
Priority | Minor [ 4 ] | Major [ 3 ] |
Fix Version/s | 10.0 [ 16000 ] |
Sprint | 10.0.25 [ 50 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Assignee | Sergei Golubchik [ serg ] | Alexander Barkov [ bar ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Alexander Barkov [ bar ] | Sergei Golubchik [ serg ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Fix Version/s | 10.0.25 [ 21701 ] | |
Fix Version/s | 10.1.14 [ 21804 ] | |
Fix Version/s | 10.0 [ 16000 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 74100 ] | MariaDB v4 [ 150142 ] |
Thanks for the report.
create table tcon (i int) engine=Connect table_type=DOS file_name='tcon.dos';
# Query OK, 0 rows affected (0.14 sec)
create table tin (i int) engine=InnoDB;
# Query OK, 0 rows affected (0.49 sec)
create trigger tr after insert on tin for each row insert into tcon values (new.i);
# Query OK, 0 rows affected (0.04 sec)
insert into tin values (1);
# ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
# insert into tcon works all right:
insert into tcon values (1);
# Query OK, 1 row affected (0.00 sec)