MySQL??????????????????????
???????????? ???????[ 2015/4/10 14:20:51 ] ????????????? MySQL ???? ??
??????MySQL??????????????????????????????????????????????£????е??????????COMMIT?????????洢?????MyISAM??????£???????????????????????????????????е???????????
?????????????????????????????????????????????????????ON???????????????洢?????InnoDB ??????????START TRANSACTION??BEGIN????MySQL??????-????????????????????????????????????COMMIT????????????????????????ROLLBACK ?????????2?????
???????????????????????????OFF????????????SQL??????????????????COMMIT????????????ROLLBACK?????????
???????????????????????ON??????OFF?????????
??????????????????ON
????SET AUTOCOMMIT=0;
??????????????????OFF
????SET AUTOCOMMIT=1;
??????????????????????????OFF??????????????仯?????OFF?????????user???????????????????????????
????????????????????OFF????н???????
????mysql> SET AUTOCOMMIT=0;
????Query OK?? 0 rows affected (0.00 sec)
????????user?е?????
mysql> SELECT * FROM user G
*************************** 1. row **************
mid: 1
name: zhangsan
scx: 0
word: NULL
*************************** 2. row **************
mid: 2
name: wangwu
scx: 1
word: NULL
2 rows in set (0.00 sec)
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11