deCarmo, Linden writes:
> > Hi!
> >
> > It is from the bug in MySQL++.
> >
> > I am sending you a patch in direct mail.
> >
> >
> > Regards,
> >
> > Sinisa
>
> Thanks for the patch. It solved the core dump, but now mysql_real_connect()
> is failing rather than core dumping.
>
> connection.cc then throws an exception, but the exception catching code in
> the GUI doesn't catch BadQuery(error())
>
> Do I need to compile either the GUI or MySQL++ differently to properly catch
> the exception?
>
> Also, I can log in via commandline, so I'm not sure why I can't log in w/o
> getting an exception. I did notice the code was sending in an empty db
> string to mysql_real_connect(). Do I need some type of config file setup?
>
>
When connection is not established, mysqlgui ALWAYS prints the message
in message box.
I hope you have not built mysql++ or mysqlgui with -fno-exceptions.
What message do you get ??
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php