4 messages in com.mysql.lists.plusplusRe: Understanding sql_create_# / sql_...
FromSent OnAttachments
Willy K'17 Apr 2005 22:02 
Chris Frey18 Apr 2005 01:08 
Chris Frey18 Apr 2005 01:18 
Warren Young18 Apr 2005 08:40 
Subject:Re: Understanding sql_create_# / sql_create_basic#
From:Chris Frey (cdf@netdirect.ca)
Date:04/18/2005 01:18:37 AM
List:com.mysql.lists.plusplus

On Mon, Apr 18, 2005 at 04:08:45AM -0400, Chris Frey wrote:

3: This is about sql_create_simple_#. For the use of retriving data, I used sql_create_simple_4(stock, 0, 0,...) instead and it worked (based on custom1.cpp). However, when I turn to inserting data with sql_create_simple_4, error messages again. It says there's not a "set" method in struct stock, which I saw that there is such a method in the API. What's wrong with it?

sql_create_simple_# doesn't exist in my tree. Are you using an old version? Try 1.7.32.

Ahh, you meant sql_create_basic, oops. From my reading of custom-macros.h, there is no set method in that struct, at least not that takes a Row object, which is probably what the compiler is complaining about.

Again, I'm no expert on SQLS stuff.

- Chris