Hi,

I don't see anything wrong with that. If I was in your shoes I'd make sure
I don't have any buffer overflows anywhere between the definitions and
where you use the variable - these are notorious to only cause
segmentation faults when there's no more memory to silently consume (e.g
variable to overwrite etc...)

Its absurd that you should be getting an 'insufficient memory' error - in
your case when you call mysql_init(), you are not asking it to allocate
memory for you - you are giving it an object to initialize.

In my opinion if the problem was insufficient memory, the program would
fail at the definitions themselves (i.e being unable to allocate space for
the MYSQL object itself).

Anyone? Any other ideas?

Gerald.


On Tue, 23 Sep 2003, Lars Wenderoth wrote:

> Hi!
>
> Sure! They are:
>
> int     err = 0;
> MYSQL   dbase;
>
> It might be helpful to say, that I'm running linux...
>
> Lars
>
> Am Die, 2003-09-23 um 14.47 schrieb Begumisa Gerald M.:
> > Hi,
> >
> > Could you post your definitions for 'dbase' and 'err'...
> >
> > Gerald.
> >
>
> --
> Lars Wenderoth <[EMAIL PROTECTED]>
>
>
>

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to