From 8d44ac5e057a5e33b85e879df3bab96b544a2375 Mon Sep 17 00:00:00 2001 From: Daniele Teti Date: Fri, 17 Sep 2021 17:09:59 +0200 Subject: [PATCH] + switched from file+index to firebirdsql database with heavily customized configuration to allocate more RAM than usual --- sources/MVCFramework.Middleware.ActiveRecord.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sources/MVCFramework.Middleware.ActiveRecord.pas b/sources/MVCFramework.Middleware.ActiveRecord.pas index 7ae0cd3a..5b7452fa 100644 --- a/sources/MVCFramework.Middleware.ActiveRecord.pas +++ b/sources/MVCFramework.Middleware.ActiveRecord.pas @@ -95,6 +95,12 @@ begin Exit; end; + if fConnectionDefFileName.IsEmpty then + begin + fConnectionLoaded := True; + Exit; + end; + // if not FDManager.ConnectionDefFileLoaded then // begin FDManager.ConnectionDefFileName := fConnectionDefFileName;