[vtk-developers] vtkMySQLQuery Bug

Xenophon Papademetris xenophon.papademetris at yale.edu
Wed Jul 2 10:32:29 EDT 2008


Hi,

We have been using the new SQL-related classes for a database project and
they mostly work great. The only problem we have found (so far!) is that
vtkMySQLQuery casts fields of type DATETIME as VTK_INT. Given that dates are
also stored in the format "2008-05-11" this should be changed to return them
as VTK_STRING. (This is done in the function GetFieldType())

Xenios


-----------------------------------------------------------
Xenios Papademetris  
Assistant Professor of Diagnostic Radiology and Biomedical Engineering
Yale University School of Medicine,
New Haven, CT 06520-8042 USA
http://www.bioimagesuite.org 
http://bioimaging.yale.edu/faculty/papademetris.html







More information about the vtk-developers mailing list