import_set_query[] = "LOAD DATA LOCAL INFILE \"starter2000.set\" INTO TABLE OfficialSets";
mysql_query(spimport_db, import_set_query);
It returns with an error. mysql_error() tells me that the error is "You have an error in your SQL syntax near 'starter2000.set' at line 1"
However, if I input that query via the mysql client (minus the \, of course), it works just fine. What is wrong?
I'm using mySQL 3.23.36 on Slackware Linux using kernel 2.4.4.
mysql_query(spimport_db, import_set_query);
It returns with an error. mysql_error() tells me that the error is "You have an error in your SQL syntax near 'starter2000.set' at line 1"
However, if I input that query via the mysql client (minus the \, of course), it works just fine. What is wrong?
I'm using mySQL 3.23.36 on Slackware Linux using kernel 2.4.4.