src/Pure/Thy/sessions.scala
changeset 73033 d2690444c00a
parent 73031 f93f0597f4fb
child 73042 22f5a6283477
equal deleted inserted replaced
73032:72b13af7f266 73033:d2690444c00a
  1483 
  1483 
  1484     def read_theories(db: SQL.Database, name: String): List[String] =
  1484     def read_theories(db: SQL.Database, name: String): List[String] =
  1485       read_theory_timings(db, name).flatMap(Markup.Name.unapply)
  1485       read_theory_timings(db, name).flatMap(Markup.Name.unapply)
  1486 
  1486 
  1487     def read_errors(db: SQL.Database, name: String): List[String] =
  1487     def read_errors(db: SQL.Database, name: String): List[String] =
  1488       Build_Log.uncompress_errors(read_bytes(db, name, Session_Info.errors), cache = cache.xz)
  1488       Build_Log.uncompress_errors(read_bytes(db, name, Session_Info.errors), cache = cache)
  1489 
  1489 
  1490     def read_build(db: SQL.Database, name: String): Option[Build.Session_Info] =
  1490     def read_build(db: SQL.Database, name: String): Option[Build.Session_Info] =
  1491     {
  1491     {
  1492       if (db.tables.contains(Session_Info.table.name)) {
  1492       if (db.tables.contains(Session_Info.table.name)) {
  1493         db.using_statement(Session_Info.table.select(Session_Info.build_columns,
  1493         db.using_statement(Session_Info.table.select(Session_Info.build_columns,