Comments (8)
Hi,
Can you provide a sample code that leads to the issue?
Thanks,
Vincent
from ocilib.
tha might be a little tricky as we use Qt. I will see if I can whip up an example without qt::concurrent or qtthread tomorrow
from ocilib.
Hi,
Any news ?
Without response, i would have to close the issue.
Regards,
Vincent
from ocilib.
Crap, I got sick and forgot about this completely >_< Sorry, I will try to provide a sample this weekend
from ocilib.
thanks :)
from ocilib.
Updating on the issue:
It's not that oci_break doesn't work. it's that it cant work when network cable has been physically disconnected mid query. However, the difference is:
On windows after a relatively short timeout you get: ORA-12152: TNS:unable to send break message and executions of the query thread continues.
On linux it just freezes indefinitely which is really, really bad, because it stops any attempt at error processing.
from ocilib.
Please check with following parameter defined at sqlnet.ora
SQLNET.SEND_TIMEOUT = 60
SQLNET.RECV_TIMEOUT = 60
TCP.CONNECT_TIMEOUT = 60
SQLNET.INBOUND_CONNECT_TIMEOUT = 60
from ocilib.
That was exactly what I needed, thanks.
from ocilib.
Related Issues (20)
- windows vs2019 OCI_ERR_LOADING_SHARED_LIB HOT 7
- OCI_DequeueGet() returns messages with OCI_Object payloads that can have NULL properties while being NOT NULL when queued HOT 6
- I encountered a confusing issue HOT 3
- configure script fails to detect oracle headers path on Oracle Linux 7 HOT 3
- Selecting ADT object hangs when OCILIB initialized with OCI_ENV_THREADED in develop-4.7.5 HOT 2
- Cancel/Terminate/Stop connection request HOT 2
- C++ API: Exception GetMessage HOT 3
- OCI_SubscriptionRegister() generates a segfault on failure HOT 7
- ocilib::Lob::GetConnection() does not compile anymore HOT 7
- OCI_GetTimeout() always returns 0 since v4.7.0 HOT 11
- OCI_GetSqlIdentifier() returns invalid values for Scrollable Statements when called more than once HOT 8
- Strange behaviour with XMLTYPE HOT 23
- OCI_TypeInfoGet() : In case of failure, newly created OCI_TypeInfo object is not removed from OCI_Connection internal cache
- OCI_GetServerMajorVersion() returns wrong values for Oracle Server version < 18.1 HOT 1
- OCI_RefToText() return garbage when charset is OCI_CHARSET_WIDE HOT 1
- Error occurred at OcilibEnvironmentInitialize: Cannot load OCI shared library (oci.dll) HOT 4
- Error occurred at OcilibResultsetFetchFirst: A null Resultset handle has been provided HOT 5
- Regarding the use of connection pool to obtain links, will it be automatically recycled by connection pool? HOT 1
- I don't know why I suddenly reported this error: ocilib\include\ocilibcpp\detail\exception.hpp(92): error C2061: syntax error: identifier 'nothrow' HOT 1
- Regarding using ocilib::Pool to get links ,what happens if the maximum link is reached? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocilib.