After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 395888 - GdaQuery should register GDA_TYPE_QUERY explictely
GdaQuery should register GDA_TYPE_QUERY explictely
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
2.99.x
Other Linux
: Normal normal
: ---
Assigned To: Rodrigo Moya
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-01-12 18:56 UTC by Armin Burgmeier
Modified: 2007-01-12 19:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch declaring GDA_TYPE_QUERY in GdaQuery's constructor (1.69 KB, patch)
2007-01-12 18:56 UTC, Armin Burgmeier
none Details | Review

Description Armin Burgmeier 2007-01-12 18:56:07 UTC
GdaQuery calls gda_dict_declare_object which causes the actual type of the query is declared even if it is a derived type. This makes the declaration not working when subclassing GdaQuery. The attached registers GDA_TYPE_QUERY explicetly using gda_dict_declare_object_as.
Comment 1 Armin Burgmeier 2007-01-12 18:56:49 UTC
Created attachment 80129 [details] [review]
Patch declaring GDA_TYPE_QUERY in GdaQuery's constructor
Comment 2 malerba 2007-01-12 19:40:05 UTC
Thanks for the patch, I've applied it to SVN (except for a part which I've removed).

Vivien