Commit 759784fa authored by Laurent's avatar Laurent

Merge branch 'hotline'

parents 57b8ca55 2aa4864a
Pipeline #11115 passed with stage
in 49 minutes and 40 seconds
15/09/2020 - v8.0.78
- amélioration des performances
14/09/2020 - v8.0.77
- ticket #115306 : Magasin de thèmes : amélioration de la performance d'affichage de la page mon compte / mes prêts
......
<?php
$adapter = Zend_Db_Table_Abstract::getDefaultAdapter();
try {
$adapter->query(
'ALTER TABLE `int_maj_auto` '
. 'ADD KEY `id_bib` (`id_bib`)'
);
} catch(Exception $e) {}
try {
$adapter->query(
'ALTER TABLE `profil_donnees` '
. 'ADD KEY `format` (`format`)'
);
} catch(Exception $e) {}
......@@ -82,7 +82,7 @@ class Bokeh_Engine {
function setupConstants() {
defineConstant('BOKEH_MAJOR_VERSION','8.0');
defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.77');
defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.78');
defineConstant('BOKEH_REMOTE_FILES', 'https://git.afi-sa.net/afi/opacce/');
......
......@@ -3375,3 +3375,27 @@ class UpgradeDB_392_Test extends UpgradeDBTestCase {
$this->assertIndex('notices', 'issn');
}
}
class UpgradeDB_393_Test extends UpgradeDBTestCase {
public function prepare() {
$this
->dropIndexFrom('int_maj_auto', 'id_bib')
->dropIndexFrom('profil_donnees', 'format');
}
/** @test */
public function intMajAutoTableShouldHaveIndexOnIdBib() {
$this->assertIndex('int_maj_auto', 'id_bib');
}
/** @test */
public function profilDonnesTableShouldHaveIndexOnFormat() {
$this->assertIndex('profil_donnees', 'format');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment