Fix for  #641 MySQL - LONGBLOB problem on 64-bit systems