[gameprogrammer] Anyone know how to fix MySQL problem?

Using mysql_stmt_prepare

bind[1].buffer_type= MYSQL_TYPE_LONG_BLOB;
        bind[1].buffer= (void*) hardDriveData;
        bind[1].buffer_length= hardDriveDataLength;
        bind[1].is_null= &falseVar;
        bind[1].length=&l3;

Fails, with error:

Error: Got a packet bigger than 'max_allowed_packet' bytes

However, previously when I created the table I called SET @@max_allowed_packet=1073741824;



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: