Commit 7d2f7f18 authored by Philippe Pebay's avatar Philippe Pebay
Browse files

ENH: this will only be temporary (until DB schemata can handle a size

     specification in the form of a double instead of a singleton), but for
     now size is ignored for FLOAT and DOUBLE types with  MySQL.
parent 960d7e4a
......@@ -32,7 +32,7 @@
#define VTK_MYSQL_DEFAULT_PORT 3306
vtkCxxRevisionMacro(vtkMySQLDatabase, "1.20");
vtkCxxRevisionMacro(vtkMySQLDatabase, "1.21");
vtkStandardNewMacro(vtkMySQLDatabase);
// ----------------------------------------------------------------------
......@@ -405,10 +405,10 @@ vtkStdString vtkMySQLDatabase::GetColumnSpecification( vtkSQLDatabaseSchema* sch
colSizeType = 1;
break;
case vtkSQLDatabaseSchema::REAL:
colSizeType = 1;
colSizeType = 0; // Eventually will make DB schemata handle (M,D) sizes
break;
case vtkSQLDatabaseSchema::DOUBLE:
colSizeType = 1;
colSizeType = 0; // Eventually will make DB schemata handle (M,D) sizes
break;
case vtkSQLDatabaseSchema::BLOB:
colSizeType = 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment