Reason
| abc | def |
$val = str_repeat('x', 359); $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; $db = Zend_Db::factory( 'Pdo_Mysql',
array('host' => 'localhost', 'username' => 'root', 'password' => , 'dbname' => 'testdb')
); $db->getConnection(); $db->query($sql); Database schema to reproduce: =====================CREATE TABLE `testdb`.`test` ( `test` TEXT NOT NULL ) ENGINE = MYISAMÂ ;$val = str_repeat('x', 359); $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; $db = Zend_Db::factory( 'Pdo_Mysql',
array('host' => 'localhost', 'username' => 'root', 'password' => , 'dbname' => 'testdb')
); $db->getConnection(); $db->query($sql); Database schema to reproduce: =====================CREATE TABLE `testdb`.`test` ( `test` TEXT NOT NULL ) ENGINE = MYISAMÂ ;$val = str_repeat('x', 359); $sql = "INSERT INTO `test` (`test`) VALUES ('$val')"; $db = Zend_Db::factory( 'Pdo_Mysql',
array('host' => 'localhost', 'username' => 'root', 'password' => , 'dbname' => 'testdb')
); $db->getConnection(); $db->query($sql); Database schema to reproduce: =====================CREATE TABLE `testdb`.`test` ( `test` TEXT NOT NULL ) ENGINE = MYISAMÂ ; |
