From c99eef6d622d2c69f0a7f1da3c9a619a010d8c3c 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