[koha-commits] main Koha release repository branch master updated. v3.14.00-141-g2058980
Git repo owner
gitmaster at git.koha-community.org
Tue Dec 17 16:14:29 CET 2013
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, master has been updated
via 20589801e08bb725e6424bcb020968de863bd8ed (commit)
via 19b5c9b4cecf935c1cf17649796debe80ae7b3a8 (commit)
from 6cf065da5e6ef431f266359aaa3737b85f330e93 (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 20589801e08bb725e6424bcb020968de863bd8ed
Author: Galen Charlton <gmc at esilibrary.com>
Date: Tue Dec 17 15:32:17 2013 +0000
Bug 11249: DBRev 3.15.00.006
Signed-off-by: Galen Charlton <gmc at esilibrary.com>
commit 19b5c9b4cecf935c1cf17649796debe80ae7b3a8
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>
-----------------------------------------------------------------------
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