39
44
ORACLE_ISSUE_STILL_REPEATABLE
40
45
ORACLE_ISSUE_NO_LONGER_REPEATABLE
46
ORACLE_ISSUE_STATUS_UNKNOWN
43
54
use constant STATUS_OK => 1;
44
55
use constant STATUS_UNKNOWN_ERROR => 2;
46
use constant STATUS_EOF => 3; # A module requested that the test is terminated without failure
57
use constant STATUS_ANY_ERROR => 3; # Used in util/simplify* to not differentiate based on error code
59
use constant STATUS_EOF => 4; # A module requested that the test is terminated without failure
48
61
use constant STATUS_WONT_HANDLE => 5; # A module, e.g. a Validator refuses to handle certain query
62
use constant STATUS_SKIP => 6; # A Filter specifies that the query should not be processed further
50
64
use constant STATUS_SYNTAX_ERROR => 21;
51
65
use constant STATUS_SEMANTIC_ERROR => 22; # Errors caused by the randomness of the test, e.g. dropping a non-existing table
52
66
use constant STATUS_TRANSACTION_ERROR => 23; # Lock wait timeouts, deadlocks, duplicate keys, etc.
54
use constant STATUS_TEST_FAILURE => 24; # Boundary between genuine errors and false positives due to randomness
68
use constant STATUS_TEST_FAILURE => 24; # Boundary between genuine errors and false positives due to randomness
56
70
use constant STATUS_SELECT_REDUCTION => 5; # A coefficient to substract from error codes in order to make them non-fatal
58
72
use constant STATUS_ERROR_MISMATCH_SELECT => 26; # A SELECT query caused those erros, however the test can continue
59
73
use constant STATUS_LENGTH_MISMATCH_SELECT => 27; # since the database has not been modified
60
use constant STATUS_CONTENT_MISMATCH_SELECT => 28; #
74
use constant STATUS_CONTENT_MISMATCH_SELECT => 28; #
62
76
use constant STATUS_ERROR_MISMATCH => 31; # A DML statement caused those errors, and the test can not continue
63
77
use constant STATUS_LENGTH_MISMATCH => 32; # because the databases are in an unknown inconsistent state
70
84
use constant STATUS_ENVIRONMENT_FAILURE => 34; # A failure in the environment or the grammar file
86
use constant STATUS_CUSTOM_OUTCOME => 35; # Used for things such as signaling an EXPLAIN hit from the ExplainMatch Validator
72
88
use constant STATUS_SERVER_CRASHED => 101;
74
90
use constant STATUS_SERVER_KILLED => 102; # Willfull killing of the server, will not be reported as a crash
82
98
use constant ORACLE_ISSUE_STILL_REPEATABLE => 1;
83
99
use constant ORACLE_ISSUE_NO_LONGER_REPEATABLE => 0;
100
use constant ORACLE_ISSUE_STATUS_UNKNOWN => 2;
102
use constant DB_UNKNOWN => 0;
103
use constant DB_MYSQL => 1;
104
use constant DB_POSTGRES => 2;
105
use constant DB_JAVADB => 3;