Print Thread
Query Thread Active
#1768 03/08/01 06:16 PM
Joined: Mar 2001
Posts: 1
C
M
Member
OP Offline
Member
M
Joined: Mar 2001
Posts: 1
C
When I send an Insert statement and it fails, when i try again gives me an error "Query thread is still active".
I don't know how to stop that thread (stoping program, or IDE or PC doesn't work)
The server log show me that a connection is not dropped when the query fails.


Re: Query Thread Active
#1769 03/10/01 04:27 PM
Joined: Aug 1999
Posts: 22,280
Member
Offline
Member
Joined: Aug 1999
Posts: 22,280
I tried this, but it works just fine. I assume you have set TOracleQuery.Threaded to True. How do you handle the exception? How exactly do you retry the insert? This can be tricky in a multi-threaded environment.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.025s Queries: 13 (0.008s) Memory: 2.4955 MB (Peak: 3.0396 MB) Data Comp: Off Server Time: 2024-09-16 03:05:25 UTC
Valid HTML 5 and Valid CSS