From 758aa155ab7329b1b06156d4010a2f1d4cc4c6f1 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Sun, 4 Apr 2010 19:46:24 +0200 Subject: [PATCH] First attempt at making things multi-threaded and make it possible to have multiple connections to the database without having the dreaded ERR=E_LQ002E The 'execute immediate' query has been issued outside of a DBMS session. This compiles but seems to give some problems so into the debugger it is. --- bacula/src/cats/cats.h | 1 + 1 file changed, 1 insertion(+) diff --git a/bacula/src/cats/cats.h b/bacula/src/cats/cats.h index a4e9b01f7d..d0b7412095 100644 --- a/bacula/src/cats/cats.h +++ b/bacula/src/cats/cats.h @@ -576,6 +576,7 @@ struct B_DB { char *db_address; /* host address */ char *db_socket; /* socket for local access */ int db_port; /* port of host address */ + int session_id; /* unique session id */ int have_insert_id; /* do have insert_id() */ bool connected; POOLMEM *errmsg; /* nicely edited error message */ -- 2.39.5