Skip to content

Commit

Permalink
Replace code with more interesting cases
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-zotov committed Jun 7, 2015
1 parent f99a1e6 commit 5b29a49
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions tests/bugs/core_4350.fbt
Expand Up @@ -18,17 +18,17 @@
"""
recreate sequence g1 start with 9223372036854775807 increment by -2147483647;
recreate sequence g2 start with -9223372036854775808 increment by 2147483647;
recreate sequence g3 start with 9223372036854775807 increment by 2147483647;
recreate sequence g4 start with -9223372036854775808 increment by -2147483647;
commit;
set list on;
select next value for g1, next value for g2
from rdb$database;
select next value for g1, next value for g2
from rdb$database;
select next value for g1, next value for g2
select next value for g1, next value for g2, next value for g3, next value for g4
from rdb$database;

alter sequence g1 restart;
alter sequence g2 restart;
alter sequence g3 restart;
alter sequence g4 restart;
commit;

show sequ;
Expand All @@ -37,15 +37,13 @@
"""
NEXT_VALUE 9223372034707292160
NEXT_VALUE -9223372034707292161

NEXT_VALUE 9223372032559808513
NEXT_VALUE -9223372032559808514

NEXT_VALUE 9223372030412324866
NEXT_VALUE -9223372030412324867

NEXT_VALUE -9223372034707292162
NEXT_VALUE 9223372034707292161

Generator G1, current value: 9223372036854775807, initial value: 9223372036854775807, increment: -2147483647
Generator G2, current value: -9223372036854775808, initial value: -9223372036854775808, increment: 2147483647
Generator G3, current value: 9223372036854775807, initial value: 9223372036854775807, increment: 2147483647
Generator G4, current value: -9223372036854775808, initial value: -9223372036854775808, increment: -2147483647
"""
}
]
Expand Down

0 comments on commit 5b29a49

Please sign in to comment.