Skip to content

Conversation

camporter
Copy link
Contributor

@camporter camporter commented Jan 24, 2019

Add the ability to set the action and client info on the database session for PDO OCI using PDO attributes.

This makes PDO OCI equivalent to oci8 extension functionality of having oci_set_action and oci_set_client_info functions.

Please let me know if there happens to be a better way to go about adding the ability to set these values.

Add the ability to set the action and client info on the database
session for PDO OCI using PDO attributes.
@camporter
Copy link
Contributor Author

@cjbj for your consideration, thanks :)

@cjbj
Copy link
Contributor

cjbj commented Jan 25, 2019

@camporter can I convince you to add OCI_ATTR_CLIENT_IDENTIFIER and OCI_ATTR_MODULE too?

Copy link
Contributor

@cjbj cjbj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are initial comments from code inspection. I haven't compiled it yet.

@camporter
Copy link
Contributor Author

Definitely! I'll add the other two.

Add tests for the new attributes, and check the setAttribute return
value.
@petk petk added the Feature label Jan 25, 2019
@camporter
Copy link
Contributor Author

@php-pulls
Copy link

Comment on behalf of sixd at php.net:

Merged Oracle DB end-to-end tracing attributes

@php-pulls php-pulls closed this Feb 11, 2019
@cjbj
Copy link
Contributor

cjbj commented Feb 11, 2019

@camporter thanks for the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants