--- a/src/Pure/Tools/build_process.scala Mon Jul 03 16:46:37 2023 +0100
+++ b/src/Pure/Tools/build_process.scala Wed Jul 05 11:27:36 2023 +0200
@@ -421,7 +421,7 @@
def read_sessions_domain(db: SQL.Database, build_uuid: String = ""): Set[String] =
db.execute_query_statement(
Sessions.table.select(List(Sessions.name),
- sql = if_proper(build_uuid, Sessions.name.where_equal(build_uuid))),
+ sql = if_proper(build_uuid, Sessions.build_uuid.where_equal(build_uuid))),
Set.from[String], res => res.string(Sessions.name))
def read_sessions(db: SQL.Database,