/tags/release-0.0.0-rc0/hive/external/ql/src/test/queries/clientpositive/lock1.q
# · text · 29 lines · 26 code · 3 blank · 0 comment · 0 complexity · 6ad819e43c7b94e6987f3218c9897ab3 MD5 · raw file
- drop table tstsrc;
- create table tstsrc like src;
- insert overwrite table tstsrc select key, value from src;
- SHOW LOCKS;
- SHOW LOCKS tstsrc;
- LOCK TABLE tstsrc shared;
- SHOW LOCKS;
- SHOW LOCKS tstsrc;
- SHOW LOCKS tstsrc extended;
- UNLOCK TABLE tstsrc;
- SHOW LOCKS;
- SHOW LOCKS extended;
- SHOW LOCKS tstsrc;
- lock TABLE tstsrc SHARED;
- SHOW LOCKS;
- SHOW LOCKS extended;
- SHOW LOCKS tstsrc;
- LOCK TABLE tstsrc SHARED;
- SHOW LOCKS;
- SHOW LOCKS extended;
- SHOW LOCKS tstsrc;
- UNLOCK TABLE tstsrc;
- SHOW LOCKS;
- SHOW LOCKS extended;
- SHOW LOCKS tstsrc;
- drop table tstsrc;