diff options
author | Dan Ungureanu <udan1107@gmail.com> | 2015-06-22 21:47:54 +0300 |
---|---|---|
committer | Dan Ungureanu <udan1107@gmail.com> | 2015-06-22 21:47:54 +0300 |
commit | 1bb8ecee3e50161fa14a80cecb1193b720de1c14 (patch) | |
tree | 8d455e57683af605311c3c6db3b51326496302f8 /src | |
parent | cb58d8c0eea3ffda06f96d7131bbcf90a6e602ab (diff) | |
download | sql-parser-1bb8ecee3e50161fa14a80cecb1193b720de1c14.zip sql-parser-1bb8ecee3e50161fa14a80cecb1193b720de1c14.tar.gz sql-parser-1bb8ecee3e50161fa14a80cecb1193b720de1c14.tar.bz2 |
Return more information about routines.
Diffstat (limited to 'src')
-rw-r--r-- | src/Utils/Routine.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Utils/Routine.php b/src/Utils/Routine.php index f234d97..9bc10f7 100644 --- a/src/Utils/Routine.php +++ b/src/Utils/Routine.php @@ -101,6 +101,7 @@ class Routine 'name' => array(), 'type' => array(), 'length' => array(), + 'length_arr' => array(), 'opts' => array(), ); @@ -110,6 +111,7 @@ class Routine $retval['name'][$idx] = $param->name; $retval['type'][$idx] = $param->type->name; $retval['length'][$idx] = implode(',', $param->type->size); + $retval['length_arr'][$idx] = $param->type->size; $retval['opts'][$idx] = array(); foreach ($param->type->options->options as $opt) { $retval['opts'][$idx][] = is_string($opt) ? |