src/Pure/Build/build_process.scala
changeset 79527 f1f08ca40d96
parent 79502 c7a98469c0e7
child 79616 12bb31d01510
--- a/src/Pure/Build/build_process.scala	Wed Jan 24 17:30:49 2024 +0100
+++ b/src/Pure/Build/build_process.scala	Wed Jan 24 18:41:21 2024 +0100
@@ -857,7 +857,7 @@
     try { store.maybe_open_database_server(server = server) }
     catch { case exn: Throwable => close(); throw exn }
 
-  private val _build_database: Option[SQL.Database] =
+  protected val _build_database: Option[SQL.Database] =
     try {
       for (db <- store.maybe_open_build_database(server = server)) yield {
         if (!db.is_postgresql) {
@@ -920,7 +920,7 @@
     build_cluster
   }
 
-  private val _build_cluster =
+  protected val _build_cluster =
     try {
       if (build_context.master && _build_database.isDefined) open_build_cluster()
       else Build_Cluster.none
@@ -941,7 +941,7 @@
 
   /* global state: internal var vs. external database */
 
-  private var _state: Build_Process.State = Build_Process.State()
+  protected var _state: Build_Process.State = Build_Process.State()
 
   protected def synchronized_database[A](label: String)(body: => A): A =
     synchronized {