]> git.sur5r.net Git - bacula/bacula/commitdiff
Revert "Fix typos"
authorKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:16:39 +0000 (12:16 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:16:39 +0000 (12:16 +0200)
This reverts commit d2833a5f89205838d397cdc7b2dd4d73b5c2a6fd.

bacula/src/cats/ingres.c
bacula/src/cats/myingres.c
bacula/src/cats/myingres.h
bacula/src/cats/myingres.sc
bacula/src/cats/myingres.sh

index c8799a7cfd39e414eb2bd5584e23d6d8d2acd539..7a483d5fecc5b8bee13a97cbe33d0110d797100d 100755 (executable)
@@ -658,7 +658,7 @@ int my_ingres_currval(B_DB *mdb, const char *table_name)
 
    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);
index c07244653445ac2b601938e0de6abea2af7668ca..728a0668d8d78c13e23753c389e0b7a414f5d1ea 100644 (file)
@@ -547,7 +547,7 @@ INGresult *INGquery(INGconn *conn, const char *query, bool transaction)
    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;
@@ -607,7 +607,7 @@ void INGclear(INGresult *res)
    INGfreeDescriptor(res->sqlda);
    INGfreeINGresult(res);
 }
-void INGcommit(const INGconn *dbconn)
+void INGcommit(onst INGconn *conn)
 {
 /* # line 601 "myingres.sc" */ 
   
index f5a4554275336c22bb527c358a35963678389583..e89315ec0a1c069316b55a87d1d3c1555b141d04 100644 (file)
@@ -70,17 +70,17 @@ typedef struct ing_conn {
 } 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);
index 7e664af0971293e547337532216fab8d4796a642..5f0b2108516d1fd1dee091871772946331d925a1 100644 (file)
@@ -542,7 +542,7 @@ INGresult *INGquery(INGconn *conn, const char *query, bool transaction)
    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;
@@ -596,7 +596,7 @@ void INGclear(INGresult *res)
    INGfreeINGresult(res);
 }
 
-void INGcommit(const INGconn *conn)
+void INGcommit(onst INGconn *conn)
 {
    EXEC SQL BEGIN DECLARE SECTION;
    int sess_id;
index 11629707b071b4b32e37f1422e7e3ef914c4c3bd..cb554a47e97cf55fdce8182ab36fd59a23f8b939 100644 (file)
@@ -83,17 +83,17 @@ typedef struct ing_conn {
 
 /* ---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);