Re: [gnome-db] gda_connection_execute_select_command and one column

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

 



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.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux