lukefitzwolfgang / icatproject

Automatically exported from code.google.com/p/icatproject
0 stars 0 forks source link

Datafile.file_size overflows somewhere when >2GB #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Issue

When creating a data file with file_size over 2GB (approx) this end up as a -ve 
number in the database, presumably due to a data type over flowing somewhere.
This may be (another) xmlIngest bug

What is the expected output? What do you see instead?

Postive file size. Negative file size!

What version of the product are you using? On what operating system?

ICAT 3.3/3.4
File creation through xmlIngest

Original issue reported on code.google.com by tom.grif...@stfc.ac.uk on 5 Aug 2011 at 3:00

GoogleCodeExporter commented 9 years ago
It was held as an int - in 4.0 it is a long

Original comment by dr.s.m.f...@gmail.com on 5 Apr 2012 at 9:07