diff --git a/ext/pdo_mysql/tests/pdo_mysql_attr_max_buffer_size.phpt b/ext/pdo_mysql/tests/pdo_mysql_attr_max_buffer_size.phpt index 6491bb7bca2e0..34f68f07a7801 100644 --- a/ext/pdo_mysql/tests/pdo_mysql_attr_max_buffer_size.phpt +++ b/ext/pdo_mysql/tests/pdo_mysql_attr_max_buffer_size.phpt @@ -44,6 +44,9 @@ if (MySQLPDOTest::isPDOMySQLnd()) $offset, $id, substr($val, 0, 10), strlen($val)); } + // This is necessary because we will be creating tables several times. + $db->query('DROP TABLE test_attr_max_buffer_size'); + } catch (PDOException $e) { printf("[%03d] %s, [%s] %s\n", $offset,