[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.02-3-gb0c11d0
Git repo owner
gitmaster at git.koha-community.org
Mon Jan 27 12:08:44 CET 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 3.14.x has been updated
via b0c11d03aadcb16fef00a10011080aadc3a38de1 (commit)
via 1864a4d61eb87ceeccc39bb8bd5e5214e5a4ffe5 (commit)
from 227cb1570f9b08bd2e3903cca54ecc5570be5d6d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b0c11d03aadcb16fef00a10011080aadc3a38de1
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date: Mon Jan 27 12:27:35 2014 +0100
Bug 11249: DBRev 3.14.02.001
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
commit 1864a4d61eb87ceeccc39bb8bd5e5214e5a4ffe5
Author: Fridolyn SOMERS <fridolyn.somers at biblibre.com>
Date: Thu Nov 14 14:29:51 2013 +0100
Bug 11249: Add Db indexes on borrowers names
The borrowers search is by default on columns surname, firstname,
othernames and cardnumber.
(See C4::Members::_express_member_find).
Adding DB indexes will really increase the query speed.
This patch adds DB indexes on surname, firstname, othernames (cardnumber
has already an index).
Those indexes must be defined with a size because columns are mediumtext.
Test plan :
Test with mysql client :
mysql> explain select * from borrowers where surname like 'A%';
+----+-------------+-----------+-------+---------------+-------------+---------+------+------+-------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+-----------+-------+---------------+-------------+---------+------+------+-------------+
| 1 | SIMPLE | borrowers | range | surname_idx | surname_idx | 767 | NULL | 395 | Using where |
+----+-------------+-----------+-------+---------------+-------------+---------+------+------+-------------+
=> key show the index is used
Signed-off-by: Mathieu Saby <mathieu.saby at univ-rennes2.fr>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Works as described, changes from updatedatabase and in kohastructure match.
I think deletedborrowers can be left out, as it's not queried when doing
patron searches. Patron deletes still work as expected.
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
(cherry picked from commit 19b5c9b4cecf935c1cf17649796debe80ae7b3a8)
Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>
-----------------------------------------------------------------------
Summary of changes:
installer/data/mysql/kohastructure.sql | 3 +++
installer/data/mysql/updatedatabase.pl | 12 ++++++++++++
kohaversion.pl | 2 +-
3 files changed, 16 insertions(+), 1 deletion(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list