Re: [gnome-db] gda_data_model_get_value_at returns null when field is null

Vivien Malerba <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <CAEP1ZNk1utMsQ=R4yqdbSBoR3WBMGJVexFeaUGYmmZXaj_ZzPA@mail.gmail.com>
On 6 October 2011 10:45, Andrea Zagli <[email protected]> wrote:

> Il giorno mer 05 ott 2011 14:50:54 CEST, Vivien Malerba ha scritto:
>
>
>>> why? is it a bug?
>>>
>>> the error message is "Unable to get value for row 0 and column 2"
>>>
>>>
>> Could you provide a test case, (it would be easier for me to try to figure
>> out what the problem is)?
>>
>
> - make a table with a varchar field
> - insert some records in the table with the above field as null
> - create a GdaDataModel with a simple "select field from table"
> - iterate the above GdaDataModel and call gda_data_model_get_value_at for
> the field
>
> i don't know if it is the test case you expect :-(
>

I could not reproduce the problem, here is attached the test case I use.
Could you modify it to show the problem?

Regards,
Vivien

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
20111008_pg_null_select.tbz (application/x-bzip-compressed-tar, 1.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.