Dmsg1(500, "my_ingres_currval invoked with '%s'\n", query);
- result = INGquery(mdb->db, query, mdb->transaction);
+ result = INGquery(mdb->db, query);
if (!result) {
Dmsg1(50, "Query failed: %s\n", query);
IISQLDA *desc = NULL;
INGresult *res = NULL;
int rows = -1;
- int cols = INGgetCols(conn, query, transaction);
+ int cols = INGgetCols(conn, query);
/* # line 546 "myingres.sc" */
int sess_id;
INGfreeDescriptor(res->sqlda);
INGfreeINGresult(res);
}
-void INGcommit(const INGconn *dbconn)
+void INGcommit(onst INGconn *conn)
{
/* # line 601 "myingres.sc" */
} INGconn;
/* ---Prototypes--- */
int INGcheck(void);
-short INGgetCols(INGconn *conn, const char *query, bool transaction);
+short INGgetCols(INGconn *conn, const char *query. bool transaction);
char *INGgetvalue(INGresult *res, int row_number, int column_number);
bool INGgetisnull(INGresult *res, int row_number, int column_number);
int INGntuples(const INGresult *res);
int INGnfields(const INGresult *res);
char *INGfname(const INGresult *res, int column_number);
short INGftype(const INGresult *res, int column_number);
-int INGexec(INGconn *db, const char *query, bool transaction);
-INGresult *INGquery(INGconn *db, const char *query, bool transaction);
+int INGexec(INGconn *db, const char *query. bool transaction);
+INGresult *INGquery(INGconn *db, const char *query. bool transaction);
void INGclear(INGresult *res);
-void INGcommit(const INGconn *conn);
+void INGcommit(onst INGconn *conn);
INGconn *INGconnectDB(char *dbname, char *user, char *passwd, int session_id);
void INGdisconnectDB(INGconn *dbconn);
char *INGerrorMessage(const INGconn *conn);
IISQLDA *desc = NULL;
INGresult *res = NULL;
int rows = -1;
- int cols = INGgetCols(conn, query, transaction);
+ int cols = INGgetCols(conn, query);
EXEC SQL BEGIN DECLARE SECTION;
int sess_id;
EXEC SQL END DECLARE SECTION;
INGfreeINGresult(res);
}
-void INGcommit(const INGconn *conn)
+void INGcommit(onst INGconn *conn)
{
EXEC SQL BEGIN DECLARE SECTION;
int sess_id;
/* ---Prototypes--- */
int INGcheck(void);
-short INGgetCols(INGconn *conn, const char *query, bool transaction);
+short INGgetCols(INGconn *conn, const char *query. bool transaction);
char *INGgetvalue(INGresult *res, int row_number, int column_number);
bool INGgetisnull(INGresult *res, int row_number, int column_number);
int INGntuples(const INGresult *res);
int INGnfields(const INGresult *res);
char *INGfname(const INGresult *res, int column_number);
short INGftype(const INGresult *res, int column_number);
-int INGexec(INGconn *db, const char *query, bool transaction);
-INGresult *INGquery(INGconn *db, const char *query, bool transaction);
+int INGexec(INGconn *db, const char *query. bool transaction);
+INGresult *INGquery(INGconn *db, const char *query. bool transaction);
void INGclear(INGresult *res);
-void INGcommit(const INGconn *conn);
+void INGcommit(onst INGconn *conn);
INGconn *INGconnectDB(char *dbname, char *user, char *passwd, int session_id);
void INGdisconnectDB(INGconn *dbconn);
char *INGerrorMessage(const INGconn *conn);