Re: [gnome-db] gda_connection_execute_select_command and one column
- From: Diego Zuccato <diego otello alma unibo it>
- To: Piotr Pokora <piotrek pokora gmail com>, gtk-list <gtk-list gnome org>
- Subject: Re: [gnome-db] gda_connection_execute_select_command and one column
- Date: Fri, 23 May 2008 09:39:12 +0200
Piotr Pokora ha scritto:
Arg! I totally mixed rows and columns. Indeed.
Happens :-)
I aussume, that checking rows > 0 is the only correct way to check if
query returned some data without an error. Right?
Well, errors must be checked anyway.
Maybe, returning 0 rows is a "soft error" (an error for your app but not
for the DB), like trying to sell an item with a barcode not in the DB.
Good error handling is the hardest part of programming :-)
BYtE,
Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]