ãMySQLã§LOCKã¨BEGINã Apache2.xã¨PHP4.3.xã¨MySQL4.1.xã使ç¨ãã¦ãã¾ãã InnoDBã§ä½æãããã¼ãã«ãããã¾ãã ãããã¼ã¿ãselectã㦠ãã®çµæã«ãã£ã¦updateãããã ãã®å¾ãã¾ããselectãã ãã®çµæã«ãã£ã¦ãå ¨ä½ã®å¦çãå·»ãæ»ããããããã¨èãã¦ãã¾ãã ãã¦ããã®ã¨ããå¥ã¦ã¼ã¶ã¼ããåæã«æ¥ç¶ãããã¨çµæããããããªãã®ã§ã LOCK TABLESã»ã»ã»ã使ãã¾ãã ãã¨ã§ãå·»ãæ»ãï¼ROLLBACKï¼ããã«ã æåã«BEGINãããã®ã§ããã LOCK TABLESã®å¾ã«BEGINããã¨ããã¼ãã«ã®ããã¯ã解é¤ããã¦ãã¾ãã¾ãã LOCK TABLESã¨BEGINï½ROLLBACKãä½µç¨ãããã¨ã¯ä¸å¯è½ãªã®ã§ããããï¼ ã¾ããä¸å¯è½ãªå ´åãå¥ã®æ¹æ³ãªã©ãããã°æãã¦ãã ããã
{{#tags}}- {{label}}
{{/tags}}