mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Quote identifier in filter dummy SQL connection-independently.
This commit is contained in:
@@ -4658,7 +4658,7 @@ begin
|
||||
// 1. find the currently edited sql-statement around the cursor position in synmemo
|
||||
if Editor = SynMemoFilter then begin
|
||||
// Concat query segments, so the below regular expressions can find structure
|
||||
sql := 'SELECT * FROM `'+ActiveDbObj.Name+'` WHERE ' + Editor.Text;
|
||||
sql := 'SELECT * FROM '+ActiveDbObj.QuotedName+' WHERE ' + Editor.Text;
|
||||
end else begin
|
||||
// Proposal in one of the query tabs
|
||||
QueryMarkers := GetSQLSplitMarkers(Editor.Text);
|
||||
|
||||
Reference in New Issue
Block a user