CVSROOT: /cvs/gnome
Module name: glom
Changes by: murrayc 06/05/19 17:58:02
Modified files:
. : ChangeLog
glom/mode_data : box_data.cc box_data.h box_data_details.cc
box_data_details.h box_data_list.cc
box_data_list.h box_data_list_related.cc
box_data_list_related.h
Log message:
2006-05-19 Murray Cumming <[EMAIL PROTECTED]>
* glom/mode_data/box_data.cc:
* glom/mode_data/box_data.h: Added virtual set_primary_key_value(),
so that record_new() can set the primary key as soon as it has been
set in the database.
record_new(): Take a row iterator, so we can update the list row.
After inserting the record, set the primary key value,
and do lookups and refresh-related so that the other row fields update.
Return the datamodel.
* glom/mode_data/box_data_details.cc:
* glom/mode_data/box_data_details.h: Override set_primary_key_value()
* glom/mode_data/box_data_list.cc:
* glom/mode_data/box_data_list.h: Override set_primary_key_value().
on_adddel_user_added(): Provide the row iterator to record_new() and to
on_record_added().
on_record_added(): Take the row iterator
* glom/mode_data/box_data_list_related.cc:
* glom/mode_data/box_data_list_related.h: on_record_added(): Take the row
iterator,
to avoid a slow lookup to discover it.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glom&who=murrayc&date=explicit&mindate=2006-05-19%2017:57&maxdate=2006-05-19%2017:59
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list