Prev: FOR loop optimisation
Next: using the sortrows function
From: Joseph Cohen on 11 Jul 2010 23:04 Hello, I am trying to insert data into a mysql database using the mysql LOAD DATA INFILE command. I am storing a matrix of uint8 in a text file, which mysql then reads and adds to the database. However, in the process, it corrupts the data. But when I use fastinsert the data is properly stored. Whats going on? How can I store the data in the textfile so that mysql reads it properly. Right now I am using fwrite like so: fwrite(file,data) thanks!
|
Pages: 1 Prev: FOR loop optimisation Next: using the sortrows function |