PB to retrieve ID

2002-10-03 Thread Poizot Emmanuel
Hi, I'm writing a c++ program using MySQL++. I insert in a table a new line. This table has an autoincrement field call ID. Immediatly after storing a new line in the table, I execute (in the program) a SELECT * FROM table command to retrieve the new ID just affected to the new line, but I alway

Warning message with MySQL++ API

2002-07-10 Thread Poizot Emmanuel
Hello, I just start trying building a program in C++ using MySQL++ API. I want to use sql_create_basic_n macros to manage results of queries on my database. So I defined structures using this macro based on the tables of the db. for example, in the db I have a table defined as follow: +---+-

How to install MySql++ patch

2002-06-25 Thread Poizot Emmanuel
Hi, I download a Mysql++ patch for MySQL 1.7 version to allows compiling with 3.* GNU compiler series. The problem is that I don't know how to install the patch file. Can anyone help me ? Thanks -- Emmanuel POIZOT CNAM/INTECHMER B.P. 324 50103 Cherbourg Cede

g++ 2.96 with Mysql++ 1.7.9

2002-06-25 Thread Poizot Emmanuel
Hi, I'm a newbie in MySQL and it's developement I tried to run examples of MySQL++ API and compile with g++ 2.96. It seems that this version of compiler is not supported. I found a patch of MySQL++ to make it working with g++ 3.0, but I don't know how to apply this patch. I tried patch -pl < patc