Menu

UPDATE fails > 64k?

Help
2002-06-13
2012-09-19
  • scott little

    scott little - 2002-06-13

    Problem: I can INSERT BLOB data > 64K just fine (many MB in fact), and I can UPDATE with data less than 64k, but as soon as I try UPDATE with one byte over the magic 65535 it goes *poof* (exception with a warnings: 1).

    Can anyone else reproduce?

     
    • Andy Dustman

      Andy Dustman - 2002-07-01

      Sounds like truncation. BLOB only holds 64K worth of data. Try using a MEDIUM BLOB instead.

      http://www.mysql.com/doc/n/o/node_369.html

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.