#41 avoid premature lookup of metadata on wrong types

open
nobody
None
5
2005-05-11
2005-04-27
Sumit Bando
No

Index: TransferDb.java

@@ -778,9 +779,6 @@
rsmdata_isAutoIncrement = false;
}

- int rsmdata_precision =
select_rsmdata.getPrecision(colnum);
- int rsmdata_scale =
select_rsmdata.getScale(colnum);
-
type = helper.convertFromType(type);
type = Dest.helper.convertToType(type);

@@ -795,6 +793,9 @@
}

if (type == Types.NUMERIC) {
+ int rsmdata_precision =
select_rsmdata.getPrecision(colnum);
+ int rsmdata_scale =
select_rsmdata.getScale(colnum);

Discussion

  • Fred Toussi
    Fred Toussi
    2005-05-11

    • labels: 342511 -->
    • milestone: 131870 -->