Index: trunk/phase3/maintenance/tables.sql |
— | — | @@ -966,7 +966,8 @@ |
967 | 967 | us_timestamp varbinary(14) not null, |
968 | 968 | |
969 | 969 | us_status varchar(50) not null, |
970 | | - |
| 970 | + |
| 971 | + -- chunk counter starts at 0, current offset is stored in us_size |
971 | 972 | us_chunk_inx int unsigned NULL, |
972 | 973 | |
973 | 974 | -- file properties from File::getPropsFromPath. these may prove unnecessary. |
Index: trunk/phase3/includes/upload/UploadFromChunks.php |
— | — | @@ -56,7 +56,7 @@ |
57 | 57 | $this->mFileKey = $this->mLocalFile->getFileKey(); |
58 | 58 | |
59 | 59 | // Output a copy of this first to chunk 0 location: |
60 | | - $status = $this->outputChunk( $this->mLocalFile->getPath() ); |
| 60 | + $status = $this->outputChunk( $this->mLocalFile->getLocalRefPath() ); |
61 | 61 | |
62 | 62 | // Update db table to reflect initial "chunk" state |
63 | 63 | $this->updateChunkStatus(); |