(conn)
| 4 | |
| 5 | |
| 6 | def _get_version(conn): |
| 7 | # this is the suggested way of finding the mode, from |
| 8 | # https://python-oracledb.readthedocs.io/en/latest/user_guide/tracing.html#finding-the-python-oracledb-mode |
| 9 | sql = ( |
| 10 | "SELECT UNIQUE CLIENT_DRIVER " |
| 11 | "FROM V$SESSION_CONNECT_INFO " |
| 12 | "WHERE SID = SYS_CONTEXT('USERENV', 'SID')" |
| 13 | ) |
| 14 | return conn.exec_driver_sql(sql).scalar() |
| 15 | |
| 16 | |
| 17 | def run_thin_mode(url, queue, **kw): |
no test coverage detected