mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Issue #3212: Introduce TDBConnection.QuotedDbAndTableName(), callable with a db and table string. Internally calls TDBObject.QuotedDbAndTableName(), so we get the schema between db and table if required.
This commit is contained in:
@ -620,8 +620,7 @@ begin
|
||||
FileInfo := ListFiles.GetNodeData(Node);
|
||||
FileSize := _GetFileSize(FileInfo.Filename);
|
||||
FileReadDone := False;
|
||||
sql := 'INSERT INTO '+FConnection.QuoteIdent(comboDBs.Text)+'.'+FConnection.QuoteIdent(comboTables.Text) +
|
||||
' (';
|
||||
sql := 'INSERT INTO '+FConnection.QuotedDbAndTableName(comboDBs.Text, comboTables.Text) + ' (';
|
||||
ColNode := ListColumns.GetFirst;
|
||||
while Assigned(ColNode) do begin
|
||||
ColInfo := ListColumns.GetNodeData(ColNode);
|
||||
|
Reference in New Issue
Block a user