Home » U++ Library support » U++ SQL » SqlPerformScript bug: Not doing anything if script starts with "BEGIN;" and ends with "END;"
Re: SqlPerformScript bug: Not doing anything if script starts with "BEGIN;" and ends with "END;" [message #60212 is a reply to message #60211] |
Fri, 13 October 2023 12:30 |
zsolt
Messages: 698 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
Thanks for the clarification.
I create a database dump in a web server and push the whole thing to the socket as an HTTP response body.
At the start I don't know the size of it, so I don't fill the Content-Length header.
I thought it would be a good idea to put it in a transaction to ensure, that the client read the whole thing until the end.
I don't need triggers there, so I think, I will use my modified version with no level handling.
Thanks again.
|
|
|
Goto Forum:
Current Time: Sun Jun 02 09:56:24 CEST 2024
Total time taken to generate the page: 0.01658 seconds
|