Skip to content
Snippets Groups Projects
  1. Dec 17, 2012
  2. Nov 01, 2012
  3. Oct 19, 2012
  4. Oct 03, 2012
  5. Oct 02, 2012
  6. Sep 27, 2012
  7. Sep 18, 2012
  8. Sep 14, 2012
    • Jared Hancock's avatar
      Add chunked file data support · e51bb66f
      Jared Hancock authored
      This will remove the upper limit of BLOB sizes imposed by MySQL with the
      max_allowed_packet setting completely.
      
      This adds a new table %file_chunk which will contain the filedata in smaller
      chunks (256kB). It also includes a new class, AttachmentChunkedData, which
      will handle reading and writing the data, abstracting away the chunks.
      
      This is done by migrating data from the %file table to the %file_chunk
      table. One must beware that this must safely (the migration that is) plug
      into the both the live osTicket developers as well as the users doing a full
      upgrade from osTicket-1.6*. For this, the AttachmentFile::save method was
      patched to use the new AttachmentChunkedData class to write the attachment
      data to the database in chunks. That is, the migrater will use the new code
      on the major upgrade and bypass the filedata column of the %file table
      altogether. Therefore, the patch associated with this commit will not
      migrate any data for the major upgrade.
      
      For developers doing incremental upgrades, the patch included in this
      commit will transfer the data from the %file data to the new %file_chunk
      table by chunking it. As written, only the first 16MB of the attachment is
      migrated. This could easily be adjusted, but it seems like a reasonable
      limit for now.
      e51bb66f
  9. Sep 10, 2012
  10. Sep 03, 2012
  11. Aug 31, 2012
  12. Aug 30, 2012
  13. Aug 13, 2012
  14. Jul 30, 2012
  15. Jul 21, 2012
  16. Jul 16, 2012
  17. Jul 09, 2012
  18. Jul 05, 2012
  19. Jun 30, 2012
  20. Jun 28, 2012
  21. Jun 26, 2012
  22. Jun 23, 2012
  23. Jun 18, 2012
  24. May 13, 2012
  25. May 10, 2012
  26. Apr 28, 2012
  27. Apr 26, 2012
  28. Apr 25, 2012
Loading