Sure. Here is the first table (which should suffice):
CREATE TABLE `host` (
`host__id` BIGINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
`host__guid` int(4) UNSIGNED NOT NULL,
`host__des` VARCHAR(64),
`host__mod_date`
PRIMARY KEY(`host__id`),
UNIQUE INDEX `host__idx` (`host__guid`)
) TYPE=INNODB DEFAULT CHARSET=latin1;
I've even tried a different engine type (ISAM)!
>
> Try something simpler:
hdb_host_t record(res[0]);
cout << record.id << endl;
I didn't know you could do that - I'll try it.
Jim
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsub=1
--
James Vanns
Systems Programmer
Framestore CFC Ltd.