Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
N/A
-
None
Description
drop database if exists db; |
drop user if exists u@localhost; |
create database db; |
use db; |
create table t (a text); |
insert into t values ('{"foo":"bar"}'); |
create user u@localhost; |
grant select (a) on db.t to u@localhost; |
|
--connect (con1,localhost,u,,db)
|
select a from t; |
select * from t, json_table(t.a, '$' columns(f varchar(20) path '$.foo')) as jt; |
bb-10.5-hf 6dfb3fab2 |
MariaDB [db]> select * from t, json_table(t.a, '$' columns(f varchar(20) path '$.foo')) as jt; |
ERROR 1142 (42000): SELECT command denied to user 'u'@'localhost' for table 'jt' |
It works on MySQL 8.0.19.
Attachments
Issue Links
- relates to
-
MDEV-17399 Add support for JSON_TABLE
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to TODO-2305 [ TODO-2305 ] |
Link | This issue relates to MENT-659 [ MENT-659 ] |
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
issue.field.resolutiondate | 2020-04-27 14:06:32.0 | 2020-04-27 14:06:32.306 |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 107398 ] | MariaDB v4 [ 157645 ] |