MySql Cpp Connector and Load Statement
Team,
I am using MySql C++ Connector. Iam forming load data local infile statement and executing query using execute statement as below:
string query = "LOAD ....";
stmt = mSqlCon->createStatement();
bool ret;
if ( stmt != NULL )
{
ret = stmt->execute(query);
}
The same load statement works fine on sql prompt from cli though. But, when called through API ,this wont get execute and wont return anything. The program just exits as it is.
Any idea? Or am i doing something wrong?
Any help on this is appreciated!
Santhosh
Subject
Views
Written By
Posted
MySql Cpp Connector and Load Statement
1891
September 21, 2012 07:47AM
1069
November 15, 2012 10:37AM
987
November 15, 2012 08:52PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.