10 # Set up the "usual" sqlite for DBICTest
11 my $schema = DBICTest->init_schema;
13 my $sth_one = $schema->storage->_sth('SELECT 42');
14 my $sth_two = $schema->storage->_sth('SELECT 42');
15 $schema->storage->disable_sth_caching(1);
16 my $sth_three = $schema->storage->_sth('SELECT 42');
18 ok($sth_one == $sth_two, "statement caching works");
19 ok($sth_two != $sth_three, "disabling statement caching works");