Index: branches/FileBackend/phase3/maintenance/locking/file_locks.sql |
— | — | @@ -1,4 +1,10 @@ |
2 | 2 | -- Create table to handle resource locking |
3 | | -CREATE TABLE /*$wgDBprefix*/file_locks ( |
4 | | - fl_key binary(40) NOT NULL default '' PRIMARY KEY |
| 3 | +CREATE TABLE /*_*/file_locks_exclusive ( |
| 4 | + fle_key binary(40) NOT NULL default '' PRIMARY KEY |
5 | 5 | ) ENGINE=InnoDB, DEFAULT CHARSET=binary; |
| 6 | + |
| 7 | +-- Create table to handle resource locking |
| 8 | +CREATE TABLE /*_*/file_locks_shared ( |
| 9 | + fls_key binary(40) NOT NULL default '' |
| 10 | +) ENGINE=InnoDB, DEFAULT CHARSET=binary; |
| 11 | +CREATE INDEX /*i*/fls_key ON /*_*/file_locks_shared (fls_key); |