File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8180,7 +8180,7 @@ procedure TMainForm.QFvaluesClick(Sender: TObject);
81808180 ShowStatusMsg(_('Fetching distinct values ...'));
81818181 DbObj := ActiveDbObj;
81828182 Conn := DbObj.Connection;
8183- MaxSize := SIZE_GB;
8183+ MaxSize := SIZE_GB*2 ;
81848184 ColumnHasIndex := DataGridResult.ColIsKeyPart(ResultCol)
81858185 or DataGridResult.ColIsUniqueKeyPart(ResultCol)
81868186 or DataGridResult.ColIsPrimaryKeyPart(ResultCol);
@@ -8194,7 +8194,7 @@ procedure TMainForm.QFvaluesClick(Sender: TObject);
81948194 if not SynMemoFilter.Text.Trim.IsEmpty then
81958195 Query := Query + ' WHERE ' + SynMemoFilter.Text.Trim + CRLF;
81968196 Query := Query + ' GROUP BY '+Conn.QuoteIdent(ColName)+' ORDER BY c DESC, '+Conn.QuoteIdent(ColName);
8197- Data := Conn.GetResults(Conn.ApplyLimitClause('SELECT', Query, 30 , 0));
8197+ Data := Conn.GetResults(Conn.ApplyLimitClause('SELECT', Query, 50 , 0));
81988198 for i:=0 to Data.RecordCount-1 do begin
81998199 if QFvalues.Count > i then
82008200 Item := QFvalues[i]
You can’t perform that action at this time.
0 commit comments