Date: Monday, December 19, 2005 @ 09:35:13
Author: gilles
Path: /cvsroot/carob/carob/include
Modified: Connection.hpp (1.35 -> 1.36)
(minor)
Added comment on function execute: why do we return a list (and not a list*)
----------------+
Connection.hpp | 3 +++
1 files changed, 3 insertions(+)
Index: carob/include/Connection.hpp
diff -u carob/include/Connection.hpp:1.35 carob/include/Connection.hpp:1.36
--- carob/include/Connection.hpp:1.35 Tue Dec 13 18:48:31 2005
+++ carob/include/Connection.hpp Mon Dec 19 09:35:13 2005
@@ -195,6 +195,9 @@
UnexpectedException);
/**
* Calls a request that returns a list of results.
+ * This list is returned as a copy (ie. not a pointer) because it contains
+ * only lightweight elements (pointers or ints), so there is no heavy
+ * ResultSet copy.
*
* @param request the request to execute
* @return a <code>list</code> of <code>ResultSetOrUpdateCount</code>
elements
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits