oracle / python-oracledb

Python driver for Oracle Database conforming to the Python DB API 2.0 specification. This is the renamed, new major release of cx_Oracle
https://oracle.github.io/python-oracledb
Other
307 stars 59 forks source link

Question regarding packet information #289

Closed charankamarapu closed 2 months ago

charankamarapu commented 5 months ago

https://github.com/oracle/python-oracledb/blob/4c903a824da5ea3388f4417ab3e71017296b9442/src/oracledb/impl/thin/messages.pyx#L1883

what does line turnaround and value of 1 exactly mean here?

anthony-tuininga commented 5 months ago

I believe the line turnaround is an obsolete field and its value is unimportant.

The value of 1 is used to determine whether the client is little endian or big endian. Since the thin client uses the "heterogeneous" mode its value is not important either.

cjbj commented 2 months ago

Closing as answered.