[gnome-db] new provider's methods



Hi

I've just added 2 new methods to the GdaServerProvider class, which
means 2 more methods to be implemented by each provider. Those methods
are:

const gchar *get_version (GdaServerProvider *provider) -> returns the
version of the GDA provider, usually it's just a 'return VERSION'.

const gchar *get_server_version (GdaServerProvider *provider,
GdaConnection *cnc) -> returns the version of the server the provider is
connected to. For an example, look at
gda_mysql_provider_get_server_version.

I've fully implemented the 2 methods for MySQL, and only the get_version
one for PostgreSQL. So, please, people working on the providers, please
add the implementation of those 2 methods as soon as you can.

cheers



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