Restore ability to handle underdefined root (t/prefetch/incomplete.t)
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / SQLAHacks / SQLite.pm
index e260786..c9e4ad7 100644 (file)
@@ -1,21 +1,9 @@
 package # Hide from PAUSE
   DBIx::Class::SQLAHacks::SQLite;
 
-use base qw( DBIx::Class::SQLAHacks );
-use Carp::Clan qw/^DBIx::Class|^SQL::Abstract/;
+use warnings;
+use strict;
 
-#
-# SQLite does not understand SELECT ... FOR UPDATE
-# Disable it here
-#
-sub _parse_rs_attrs {
-  my ($self, $attrs) = @_;
-
-  return $self->SUPER::_parse_rs_attrs ($attrs)
-    if ref $attrs ne 'HASH';
-
-  local $attrs->{for};
-  return $self->SUPER::_parse_rs_attrs ($attrs);
-}
+use base qw( DBIx::Class::SQLMaker::SQLite );
 
 1;