DBD-Sybase
view release on metacpan or search on metacpan
CS_MONEY mn;
CS_NUMERIC num;
CS_VOID *p;
} value;
int v_alloc;
CS_INT valuelen;
CS_VOID *ptr;
} ColData;
struct imp_drh_st {
dbih_drc_t com; /* MUST be first element in structure */
};
#define MAX_SQL_SIZE 255
#define VERSION_SIZE 20
#define UID_PWD_SIZE 256
/* Define dbh implementor data structure */
struct imp_dbh_st {
dbih_dbc_t com; /* MUST be first element in structure */
CS_CONNECTION *connection;
CS_LOCALE *locale;
CS_IODESC iodesc;
char tranName[32];
int inTransaction;
int doRealTran;
int chainedSupported;
int quotedIdentifier;
int useBin0x;
int binaryImage;
int dateFmt; /* 0 for Sybase native, 1 for ISO8601 */
int optSupported; /* 0 if the server doesn't support ct_options() */
int lasterr;
int lastsev;
char uid[UID_PWD_SIZE];
char pwd[UID_PWD_SIZE];
char server[64];
char charset[64];
char packetSize[64];
char language[64];
char ifile[255];
char loginTimeout[64];
char timeout[64];
char scriptName[255];
char hostname[255];
char database[260];
char curr_db[36];
char tdsLevel[30];
char encryptPassword[10];
char kerberosPrincipal[256];
char host[64]; /* for use with CS_SERVERADDR */
char port[20]; /* for use with CS_SERVERADDR */
char maxConnect[25];
char sslCAFile[255];
char blkLogin[16];
char tds_keepalive[16];
char serverType[32];
char serverVersion[VERSION_SIZE];
char serverVersionString[255];
int isMSSql;
int isDead;
SV *err_handler;
SV *row_cb;
SV *kerbGetTicket;
int enable_utf8;
int showEed;
int showSql;
int flushFinish;
int rowcount;
int doProcStatus;
int deadlockRetry;
int deadlockSleep;
int deadlockVerbose;
int nsqlNoStatus;
int disconnectInChild; /* if set, then OK to disconnect in child process
(even if pid different from pid that created the connection), subject to the
setting of InactiveDestroy */
int noChildCon; /* Don't create child connections for
simultaneous statement handles */
int failedDbUseFatal;
int bindEmptyStringNull;
int alwaysForceFailure; /* PR/471 */
int inUse; /* Set when the primary statement handle
(the one that uses the connection referred
to here) is in use. */
int pid; /* Set when the connection is opened, used checked in the DESTROY() call */
int init_done;
char *sql;
struct imp_sth_st *imp_sth; /* needed for BCP handling */
};
typedef struct phs_st {
int ftype;
int sql_type;
SV *sv;
int sv_type;
bool is_inout;
bool is_boundinout;
IV maxlen;
char *sv_buf;
CS_DATAFMT datafmt;
char varname[34];
int alen_incnull; /* 0 or 1 if alen should include null */
( run in 0.661 second using v1.01-cache-2.11-cpan-39bf76dae61 )