[fcl-db] Add CreateQuery virtual method to TSQLScript
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
Currently there is no way to change TSQLScript.FQuery parameters.
E.g. I need to set TSQLQuery.PacketRecords property to -1 in order to fix the "Error 20019 : Attempt to initiate a new Adaptive Server operation with results pending" (see http://wiki.freepascal.org/mssqlconn#Error_20019_:_Attempt_to_initiate_a_new_Adaptive_Server_operation_with_results_pending )
The attached patch adds a virtual method that allows to create a custom FQuery or set its parameters.
Mantis conversion info:
- Mantis ID: 33863
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 39238 (#37306104)
- Target version: 3.2.0