Re: [gnome-db] Help with FreeTDS libgda provider



On Wed, 2003-01-08 at 17:48, Zachariah Mully wrote:
> On Tue, 2003-01-07 at 20:29, Rodrigo Moya wrote:
> 
> > you will get better error messages if you try to connect with mergeant.
> > 
> > cheers
> > 
> 
> 
> Like this error message from Mergeant?
> 
> "Establishing connection failed."
> 
at least this is a message from the FreeTDS provider
(providers/freetds/gda-freetds-provider.c:272):

#ifndef HAVE_FREETDS_VER0_6X
        tds_cnc->tds = tds_connect(tds_cnc->login, NULL);
#else
        tds_cnc->tds = tds_connect(tds_cnc->login, tds_cnc->ctx, NULL);
#endif
        if (! tds_cnc->tds) {
                gda_log_error (_("Establishing connection failed."));
                gda_freetds_free_connection_data (tds_cnc);
                error = gda_freetds_make_error(NULL, _("Establishing
connection failed."));
                gda_connection_add_error(cnc, error);
                return FALSE;
        }

Does it just display that message, or does it display a more extended
description of the error when you try connecting from mergeant?

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]