Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add In HA Event Callback #1

Open
wants to merge 773 commits into
base: master
Choose a base branch
from
Open

Conversation

byterock
Copy link

Had this patch lying about on an old box.

here is a link on the ORacel site

https://docs.oracle.com/database/121/ADFNS/adfns_avail.htm#ADFNS920

and the OCI docs

https://docs.oracle.com/cd/E11882_01/appdev.112/e10646/oci09adv.htm#LNOCI16691

Will add it in later this wee

deanpearce and others added 21 commits February 19, 2022 23:32
Removing outdated information from the list.
This changes the way things are done during login6 (connect). In
particular:

1. OCIEnv is cached based on character sets and mode. One copy
is used in all threads (so OCI_THREADED is important!)

2. There are no more global variables for character sets. So each
connection uses exactly what is specified at connection time. Thus
option ora_envhp is removed.

3. Improved support for DRCP. Now the pools are independent from
threads. The pool is defined by DSN and UID. No more leaking of
connections or pools. When last imp_drh goes away the pools
are released. It is now also possible to tag sessions in addition
to using connection_class (the latter works only with DRCP).

4. Reauthenticate now keeps old session as long as possible, so
if new identity is wrong, then old session stays intact.

5. Support for using shared variables is also improved. There is
now additional function ora_shared_release that cleans up shared
connection, when it is not needed anymore. Though it is still
cleaner to used DRCP. No more handles are leaking.

6. Support for imp_take is improved. No handles are leaking.
But it is cleaner to use DRCP.

7. Small fixes for compilation and handling of attributes.
This version uses to defines from oci.h, which where added after
version 12. Since I don't know exact version, when they were added,
I protect their usage by check for OCI above 18. For older OCI
these variables will be unavailable.

Additionally I've tried to fix some warnings in Makefile.PL and
stopped t/25plsql.t from checking if OCI has bug. After all DBD::Oracle
does not protect against this bug, so there is no sense to check if
OCI has it.
Added freeing of allocated handle. It is not needed anymore since OCIAttrSet copies its conent (according to Oracle developers)
The GHA will build against the "latest" Ubuntu/Perl/OracleXE/InstantClient
that is currently available.
Some old systems can not use inline function
haarg and others added 4 commits April 15, 2024 22:25
The latest stable release of DBD::Oracle listed the wrong bug tracker
and repository because it was released from a fork, and the [GithubMeta]
plugin used that fork to set the metadata.

Remove that plugin, and instead specify the bug tracker and repository
explicitly.
lzsiga and others added 3 commits July 15, 2024 21:01
On Gentoo, for better or worse, we install oracle-instantclient on 64-bit
systems to /usr/lib64/oracle/client/ with:
* /usr/lib64/oracle/client/lib for 32-bit libraries (multilib)
* /usr/lib64/oracle/client/lib64 for native 64-bit libraries

Adapt the logic to handle lib64 if it exists and we're using a 64-bit Perl.

(And fix some whitespace while at it.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.