src/Pure/Tools/build_process.scala
changeset 78632 e3d7793545df
parent 78631 0649be5c3036
child 78633 37a0c953649d
equal deleted inserted replaced
78631:0649be5c3036 78632:e3d7793545df
   323       val stop = SQL.Column.date("stop")
   323       val stop = SQL.Column.date("stop")
   324 
   324 
   325       val table = make_table(List(build_uuid, ml_platform, options, start, stop))
   325       val table = make_table(List(build_uuid, ml_platform, options, start, stop))
   326     }
   326     }
   327 
   327 
   328     def read_builds(db: SQL.Database, build_uuid: String = ""): List[Build] = {
   328     def read_builds(db: SQL.Database): List[Build] = {
   329       val builds =
   329       val builds =
   330         db.execute_query_statement(
   330         db.execute_query_statement(Base.table.select(), List.from[Build],
   331           Base.table.select(sql = Generic.sql_where(build_uuid = build_uuid)),
       
   332           List.from[Build],
       
   333           { res =>
   331           { res =>
   334             val build_uuid = res.string(Base.build_uuid)
   332             val build_uuid = res.string(Base.build_uuid)
   335             val ml_platform = res.string(Base.ml_platform)
   333             val ml_platform = res.string(Base.ml_platform)
   336             val options = res.string(Base.options)
   334             val options = res.string(Base.options)
   337             val start = res.date(Base.start)
   335             val start = res.date(Base.start)