文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>mysql bug 55981

mysql bug 55981

时间:2010-12-01  来源:shiri512003

blob bug


http://www.mysqlperformanceblog.com/2010/11/29/data-corruption-drbd-and-story-of-bug/
http://bugs.mysql.com/bug.php?id=55981

root@test 06:52:04>CREATE TABLE t4(c1 int,c2 int,c3 MEDIUMBLOB,PRIMARY KEY(c1)) engine=innodb;
Query OK, 0 rows affected (0.01 sec)

root@test 06:52:05>insert into t4 values(1, 2, REPEAT('b', 54903));
Query OK, 1 row affected (0.04 sec)

root@test 06:52:12>start transaction;
Query OK, 0 rows affected (0.00 sec)

root@test 06:52:18>update t4 set c1 = 3;
Query OK, 1 row affected (0.02 sec)
Rows matched: 1 Changed: 1 Warnings: 0

root@test 06:52:24>rollback;
Query OK, 0 rows affected (0.01 sec)

root@test 06:52:30>start transaction;
Query OK, 0 rows affected (0.00 sec)

root@test 06:52:37>update t4 set c1 = 3;
Query OK, 1 row affected (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 0

root@test 06:52:41>rollback;
ERROR 2013 (HY000): Lost connection to MySQL server during query
悲剧了

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载