Ewl » Canonical The canonical version of EWL Read More
Clone URL:  
Pushed to 3 repositories · View In Graph Contained in tip and canonical

Updated ValueContainer to compensate for a MySQL bug fix. See
https://forums.mysql.com/read.php?3,663870,663870

Changeset 7d78e89c2a14

Parent 4232ea99d08f

by Profile picture of William GrossWilliam Gross

Changes to one file · Browse files at 7d78e89c2a14 Showing diff from parent 4232ea99d08f Diff from another changeset...

 
1
2
3
4
5
 
6
7
8
 
35
36
37
38
39
 
 
40
41
42
 
1
2
 
3
4
5
6
7
8
 
35
36
37
 
 
38
39
40
41
42
@@ -1,8 +1,8 @@
 using System;  using System.Linq; -using Humanizer;  using EnterpriseWebLibrary.DatabaseSpecification;  using EnterpriseWebLibrary.DatabaseSpecification.Databases; +using Humanizer;    namespace EnterpriseWebLibrary.InstallationSupportUtility.DatabaseAbstraction {   /// <summary> @@ -35,8 +35,8 @@
  nullValueExpression = databaseInfo is OracleInfo && new[] { "Clob", "NClob" }.Contains( dbTypeString ) ? "\"\"" : "";   this.size = size;   - // MySQL LONGTEXT returns zero for size. - if( databaseInfo is MySqlInfo && dbTypeString == "Text" && size == 0 ) + // MySQL LONGTEXT returns -1 for size. + if( databaseInfo is MySqlInfo && dbTypeString == "Text" && size == -1 )   this.size = int.MaxValue;     if( databaseInfo is MySqlInfo && dbTypeString == "Bit" && this.size == 1 ) {