GNOME Bugzilla – Bug 759792
int64 (aka bigint) is not supported
Last modified: 2018-09-21 13:50:43 UTC
libgda does not seem to be able to understand values bigger than 2^31. Using the vala example [1] with a database containing a BIGINT column, it only displays ### instead of actual numbers (numbres < 2^31 work fine). With the gda browser, I get some 0 (which is wrong). It works fine with sqlite3 directly, or with sqliteman. [1] https://wiki.gnome.org/Projects/Vala/GDA
Here is a patch that adds a unit test which shows the problem.
Created attachment 317815 [details] [review] patch to expose the problem
And now a patch to solve the problem - however while it indeed fixes the issue here, it definitively looks wrong (as in it should not happen this way). As I'm not familiar with the code, someone more experienced with the internals of libgda should look at it/explain me why is going wrong here.
Created attachment 317816 [details] [review] patch that oddly fix the bug
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgda/issues/86.