Date: Wednesday, March 8, 2006 @ 19:55:51
Author: marc
Path: /cvsroot/carob/odbsequoia/src
Modified: descriptors_records.hpp (1.3 -> 1.4)
Documented main pointers.
-------------------------+
descriptors_records.hpp | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
Index: odbsequoia/src/descriptors_records.hpp
diff -u odbsequoia/src/descriptors_records.hpp:1.3
odbsequoia/src/descriptors_records.hpp:1.4
--- odbsequoia/src/descriptors_records.hpp:1.3 Wed Mar 8 18:57:24 2006
+++ odbsequoia/src/descriptors_records.hpp Wed Mar 8 19:55:51 2006
@@ -43,6 +43,9 @@
// Very simple fields are public to avoid cluttering the code with
// getters/setters You did not believe descriptors and records
// classes are well separated by a clear interface, did you?
+
+ /** Length of the SQL data buffer allocated by the ODBC
+ * application */
SQLINTEGER octet_length;
/** Sets the concise type as well as all other interdependent fields */
@@ -76,10 +79,13 @@
fetch_col(CarobNS::DriverResultSet& rs, int rs_col);
public: // public to avoid cluttering the code with getters/setters
+ /** The SQL data buffer allocated by the application */
SQLPOINTER data_ptr;
- /** Warning: null is allowed. Check SQLBindCol() documentation */
+ /** Application buffer to return indicator (like SQL_NULL_DATA).
+ Warning: null is allowed. Check SQLBindCol() documentation */
SQLINTEGER * indicator_ptr;
- /** Warning: null is allowed. Check SQLBindCol() documentation */
+ /** Application buffer to return length of SQL data. Warning: null
+ is allowed. Check SQLBindCol() documentation */
SQLINTEGER * octet_length_ptr;
};
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits