dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42969b2
)
be a little clearer in add_index()
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 6 Jul 2007 15:57:12 +0000
(15:57 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 6 Jul 2007 15:57:12 +0000
(15:57 +0000)
maintenance/updaters.inc
patch
|
blob
|
history
diff --git
a/maintenance/updaters.inc
b/maintenance/updaters.inc
index
0bbbd2b
..
585679f
100644
(file)
--- a/
maintenance/updaters.inc
+++ b/
maintenance/updaters.inc
@@
-140,9
+140,9
@@
function add_field( $table, $field, $patch, $fullpath=false ) {
function add_index( $table, $index, $patch, $fullpath=false ) {
global $wgDatabase;
if( $wgDatabase->indexExists( $table, $index ) ) {
- echo "...$index key already set.\n";
+ echo "...$index key already set
on $table table
.\n";
} else {
- echo "Adding $index key... ";
+ echo "Adding $index key
to table $table
... ";
if( $fullpath ) {
dbsource( $patch, $wgDatabase );
} else {