Bug #62641 | A simple SELECT relock the table what was locked with LOCK TABLES WRITE. | ||
---|---|---|---|
Submitted: | 6 Oct 2011 14:05 | Modified: | 26 Dec 2011 19:00 |
Reporter: | Bela Nagy | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Locking | Severity: | S2 (Serious) |
Version: | 5.5.16 | OS: | Windows (7 64bit) |
Assigned to: | CPU Architecture: | Any |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[6 Oct 2011 14:06]
Bela Nagy
[6 Oct 2011 14:09]
Bela Nagy
lock and unlock the test1 table then execute a simple select.
Attachment: First_session_1.png (image/png, text), 64.70 KiB.
[6 Oct 2011 14:10]
Bela Nagy
Lock waiting in the second session.
Attachment: First_and_second_session_lock.png (image/png, text), 105.25 KiB.
[6 Oct 2011 14:10]
Bela Nagy
Execute COMMIT in the first session.
Attachment: First_session_commit.png (image/png, text), 108.44 KiB.