~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/limit_offset.test

Added autoconf tests for location of cstdint and cinttypes. Use those in C++ programs now, so that we don't have to define _STDC_LIMIT_MACROS, etc by hand. Stop, in fact, defining those by hand.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
CREATE TABLE t1 (a int primary key auto_increment);
2
 
insert into t1 values (),(),(),(),(),(),(),(),(),();
3
 
insert into t1 values (),(),(),(),(),(),(),(),(),();
4
 
SELECT a FROM t1 ORDER BY a LIMIT 10 OFFSET 1;
5
 
SELECT a FROM t1 ORDER BY a LIMIT 10 OFFSET 10;
6
 
SELECT a FROM t1 ORDER BY a LIMIT 2 OFFSET 14;
7
 
DROP TABLE t1;