the lock is aiming to solve the porblem that when parallel minipupating the database,it can protect the data
the lock is divided into the following:
1 S .such as select * from tablename
2 RS .such as select * from tablename where
3 X .such DDL statmtemnets
4 RX such as select * from tablename for update
5 RSX
the lock is divided into the following:
1 S .such as select * from tablename
2 RS .such as select * from tablename where
3 X .such DDL statmtemnets
4 RX such as select * from tablename for update
5 RSX