Einzelnen Beitrag anzeigen

Edelfix

Registriert seit: 6. Feb 2015
Ort: Stadtoldendorf
238 Beiträge
 
Delphi 10.4 Sydney
 
#10

AW: MyDac Table mit Open und FetchAll

  Alt 14. Mär 2025, 11:01
Es gibt eine neue Antwort von Devart:

Please be advised that the error message "Lost connection to MySql server during query" during debugging in the IDE is not a bug. These are the features of the scenario of our components' operation.

In order to be able to suppress this exception and at the same time not affect other exceptions that notify real issues, we will add a new class - EMySqlNetException = class(EMySqlException) for the MySqlNet module for generating internal errors.

This will allow us to suppress the output of this error message (which can occur when FetchAll = False and is then correctly processed by us, but is issued as an exception in the IDE) for the new exception class while leaving accessible all other important exception classes (messages about a real issue) for display.

Könnte eventuell auch für andere hilfreich sein.
  Mit Zitat antworten Zitat