Disable prepared statements completely
[?]
Mar 12, 2012, 6:42 PM
NS5GKQHW26OSSNT722GGKKMIQLTS7UKSWG2CUSV5QYBUF3A24I7ACDependencies
- [2]
LGNML7VJDon't use a prepared statement for the active build steps query - [3]
SHBLLAVH* More global substitution. - [4]
AFTXA575* $HYDRA_DATA environment variable. - [5]
J5UVLXOK* Start of a basic Catalyst web interface. - [6]
6FRLEP4Pfirst try for timeline of last 24 hours in hydra - [7]
EFWN7JBV* Added a status page that shows all the currently executing build steps.
Change contents
- replacement in src/lib/Hydra/Controller/Root.pm at line 98
$c->model('DB')->storage->dbh_do(sub {my (undef, $dbh) = @_;local $dbh->{pg_server_prepare} = 0;$c->stash->{steps} = [ $c->model('DB::BuildSteps')->search({ 'me.busy' => 1, 'build.finished' => 0, 'build.busy' => 1 },{ join => [ 'build' ], order_by => [ 'machine' ]} ) ];});$c->stash->{steps} = [ $c->model('DB::BuildSteps')->search({ 'me.busy' => 1, 'build.finished' => 0, 'build.busy' => 1 },{ join => [ 'build' ], order_by => [ 'machine' ]} ) ]; - replacement in src/lib/Hydra/Model/DB.pm at line 9
connect_info => [getHydraDBPath],connect_info => {dsn => getHydraDBPath,pg_server_prepare => 0,},