~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to lib/GenTest/Executor.pm

count and report affected_rows and returned rows separately

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
@ISA = qw(GenTest Exporter);
22
22
 
23
23
@EXPORT = qw(
24
 
    EXECUTOR_ROW_COUNTS
 
24
        EXECUTOR_RETURNED_ROW_COUNTS
 
25
        EXECUTOR_AFFECTED_ROW_COUNTS
25
26
        EXECUTOR_EXPLAIN_COUNTS
26
27
        EXECUTOR_EXPLAIN_QUERIES
27
28
        EXECUTOR_ERROR_COUNTS
33
34
use GenTest;
34
35
use GenTest::Constants;
35
36
 
36
 
use constant EXECUTOR_DSN               => 0;
37
 
use constant EXECUTOR_DBH               => 1;
38
 
use constant EXECUTOR_ID                => 2;
39
 
use constant EXECUTOR_ROW_COUNTS        => 3;
40
 
use constant EXECUTOR_EXPLAIN_COUNTS    => 4;
41
 
use constant EXECUTOR_EXPLAIN_QUERIES   => 5;
42
 
use constant EXECUTOR_ERROR_COUNTS      => 6;
43
 
use constant EXECUTOR_DEFAULT_SCHEMA => 7;
44
 
use constant EXECUTOR_SCHEMA_METADATA => 8;
45
 
use constant EXECUTOR_COLLATION_METADATA => 9;
46
 
use constant EXECUTOR_META_CACHE => 10;
47
 
use constant EXECUTOR_CHANNEL => 11;
48
 
use constant EXECUTOR_SQLTRACE => 12;
 
37
use constant EXECUTOR_DSN                       => 0;
 
38
use constant EXECUTOR_DBH                       => 1;
 
39
use constant EXECUTOR_ID                        => 2;
 
40
use constant EXECUTOR_RETURNED_ROW_COUNTS       => 3;
 
41
use constant EXECUTOR_AFFECTED_ROW_COUNTS       => 4;
 
42
use constant EXECUTOR_EXPLAIN_COUNTS            => 5;
 
43
use constant EXECUTOR_EXPLAIN_QUERIES           => 6;
 
44
use constant EXECUTOR_ERROR_COUNTS              => 7;
 
45
use constant EXECUTOR_DEFAULT_SCHEMA            => 8;
 
46
use constant EXECUTOR_SCHEMA_METADATA           => 9;
 
47
use constant EXECUTOR_COLLATION_METADATA        => 10;
 
48
use constant EXECUTOR_META_CACHE                => 11;
 
49
use constant EXECUTOR_CHANNEL                   => 12;
 
50
use constant EXECUTOR_SQLTRACE                  => 13;
49
51
 
50
52
1;
51
53