glom r1844 - in trunk: . glom/libglom



Author: murrayc
Date: Tue Jan 13 18:15:16 2009
New Revision: 1844
URL: http://svn.gnome.org/viewvc/glom?rev=1844&view=rev

Log:
2009-01-13  Murray Cumming  <murrayc murrayc com>

* glom/libglom/connectionpool.cc: change_columns(): Added a TODO 
comment asking why we would ever want to change multiple columns. 
Changing just one columns would make the function simpler.

Modified:
   trunk/ChangeLog
   trunk/glom/libglom/connectionpool.cc

Modified: trunk/glom/libglom/connectionpool.cc
==============================================================================
--- trunk/glom/libglom/connectionpool.cc	(original)
+++ trunk/glom/libglom/connectionpool.cc	Tue Jan 13 18:15:16 2009
@@ -392,6 +392,7 @@
   return true;
 }
 
+//TODO: Why/When do we need to change multiple columns instead of a single one? murrayc.
 bool ConnectionPoolBackend::change_columns(const Glib::RefPtr<Gnome::Gda::Connection>& connection, const Glib::ustring& table_name, const type_vecConstFields& old_fields, const type_vecConstFields& new_fields, std::auto_ptr<Glib::Error>& error)
 {
   static const char* TRANSACTION_NAME = "glom_change_columns_transaction";



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