We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18fabf0 commit a8fa38bCopy full SHA for a8fa38b
library/Zend/Db/Adapter/Pdo/Mysql.php
@@ -200,7 +200,7 @@ public function describeTable($tableName, $schemaName = null)
200
$row[$type] = 'float';
201
$precision = $matches[1];
202
$scale = $matches[2];
203
- } else if (preg_match('/^((?:big|medium|small|tiny)?int)(\((\d+)\))?/', $row[$type], $matches)) {
+ } else if (preg_match('/^((?:big|medium|small|tiny)?int)(?:\((\d+)\))?/', $row[$type], $matches)) {
204
$row[$type] = $matches[1];
205
// The optional argument of a MySQL int type is not precision
206
// or length; it is only a hint for display width.
0 commit comments