#include <ecpglib.h>
#include <ecpgerrno.h>
#include <sqlca.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
Go to the source code of this file.
|
#define | ECPGdebug(X, Y) ECPGdebug((X)+100,(Y)) |
|
◆ ECPGdebug
#define ECPGdebug |
( |
|
X, |
|
|
|
Y |
|
) |
| ECPGdebug((X)+100,(Y)) |
◆ main()
Definition at line 31 of file connect-test3.c.
References ECPGconnect(), ECPGdebug, ECPGdisconnect(), ECPGdo(), ECPGst_normal, ECPGt_char, ECPGt_EOIT, ECPGt_EORT, and ECPGt_NO_INDICATOR.
49 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
id, 0); }
52 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL ,
"second", 0); }
58 ECPGt_char,(res),(
long)200,(
long)1,(200)*
sizeof(
char),
68 ECPGt_char,(res),(
long)200,(
long)1,(200)*
sizeof(
char),
73 {
ECPGconnect(__LINE__, 0,
"ecpg1_regression" , NULL, NULL ,
"second", 0); }
81 {
ECPGconnect(__LINE__, 0,
"ecpg2_regression" , NULL, NULL ,
"second", 0); }
bool ECPGdisconnect(int lineno, const char *connection_name)
bool ECPGdo(const int lineno, const int compat, const int force_indicator, const char *connection_name, const bool questionmarks, const int st, const char *query,...)
bool ECPGconnect(int lineno, int c, const char *name, const char *user, const char *passwd, const char *connection_name, int autocommit)