, 14, 36, 39, 22, 46, 35, 57, 19, 7, 56, 25, 34, 10, 26, 13, 43, 27, 45, 17, 28, 3})

test:do_execsql_test(
    "boundary2-2.62.gt.4",
    "SELECT a FROM t1 WHERE r > -2147483649 ORDER BY r DESC",
    {3, 28, 17, 45, 27, 43, 13, 26, 10, 34, 25, 56, 7, 19, 57, 35, 46, 22, 39, 36, 14, 51, 20, 40, 12, 6, 9, 24, 18, 42, 15, 62, 48, 50, 23, 16, 8, 61, 30, 49, 4, 31, 5, 41, 60, 59, 38, 33, 52, 53, 54, 32, 29, 37, 1, 11})

test:do_execsql_test(
    "boundary2-2.62.gt.5",
    "SELECT a FROM t1 WHERE r > -2147483649 ORDER BY x",
    {59, 60, 41, 5, 31, 4, 49, 30, 61, 8, 16, 23, 50, 48, 62, 15, 42, 18, 24, 9, 6, 12, 40, 20, 51, 14, 36, 39, 22, 46, 35, 57, 19, 7, 56, 25, 34, 10, 26, 13, 43, 27, 45, 17, 28, 3, 11, 1, 37, 29, 32, 54, 53, 52, 33, 38})

test:do_execsql_test(
    "boundary2-2.62.ge.1",
    "SELECT a FROM t1 WHERE r >= -2147483649 ORDER BY a",
    {1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 56, 57, 59, 60, 61, 62})

test:do_execsql_test(
    "boundary2-2.62.ge.2",
    "SELECT a FROM t1 WHERE r >= -2147483649 ORDER BY a DESC",
    {62, 61, 60, 59, 57, 56, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 43, 42, 41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 1})

test:do_execsql_test(
    "boundary2-2.62.ge.3",
    "SELECT a FROM t1 WHERE r >= -2147483649 ORDER BY r",
    {47, 11, 1, 37, 29, 32, 54, 53, 52, 33, 38, 59, 60, 41, 5, 31, 4, 49, 30, 61, 8, 16, 23, 50, 48, 62, 15, 42, 18, 24, 9, 6, 12, 40, 20, 51, 14, 36, 39, 22, 46, 35, 57, 19, 7, 56, 25, 34, 10, 26, 13, 43, 27, 45, 17, 28, 3})

test:do_execsql_test(
    "boundary2-2.62.ge.4",
    "SELECT a FROM t1 WHERE r >= -2147483649 ORDER BY r DESC",
    {3, 28, 17, 45, 27, 43, 13, 26, 10, 34, 25, 56, 7, 19, 57, 35, 46, 22, 39, 36, 14, 51, 20, 40, 12, 6, 9, 24, 18, 42, 15, 62, 48, 50, 23, 16, 8, 61, 30, 49, 4, 31, 5, 41, 60, 59, 38, 33, 52, 53, 54, 32, 29, 37, 1, 11, 47})

test:do_execsql_test(
    "boundary2-2.62.ge.5",
    "SELECT a FROM t1 WHERE r >= -2147483649 ORDER BY x",
    {59, 60, 41, 5, 31, 4, 49, 30, 61, 8, 16, 23, 50, 48, 62, 15, 42, 18, 24, 9, 6, 12, 40, 20, 51, 14, 36, 39, 22, 46, 35, 57, 19, 7, 56, 25, 34, 10, 26, 13, 43, 27, 45, 17, 28, 3, 47, 11, 1, 37, 29, 32, 54, 53, 52, 33, 38})

test:do_execsql_test(
    "boundary2-2.62.lt.1",
    "SELECT a FROM t1 WHERE r < -2147483649 ORDER BY a",
    {2, 21, 44, 55, 58, 63, 64})

test:do_execsql_test(
    "boundary2-2.62.lt.2",
    "SELECT a FROM t1 WHERE r < -2147483649 ORDER BY a DESC",
    {64, 63, 58, 55, 44, 21, 2})

test:do_execsql_test(
    "boundary2-2.62.lt.3",
    "SELECT a FROM t1 WHERE r < -2147483649 ORDER BY r",
    {55, 2, 64, 21, 44, 58, 63})

test:do_execsql_test(
    "boundary2-2.62.lt.4",
    "SELECT a FROM t1 WHERE r < -2147483649 ORDER BY r DESC",
    {63, 58, 44, 21, 64, 2, 55})

test:do_execsql_test(
    "boundary2-2.62.lt.5",
    "SELECT a FROM t1 WHERE r < -2147483649 ORDER BY x",
    {55, 2, 64, 21, 44, 58, 63})

test:do_execsql_test(
    "boundary2-2.62.le.1",
    "SELECT a FROM t1 WHERE r <= -2147483649 ORDER BY a",
    {2, 21, 44, 47, 55, 58, 63, 64})

test:do_execsql_test(
    "boundary2-2.62.le.2",
    "SELECT a FROM t1 WHERE r <= -2147483649 ORDER BY a DESC",
    {64, 63, 58, 55, 47, 44, 21, 2})

test:do_execsql_test(
    "boundary2-2.62.le.3",
    "SELECT a FROM t1 WHERE r <= -2147483649 ORDER BY r",
    {55, 2, 64, 21, 44, 58, 63, 47})

test:do_execsql_test(
    "boundary2-2.62.le.4",
    "SELECT a FROM t1 WHERE r <= -2147483649 ORDER BY r DESC",
    {47, 63, 58, 44, 21, 64, 2, 55})

test:do_execsql_test(
    "boundary2-2.62.le.5",
    "SELECT a FROM t1 WHERE r <= -2147483649 ORDER BY x",
    {55, 2, 64, 21, 44, 58, 63, 47})

test:do_execsql_test(
    "boundary2-2.63.1",
    "SELECT * FROM t1 WHERE r=-36028797018963969",
    {-36028797018963969LL, 2, "ff7fffffffffffff"})

test:do_execsql_test(
    "boundary2-2.63.2",
    "SELECT r, a FROM t1 WHERE x='ff7fffffffffffff'",
    {-36028797018963969LL, 2})

test:do_execsql_test(
    "boundary2-2.63.3",
    "SELECT r, x FROM t1 WHERE a=2",
    {-36028797018963969LL, "ff7fffffffffffff"})

test:do_execsql_test(
    "boundary2-2.63.gt.1",
    "SELECT a FROM t1 WHERE r > -360