r56338 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56337‎ | r56338 | r56339 >
Date:21:35, 14 September 2009
Author:brion
Status:ok
Tags:
Comment:
Apply live hack from wmf-deployment r53208: allows passing alt table name
Modified paths:
  • /trunk/phase3/maintenance/storage/make-blobs (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/storage/make-blobs
@@ -1,11 +1,16 @@
22 #!/bin/bash
33
4 -if [ X$2 == X ];then
5 - echo 'Usage: make-blobs <server> <db>'
 4+if [ -z $2 ];then
 5+ echo 'Usage: make-blobs <server> <db> [<table name>]'
66 exit 1
77 fi
 8+if [ -z $3 ]; then
 9+ table=blobs
 10+else
 11+ table=$3
 12+fi
813
914 echo "CREATE DATABASE $2" | mysql -u wikiadmin -p`wikiadmin_pass` -h $1 && \
10 -mysql -u wikiadmin -p`wikiadmin_pass` -h $1 $2 < blobs.sql
 15+sed "s/blobs\>/$table/" blobs.sql | mysql -u wikiadmin -p`wikiadmin_pass` -h $1 $2
1116
1217

Follow-up revisions

RevisionCommit summaryAuthorDate
r56374Merge post-branch trunk updates replacing old live hacks:...brion17:25, 15 September 2009

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r53208Apply live hacks, local merges, and removal of SVN externals -- all copied fr...brion23:50, 13 July 2009

Status & tagging log