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@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to