result set

This commit is contained in:
jackdaw@loafle.com 2017-04-25 17:41:22 +09:00
parent 3aa6829e8b
commit d25a2ee843

View File

@ -88,7 +88,8 @@ public class OFResultSetRow extends OFResultSet{
for (int i =0 ; i< arrayColumns.size() ; ++i) {
// replace
String k = "$" + i;
String replaceString = data.get(this.meta.get(arrayColumns.get(i)));
int dataIndex = this.meta.get(arrayColumns.get(i);
String replaceString = data.get(dataIndex);
metric = metric.replace(k,"'" + replaceString + "'");
}