text: -- original: boundary1.test
  -- credit:   http://www.sqlite.org/src/tree?ci=trunk&name=test
  
  SELECT a FROM t1 WHERE rowid < 562949953421311 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid < 562949953421311 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid < 562949953421311 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid < 562949953421311 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid <= 562949953421311 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid <= 562949953421311 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid <= 562949953421311 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid <= 562949953421311 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid <= 562949953421311 ORDER BY x
  ;SELECT * FROM t1 WHERE rowid=256
  ;SELECT rowid, a FROM t1 WHERE x='0000000000000100'
  ;SELECT rowid, x FROM t1 WHERE a=61
  ;SELECT a FROM t1 WHERE rowid > 256 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid > 256 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid > 256 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid > 256 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid > 256 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid >= 256 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid >= 256 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid >= 256 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid >= 256 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid >= 256 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid < 256 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid < 256 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid < 256 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid < 256 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid < 256 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid <= 256 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid <= 256 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid <= 256 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid <= 256 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid <= 256 ORDER BY x
  ;SELECT * FROM t1 WHERE rowid=34359738368
  ;SELECT rowid, a FROM t1 WHERE x='0000000800000000'
  ;SELECT rowid, x FROM t1 WHERE a=22
  ;SELECT a FROM t1 WHERE rowid > 34359738368 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid > 34359738368 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid > 34359738368 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid > 34359738368 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid > 34359738368 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid >= 34359738368 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid >= 34359738368 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid >= 34359738368 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid >= 34359738368 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid >= 34359738368 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid < 34359738368 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid < 34359738368 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid < 34359738368 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid < 34359738368 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid < 34359738368 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid <= 34359738368 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid <= 34359738368 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid <= 34359738368 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid <= 34359738368 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid <= 34359738368 ORDER BY x
  ;SELECT * FROM t1 WHERE rowid=65536
  ;SELECT rowid, a FROM t1 WHERE x='0000000000010000'
  ;SELECT rowid, x FROM t1 WHERE a=62
  ;SELECT a FROM t1 WHERE rowid > 65536 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid > 65536 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid > 65536 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid > 65536 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid > 65536 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid >= 65536 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid >= 65536 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid >= 65536 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid >= 65536 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid >= 65536 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid < 65536 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid < 65536 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid < 65536 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid < 65536 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid < 65536 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid <= 65536 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid <= 65536 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid <= 65536 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid <= 65536 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid <= 65536 ORDER BY x
  ;SELECT * FROM t1 WHERE rowid=268435456
  ;SELECT rowid, a FROM t1 WHERE x='0000000010000000'
  ;SELECT rowid, x FROM t1 WHERE a=40
  ;SELECT a FROM t1 WHERE rowid > 268435456 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid > 268435456 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid > 268435456 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid > 268435456 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid > 268435456 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid >= 268435456 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid >= 268435456 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid >= 268435456 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid >= 268435456 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid >= 268435456 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid < 268435456 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid < 268435456 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid < 268435456 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid < 268435456 ORDER BY rowid DESC
  ;SELECT a FROM t1 WHERE rowid < 268435456 ORDER BY x
  ;SELECT a FROM t1 WHERE rowid <= 268435456 ORDER BY a
  ;SELECT a FROM t1 WHERE rowid <= 268435456 ORDER BY a DESC
  ;SELECT a FROM t1 WHERE rowid <= 268435456 ORDER BY rowid
  ;SELECT a FROM t1 WHERE rowid <= 268435456 ORDER BY rowid DESC;