Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Compiler error when using sql_create_N (when N == 50)

Compiler error when using sql_create_N (when N == 50)

2007-08-05       - By Graham Reitz

 Back
Reply:     1     2     3     4  

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