[gnome-db] libgda: problem with plugin_get_dsn_spec function.
- From: Bas Driessen <bas driessen xobas com>
- To: GNOME-DB List <gnome-db-list gnome org>
- Subject: [gnome-db] libgda: problem with plugin_get_dsn_spec function.
- Date: Thu, 23 Jun 2005 23:06:24 +1000
Hello Vivien,
Haven't updated my libgda sources for a couple of weeks and am having problems getting my projects to work with the latest libgda cvs sources. A couple of weeks ago you put the following code in libgda/libgda/gda-config.c in function gda_config_get_provider_list:
if (plugin_get_dsn_spec != NULL)
info->dsn_spec = plugin_get_dsn_spec ();
else
info->dsn_spec = NULL;
This compiles fine, but at run-time my application falls over (segmentation violation) the 2nd line in the snippet above. If I set info->dsn_spec = NULL there, all appears to work fine. So my question is, what does that line do?
In my case it calls the function plugin_get_dsn_spec in providers/mysql/libmain.c There all processes OK, but it falls over the "return specs" line.
Any ideas?
Thanks,
Bas.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]