Re: [gnome-db] GdaEasy: gda_prepare_create_table



Hi Daniel!

Sorry I missed the main point of your patch :(

I'll commit the feature you're mentionning ASAP.

However I can't modify the API now because it has been frozen, so I can't change the gda_perform_create_table() and gda_perform_drop_table()'s signatures. I don't think it's really a problem because one can still call gda_server_provider_perform_operation (gda_connection_get_provider (cnc), cnc, op, error) if needed.

Sorry for the inconvenience,

Vivien

2008/12/9 Daniel Espinosa <esodan gmail com>
I have sent a patch[1] for gda_prepare_create_table with add some flags to create tables like:


CREATE TABLE test (id gint PRIMARY KEY, text gchar);

To create a GdaServerOperation with that you'll use GDA_EASY_CREATE_TABLE_PKEY_FLAG for the first field but for the second there's any flag to create it.

Then the patch add GDA_EASY_CREATE_TABLE_NOTHING_FLAG and GDA_EASY_CREATE_TABLE_FKEY_FLAG, the last is to create foreing keys realy easy.


Refer to Bug # 529794

[1] http://bugzilla.gnome.org/attachment.cgi?id=121764&action="">
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)

_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list




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