Index: trunk/tools/mwmultiversion/multiversion/refreshWikiversionsCDB |
— | — | @@ -21,7 +21,7 @@ |
22 | 22 | # Build new database at temp location... |
23 | 23 | $db = dba_open( $tmpDBPath, "n", "cdb_make" ); |
24 | 24 | if ( !$db ) { |
25 | | - die( "Unable to create wikiversions.cdb.\n" ); |
| 25 | + die( "Unable to create wikiversions.cdb.tmp.\n" ); |
26 | 26 | } |
27 | 27 | foreach ( $verList as $row ) { |
28 | 28 | list( $dbName, $version ) = explode( ' ', $row ); |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | # Move to final location only when finished... |
39 | 39 | @unlink( $finalDBPath ); |
40 | 40 | if ( !rename( $tmpDBPath, $finalDBPath ) ) { |
41 | | - die( "Unable to create wikiversions.cdb.\n" ); |
| 41 | + die( "Unable to move wikiversions.cdb.tmp to wikiversions.cdb.\n" ); |
42 | 42 | } |
43 | 43 | } |
44 | 44 | |