Skip to content

Commit f0ec09b

Browse files
committed
Merge remote-tracking branch 'andrew/fixes-for-unit-tests-part3' into ph-delivery
2 parents bb20195 + 2135729 commit f0ec09b

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/DB/Adapter/Pdo

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1750,7 +1750,7 @@ public function getColumnCreateByDescribe($columnData)
17501750
$options['unsigned'] = true;
17511751
}
17521752
if ($columnData['NULLABLE'] === false
1753-
&& !($type == Table::TYPE_TEXT && strlen($columnData['DEFAULT']) != 0)
1753+
&& !($type == Table::TYPE_TEXT && isset($columnData['DEFAULT']) && strlen($columnData['DEFAULT']) != 0)
17541754
) {
17551755
$options['nullable'] = false;
17561756
}

0 commit comments

Comments
 (0)