skip to Main Content

mysql dump produces strange binary blobs that cause problems on import

i am running backups of my mysql database with this command: mysqldump -u admin -p`cat /etc/psa/.psa.shadow` --hex-blob --skip-opt --single-transaction --add-drop-table --create-options --quick --extended-insert --max_allowed_packet=32M --default-character-set=utf8 --disable-keys databasename -r database.sql In an inconsistent way this dump produces in some cases things…

VIEW QUESTION

Javascript – Correct use of getUint16()

How to properly access the elements in data views based on the data type? Consider the following example code: const data = new Uint16Array([7, 12, 100]); const view = new DataView(data.buffer); console.log(view.getUint16(0), view.getUint16(1), view.getUint16(3)); The output is 1792 12 100.…

VIEW QUESTION
Back To Top
Search