Skip to content

Commit

Permalink
修复"相同表结构查看没有复用结果tab" bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoQuote committed Nov 25, 2023
1 parent b9c0cb9 commit 271ad95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/templates/sqlquery.html
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ <h4 class="modal-title text-danger">收藏语句</h4>
tb_name = result['full_sql'].match(/^show\s+create\s+table\s+(.*);/)[1];
}
}
if (data.is_describe) {
if (data.is_describe || need_describe_display) {
if (tb_name === undefined) {
tb_name = $("#table_name").val();
}
Expand Down

0 comments on commit 271ad95

Please sign in to comment.