}
byte_array = GetValue(index);
+ if (byte_array == null)
+ {
+ ErrorFactory.ThrowException(ResultType.InvalidParamer, false);
+ }
ret = BitConverter.ToInt32(byte_array, 0);
return ret;
}
byte_array = GetValue(index);
+ if (byte_array == null)
+ {
+ ErrorFactory.ThrowException(ResultType.InvalidParamer, false);
+ }
ret = BitConverter.ToInt64(byte_array, 0);
return ret;
}
byte_array = GetValue(index);
+ if (byte_array == null)
+ {
+ ErrorFactory.ThrowException(ResultType.InvalidParamer, false);
+ }
ret = BitConverter.ToDouble(byte_array, 0);
return ret;
{
query += " LIMIT " + countPerPage + " OFFSET " + (countPerPage * (pageNum - 1));
}
-
+ handle.Dispose();
return query;
}
if (ret != ResultType.Success)
{
Log.Error(LogTag, "Writing a row to a file descriptor is failed");
+ mc.Dispose();
return;
}
}
}
while (write_size > 0);
+ mc.Dispose();
}
- mc.Dispose();
}
else
{
default:
break;
}
+ handle.Dispose();
return query;
}
provider = _providerDict[dataID];
provider._nativeHandle = handlePtr;
}
+ handle.Dispose();
return provider;
}
{
ResultType ret;
- if (changedData == null | changedData.SafeBundleHandle.IsInvalid)
+ if (changedData == null || changedData.SafeBundleHandle.IsInvalid)
{
ErrorFactory.ThrowException(ResultType.InvalidParamer, false, "changedData");
}