| ... | ... |
@@ -907,7 +907,7 @@ is_deeply($rows, [{key2 => 4, key3 => 18}], "select : join : omit");
|
| 907 | 907 |
test 'each_column'; |
| 908 | 908 |
$dbi = DBIx::Custom->connect(dsn => 'dbi:SQLite:dbname=:memory:'); |
| 909 | 909 |
$dbi->execute('create table table2 (key1 char(255), key3 char(255));');
|
| 910 |
-$dbi->execute($CREATE_TABLE->{3});
|
|
| 910 |
+$dbi->execute('create table table1 (key1 Date, key2 datetime);');
|
|
| 911 | 911 |
|
| 912 | 912 |
$infos = []; |
| 913 | 913 |
$dbi->each_column(sub {
|
| ... | ... |
@@ -931,7 +931,7 @@ is_deeply($infos, |
| 931 | 931 |
test 'each_table'; |
| 932 | 932 |
$dbi = DBIx::Custom->connect(dsn => 'dbi:SQLite:dbname=:memory:'); |
| 933 | 933 |
$dbi->execute('create table table2 (key1 char(255), key3 char(255));');
|
| 934 |
-$dbi->execute($CREATE_TABLE->{3});
|
|
| 934 |
+$dbi->execute('create table table1 (key1 Date, key2 datetime);');
|
|
| 935 | 935 |
|
| 936 | 936 |
$infos = []; |
| 937 | 937 |
$dbi->each_table(sub {
|