From: Marco van Wieringen Date: Sun, 4 Apr 2010 17:46:24 +0000 (+0200) Subject: First attempt at making things multi-threaded and make it possible to have multiple... X-Git-Tag: Release-5.2.1~1531 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c99eef6d622d2c69f0a7f1da3c9a619a010d8c3c;p=bacula%2Fbacula 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. --- 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 */