2005/9/13, Murray Cumming <[EMAIL PROTECTED]>: > CCing the list because I think you forgot to. > > Another thing: > The documentation for gda_client_create_database() mentions > gda_client_get_specs_to_create_database(). There is no such function, > though the name is used in the documentation for > gda_client_get_provider_specs(). I guess it's meant to provide the > GdaParameterList* somehow, but it returns a char*. Example code in the > documentation would help a lot here. > > gda_client_drop_database() seems to have the same problem.
I've corrected the documentation (not yet in CVS though). Here is how it works: if you want to create a database, call gda_client_get_provider_specs(client, provider, GDA_CLIENT_SPECS_CREATE_DATABASE) which will give you an XML string which can be converted into a tree by libxml and tells you which information the provider needs to create tha database. For example, have a look at the providers/postgres/postgres_specs_create_db.xml and the providers/mysql/mysql_specs_create_db.xml files which are the returned strings for the Postgres and MySQL providers. Vivien _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
