opensubscriber
   Find in this group all groups
 
Unknown more information…

c : cluster@lists.mysql.com 21 July 2012 • 2:44AM -0400

[OFF-TOPIC] MySQL C API Insertion Doubt
by Antonio Modesto

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi,


I'm writing a C code (using the mysql api) to select specific rows from
a database and insert them in another database in a different host. The
problem is that I didn't find any method to insert a row directly, What
I've noticed so far is that I have to construct a mysql statement
(Insert into bla bla bla..) based on the result of the query, and then
pass it to the mysql_query function to insert the row in the another
database. Is a easier way to do that? Something like
mysql_insert_row(&mysql_handler, row)?


Thanks and sorry for asking it in this list, but I searched a lot on the
web and didn't find anything that could help.


Regards.


--
MySQL Cluster Mailing List
For list archives: http://lists.mysql.com/cluster
To unsubscribe:    http://lists.mysql.com/cluster


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.