Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
DB_driver::row limit
3
--INI--
4
error_reporting = 2047
5
--SKIPIF--
6
<?php require_once dirname(__FILE__) . '/skipif.inc'; ?>
7
--FILE--
8
<?php
9
require_once dirname(__FILE__) . '/connect.inc';
10
require_once dirname(__FILE__) . '/droptable.inc';
11
require_once dirname(__FILE__) . '/../limit.inc';
12
?>
13
--EXPECT--
14
======= From: 0 || Number of rows to fetch: 10 =======
15
1.- result 0
16
2.- result 1
17
3.- result 2
18
4.- result 3
19
5.- result 4
20
6.- result 5
21
7.- result 6
22
8.- result 7
23
9.- result 8
24
10.- result 9
25
Row count for limited result: 10
26
======= From: 10 || Number of rows to fetch: 10 =======
27
11.- result 10
28
12.- result 11
29
13.- result 12
30
14.- result 13
31
15.- result 14
32
16.- result 15
33
17.- result 16
34
18.- result 17
35
19.- result 18
36
20.- result 19
37
Row count for limited result: 10
38
======= From: 20 || Number of rows to fetch: 10 =======
39
21.- result 20
40
22.- result 21
41
23.- result 22
42
24.- result 23
43
25.- result 24
44
26.- result 25
45
27.- result 26
46
28.- result 27
47
29.- result 28
48
30.- result 29
49
Row count for limited result: 10
50
======= From: 30 || Number of rows to fetch: 10 =======
51
31.- result 30
52
32.- result 31
53
33.- result 32
54
Row count for limited result: 3
55
======= Passing $params || From: 11 || Number of rows to fetch: 3 =======
56
12.- result 11
57
13.- result 12
58
14.- result 13
59
======= From: 0 || Number of rows to fetch: 3 || Iterations: 10 =======
60
Row count for limited result: 3