Skip to content

Commit

Permalink
Help with an ambiguous DBI error
Browse files Browse the repository at this point in the history
This query can fail in a way that is masking the real error, since
'fid' isn't in a list of names that we're not specifying.

git-svn-id: http://code.sixapart.com/svn/mogilefs/trunk@1357 f67b2e87-0811-0410-a7e0-dd94e48410d6
  • Loading branch information
dormando committed Nov 20, 2009
1 parent d614ee4 commit 4411114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MogileFS/Store.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ sub grab_files_to_delete2 {
$dbh->begin_work;
my $ut = $self->unix_timestamp;
$to_del_map = $dbh->selectall_hashref(qq{
SELECT *
SELECT fid, nexttry, failcount
FROM file_to_delete2
WHERE nexttry <= $ut
ORDER BY nexttry
Expand Down

0 comments on commit 4411114

Please sign in to comment.