Revision 2365
Added by sgarg almost 20 years ago
src/upgrade_db_to_1_5.java | ||
---|---|---|
98 | 98 |
String nodedata = rset.getString(2); |
99 | 99 |
|
100 | 100 |
try { |
101 |
if(!nodedata.trim().equals("")){ |
|
101 |
if(!nodedata.trim().equals("") && !nodedata.trim().equals("NaN")){
|
|
102 | 102 |
double s = Double.parseDouble(nodedata); |
103 | 103 |
|
104 | 104 |
pstmt =sqlca.prepareStatement( |
Also available in: Unified diff
Added code to check for NaN while converting String to double.