Date: Tuesday, December 13, 2005 @ 18:07:24
  Author: gilles
    Path: /cvsroot/carob/carob/include

Modified: Field.hpp (1.9 -> 1.10)

(Part of int32_t removal)
Replaced int32_t by int everywhere: these are metadata an won't suffer from 
conversion issues


-----------+
 Field.hpp |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)


Index: carob/include/Field.hpp
diff -u carob/include/Field.hpp:1.9 carob/include/Field.hpp:1.10
--- carob/include/Field.hpp:1.9 Fri Dec  2 15:53:07 2005
+++ carob/include/Field.hpp     Tue Dec 13 18:07:24 2005
@@ -65,12 +65,12 @@
    * Get the number of decimal digits.
    * @return precision
    */
-  int32_t getPrecision() { return precision; }
+  int getPrecision() { return precision; }
   /**
    * Gets the number of digits to right of the decimal point.
    * @return scale
    */
-  int32_t getScale() { return scale; }
+  int getScale() { return scale; }
   /**
    * Returns the JDBC type code.
    * 
@@ -78,7 +78,7 @@
    * TypeConstants.hpp
    * @see TypeConstants.hpp
    */
-  int32_t getSqlType() { return sql_type; }
+  int getSqlType() { return sql_type; }
   /**
    * Gets the table name.
    * @return table name
@@ -98,7 +98,7 @@
    * Indicates the normal maximum width in characters.
    * @return column display size
    */
-  int32_t getColumnDisplaySize() { return column_display_size; }
+  int getColumnDisplaySize() { return column_display_size; }
   /**
    * Indicates whether the column (field) is automatically numbered, thus
    * read-only.
@@ -160,21 +160,21 @@
   bool                table_name_not_null;
   std::wstring        field_name;
   std::wstring        field_label;
-  int32_t             column_display_size;
-  int32_t             sql_type;
+  int                 column_display_size;
+  int                 sql_type;
   std::wstring        type_name;
   std::wstring        column_class_name;
   bool                is_auto_increment;
   bool                is_case_sensitive;
   bool                is_currency;
-  int32_t             is_nullable;
+  int                 is_nullable;
   bool                is_read_only;
   bool                is_writable;
   bool                is_definitely_writable;
   bool                is_searchable;
   bool                is_signed;
-  int32_t             precision;
-  int32_t             scale;
+  int                 precision;
+  int                 scale;
 };
 typedef Field  *FieldPtr;
 

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to