From 95e61f4013d8f064d957e629a26ab834c91dc9ce Mon Sep 17 00:00:00 2001
From: Steven Murray <steven.murray@cern.ch>
Date: Thu, 26 May 2016 15:40:29 +0200
Subject: [PATCH] Fixed compilation error caused by my last commit

---
 xroot_plugins/XrdCtaFilesystem.cpp | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/xroot_plugins/XrdCtaFilesystem.cpp b/xroot_plugins/XrdCtaFilesystem.cpp
index 6f3d96d65a..be707b0145 100644
--- a/xroot_plugins/XrdCtaFilesystem.cpp
+++ b/xroot_plugins/XrdCtaFilesystem.cpp
@@ -267,9 +267,8 @@ XrdCtaFilesystem::XrdCtaFilesystem():
   m_catalogue(m_catalogueConn),
   m_scheduler(m_catalogue, m_scheddb, 5, 2*1000*1000)
 {
-  // Currently using the in-memory CTA catalogue and therefore it needs to be initialised
-  cta::catalogue::Sqlite::enableForeignKeys(m_catalogueConn);
-  cta::catalogue::Sqlite::createCatalogueDatabaseSchema(m_catalogueConn);
+  // Currently using the in-memory CTA catalogue and therefore the schema needs to be created
+  m_catalogueConn.createCatalogueDatabaseSchema();
 
   // If the backend is a VFS, make sure we don't delete it on exit.
   // If not, nevermind.
-- 
GitLab