Skip to content

Commit

Permalink
MySQL查询语句权限Bug修复 (#2778)
Browse files Browse the repository at this point in the history
* 添加favicon图片

* firset

* 修改

* 撤销

* 修复权限错误

---------

Co-authored-by: 王飞 <fei.wang@xgo.one>
  • Loading branch information
feiazifeiazi and 王飞 committed Aug 30, 2024
1 parent 29bc308 commit 8996542
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sql/engines/goinception.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,9 @@ def get_table_ref(query_tree, db_name=None):
table_ref.extend(
[
{
"schema": snode["Source"]["Schema"]["O"] or db_name,
"name": snode["Source"]["Name"]["O"],
"schema": snode["Source"].get("Schema", {}).get("O")
or db_name,
"name": snode["Source"].get("Name", {}).get("O", ""),
}
for snode in snodes
]
Expand Down

0 comments on commit 8996542

Please sign in to comment.