Database search feature: prefer a normal log line for tables with no matching data type, so the "Found rows" column has a number, to fix wrong sorting

This commit is contained in:
Ansgar Becker
2021-03-12 09:10:04 +01:00
parent 79b9d7caf8
commit 5b86687f2c

View File

@@ -999,8 +999,11 @@ begin
+ SQL;
end;
AddResults(SQL, DBObj.Connection);
end else
AddNotes(DBObj, f_('%s%s doesn''t have columns of selected type (%s).', [STRSKIPPED, DBObj.ObjType, comboDatatypes.Text]), '');
end else begin
// Prefer a normal log line, so the "Found rows" column has a number, to fix wrong sorting
//AddNotes(DBObj, f_('%s%s doesn''t have columns of selected type (%s).', [STRSKIPPED, DBObj.ObjType, comboDatatypes.Text]), '');
AddNotes(DBObj.Database, DBObj.Name, '0', '0%');
end;
end;
end;