... | ... |
@@ -2704,7 +2704,8 @@ $dbi->type_rule( |
2704 | 2704 |
); |
2705 | 2705 |
$dbi->insert({key1 => 2}, table => 'table1', type_rule_off => 1); |
2706 | 2706 |
$result = $dbi->select(table => 'table1', type_rule_off => 1); |
2707 |
-is($result->fetch->[0], 4); |
|
2707 |
+$result->type_rule_off(1); |
|
2708 |
+is($result->fetch->[0], 2); |
|
2708 | 2709 |
|
2709 | 2710 |
$dbi = DBIx::Custom->connect(dsn => 'dbi:SQLite:dbname=:memory:'); |
2710 | 2711 |
$dbi->execute("create table table1 (key1 Date, key2 datetime)"); |