|
|
@ -425,7 +425,7 @@ class DB |
|
|
|
|
|
|
|
|
// Get phptype and dbsyntax
|
|
|
// Get phptype and dbsyntax
|
|
|
// $str => phptype(dbsyntax)
|
|
|
// $str => phptype(dbsyntax)
|
|
|
if (preg_match('|^([^(]+)\(([^(]*)\)$|', $str, $arr)) { |
|
|
|
|
|
|
|
|
if (preg_match('|^(.+?)\((.*?)\)$|', $str, $arr)) { |
|
|
$parsed['phptype'] = $arr[1]; |
|
|
$parsed['phptype'] = $arr[1]; |
|
|
$parsed['dbsyntax'] = (empty($arr[2])) ? $arr[1] : $arr[2]; |
|
|
$parsed['dbsyntax'] = (empty($arr[2])) ? $arr[1] : $arr[2]; |
|
|
} else { |
|
|
} else { |
|
|
|