test tweaks and a bugfix
[dbsrgits/DBIx-Class-Historic.git] / lib / DBIx / Class / CDBICompat / Convenience.pm
index 63cfa67..b82e4a0 100644 (file)
@@ -29,7 +29,7 @@ sub id {
 
 sub retrieve_all {
   my ($class) = @_;
-  return $class->search( { 1 => 1 } );
+  return $class->retrieve_from_sql( '1' );
 }
 
 1;