summaryrefslogtreecommitdiff
path: root/sql/json_table.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2021-03-24 16:36:50 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2021-04-21 10:21:44 +0400
commit6a5f86bf59f2f8a72e468f082a556ebd5c9cdc91 (patch)
treefe1895290000227dab5eb64253f34f49f6679e86 /sql/json_table.h
parent707d8653c46d4f457aecfee4eacf678a2ccc87c7 (diff)
downloadmariadb-git-6a5f86bf59f2f8a72e468f082a556ebd5c9cdc91.tar.gz
MDEV-25230 JSON_TABLE: CREATE VIEW with 2nd level NESTED PATH ends up with invalid frm, Assertion `m_status == DA_ERROR || m_status == DA_OK || m_status == DA_OK_BULK' failed.
Handle multiple NESTED paths.
Diffstat (limited to 'sql/json_table.h')
-rw-r--r--sql/json_table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/json_table.h b/sql/json_table.h
index 8988c05354a..4b375ea7867 100644
--- a/sql/json_table.h
+++ b/sql/json_table.h
@@ -97,6 +97,7 @@ private:
/* The child NESTED PATH we're currently scanning */
Json_table_nested_path *m_cur_nested;
+ bool column_in_this_or_nested(const Json_table_column *jc) const;
friend class Table_function_json_table;
};