2 messages in com.mysql.lists.plusplusRe: sql_create_xx
FromSent OnAttachments
martin cote19 Jul 2002 13:38 
Charles Ouimet25 Jul 2002 05:24 
Subject:Re: sql_create_xx
From:Charles Ouimet (char@analysco.com)
Date:07/25/2002 05:24:27 AM
List:com.mysql.lists.plusplus

At 04:39 PM 7/19/2002 -0400, martin cote wrote:

To whom it may concern

I need help with sql_create.

I use VC++, I'm unable to use sql_create_16 and higher.(max is 26 I believe)

sql_create_1 through sql_create_15 work properly.

sql_create_xx uses macro from <whatever>/custom-macros.hh.

The default install builds a custom-macros.hh file with support for structures containing up to 25 fields.

custom-macros.hh is built from a Perl script (<whatever>/mysql++-1.7.9/sqlplusint/custom.pl). Edit this script increasing the value as much as you want (search for "26") and run it again. (I modified mine to support up to 50 fields).

Question for advanced users: Can there be any performance issue by doing this?

Thanx!

-C

----------------------------------------- Charles Ouimet char@analysco.com

(514) 220-4240 http://www.analysco.com

-----------------------------------------