3 use dbixcsl_common_tests;
5 my $dsn = $ENV{DBICTEST_DB2_DSN} || '';
6 my $user = $ENV{DBICTEST_DB2_USER} || '';
7 my $password = $ENV{DBICTEST_DB2_PASS} || '';
9 my $tester = dbixcsl_common_tests->new(
11 auto_inc_pk => 'INTEGER GENERATED BY DEFAULT AS IDENTITY NOT NULL PRIMARY KEY',
14 password => $password,
16 preserve_case_mode_is_exclusive => 1,
19 'timestamp DEFAULT CURRENT TIMESTAMP' => { data_type => 'timestamp', default_value => \'current_timestamp',
20 original => { default_value => \'current timestamp' } },
24 if( !$dsn || !$user ) {
25 $tester->skip_tests('You need to set the DBICTEST_DB2_DSN, _USER, and _PASS environment variables');
30 # vim:et sts=4 sw=4 tw=0: