|
@@ -184,7 +184,7 @@ class GenericReflection
|
184
|
184
|
if ($this->driver == 'mysql') {
|
185
|
185
|
foreach ($results as &$result) {
|
186
|
186
|
// mysql does not properly reflect display width of types
|
187
|
|
- preg_match('|([a-z]+)(\(([0-9]+)(,([0-9]+))?\))?|', $result['DATA_TYPE'], $matches);
|
|
187
|
+ preg_match('|([a-zA-Z]+)(\(([0-9]+)(,([0-9]+))?\))?|', $result['DATA_TYPE'], $matches);
|
188
|
188
|
$result['DATA_TYPE'] = $matches[1];
|
189
|
189
|
if (!$result['CHARACTER_MAXIMUM_LENGTH']) {
|
190
|
190
|
if (isset($matches[3])) {
|