diff options
| author | Martin Schleußer <ms@martin-schleusser.de> | 2019-01-13 22:58:56 +0100 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2019-12-30 00:31:16 +0100 |
| commit | 063b3af4dcb4d3c7be43c9878a817918c32abd17 (patch) | |
| tree | 5055a30194ef06b6de30cc19ec23542abc89ef30 /adodb-datadict.inc.php | |
| parent | bc4bfe43dd1936c14e8208102f8792aa97fb2951 (diff) | |
| download | adodb-063b3af4dcb4d3c7be43c9878a817918c32abd17.tar.gz adodb-063b3af4dcb4d3c7be43c9878a817918c32abd17.tar.bz2 adodb-063b3af4dcb4d3c7be43c9878a817918c32abd17.zip | |
Extend Control of BLOB data dictionary feature
Add 'XL' to the blob checks in _GenFields.
See #292
Diffstat (limited to 'adodb-datadict.inc.php')
| -rw-r--r-- | adodb-datadict.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adodb-datadict.inc.php b/adodb-datadict.inc.php index fc5f932b..c851b9ed 100644 --- a/adodb-datadict.inc.php +++ b/adodb-datadict.inc.php @@ -738,7 +738,7 @@ class ADODB_DataDict { $ftype = $this->_GetSize($ftype, $ty, $fsize, $fprec, $fOptions); - if (($ty == 'X' || $ty == 'X2' || $ty == 'B') && !$this->blobAllowsNotNull) + if (($ty == 'X' || $ty == 'X2' || $ty == 'XL' || $ty == 'B') && !$this->blobAllowsNotNull) /* * some blob types do not accept nulls, so we override the * previously defined value @@ -748,7 +748,7 @@ class ADODB_DataDict { if ($fprimary) $pkey[] = $fname; - if (($ty == 'X' || $ty == 'X2' || $ty == 'B') && !$this->blobAllowsDefaultValue) + if (($ty == 'X' || $ty == 'X2' || $ty == 'XL' || $ty == 'B') && !$this->blobAllowsDefaultValue) /* * some databases do not allow blobs to have defaults, so we * override the previously defined value |
