--- ibx/trunk/runtime/IBQuery.pas 2016/02/15 14:44:25 38 +++ ibx/trunk/runtime/IBQuery.pas 2016/05/17 08:14:52 39 @@ -509,7 +509,7 @@ end; procedure TIBQuery.UpdateSQL; begin - if not FSQLUpdating and not FInQueryChanged then + if not FSQLUpdating and not FInQueryChanged and (SQL.Text <> SelectSQL.Text) then begin FSQLUpdating := true; try