summaryrefslogtreecommitdiff
path: root/adodb-datadict.inc.php
diff options
context:
space:
mode:
authorMark Newnham <mark@newnhams.com>2016-01-30 08:42:00 -0700
committerDamien Regad <dregad@mantisbt.org>2016-01-31 11:21:47 +0100
commit6d71c2c4fa80e8be6019ebd20093dc7badf97b34 (patch)
tree03a1dbcaef083f57eb36ee5d38d937acab7e23a6 /adodb-datadict.inc.php
parentdde9ff06a6840985d70913d315266a33fc9c7943 (diff)
downloadadodb-6d71c2c4fa80e8be6019ebd20093dc7badf97b34.tar.gz
adodb-6d71c2c4fa80e8be6019ebd20093dc7badf97b34.tar.bz2
adodb-6d71c2c4fa80e8be6019ebd20093dc7badf97b34.zip
Added optional argument to datadict/_getsize()
The private method datadict/_getSize() now has a new, optional 5th argument that allows the passing of additional information for processing data types See issue #26
Diffstat (limited to 'adodb-datadict.inc.php')
-rw-r--r--adodb-datadict.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/adodb-datadict.inc.php b/adodb-datadict.inc.php
index e3608ebd..0c631801 100644
--- a/adodb-datadict.inc.php
+++ b/adodb-datadict.inc.php
@@ -806,7 +806,7 @@ class ADODB_DataDict {
$ftype is the actual type
$ty is the type defined originally in the DDL
*/
- function _GetSize($ftype, $ty, $fsize, $fprec)
+ function _GetSize($ftype, $ty, $fsize, $fprec, $options=false)
{
if (strlen($fsize) && $ty != 'X' && $ty != 'B' && strpos($ftype,'(') === false) {
$ftype .= "(".$fsize;