KI_REDIR_CONNECT
Argument | Enumeration | Purpose |
---|---|---|
conn | Connect to be redirected | |
redirconn | Connect redirected to | |
type | Type of redirection | |
status | KDB_ERROR_ENUM | Return status |
KI_REDIR_CONNECT
This allows redirections of some functions from connection handle conn to another redirconn. Both connection handles must exist having been allocated by KI_ALLOC_CONNECT and instantiated by KI_CONNECT. The type enumeration determines which functionality is to be redirected by means of a bit mask containing one or more of the following bits:
Bit | Purpose | Functions affected | SQL affected |
---|---|---|---|
0x01 | Temporary tables | KI_OPEN | CREATE TABLE
CREATE INDEX |
0x02 | Word search indexing | KI_WS_START
KI_WS_READ_NEXT KI_WS_END KI_WS_NOISE_INFO |
CREATE WORD INDEX |
Redirecting to the same handle will cancel the redirection for future calls though existing word search result sets will not be affected.