You are required to specify both the c++ type and name for each
column. Check out the documentation on SSQLS for more details.
On 8/5/07, Graham Reitz <grahamreitz@stripped> wrote:
> I changed the line, (my $max_data_members = 50;), in the custom.pl
> script and recompiled the mysql++ libraries.
>
> The custom-macros.h now supports up to 50 table columns. The end of
> custom-macros.h has:
>
> // ---------------------------------------------------
> // End Create 50
>
> When I try to create a custom structure with sql_create_50(...) I
> receive the following compiler error:
>
> /tables.hpp:87:67: error: macro "sql_create_50" requires 103
> arguments, but only 54 given
>
> Is there something that I am missing? Why is he sql_create_50 macro
> need 104 arguments?
>
> Any help would be greatly appreciated.
>
> Thanks,
> Graham
>
>