Description
```
CREATE TABLE TEST(A INT);
CREATE TABLE TEST1(A INT);
SESSION1:BEGIN;
SESSION2:BEGIN;
SESSION1:TRUNCATE test;
SESSION2:TRUNCATE test1;
SESSION1:TRUNCATE test1;
SESSION 2: TRUNCATE test; //deadlock should be detected
```
```
CREATE TABLE TEST(A INT);
CREATE TABLE TEST1(A INT);
SESSION1:BEGIN;
SESSION2:BEGIN;
SESSION1:TRUNCATE test;
SESSION2:TRUNCATE test1;
SESSION1:TRUNCATE test1;
SESSION 2: TRUNCATE test; //deadlock should be detected
```