Commit 5581985d authored by bbaetz%acm.org's avatar bbaetz%acm.org

Bug 191085 - Fix FetchSQLData compat code.

r,a=justdave
parent 393f13a4
...@@ -100,11 +100,10 @@ sub FetchSQLData { ...@@ -100,11 +100,10 @@ sub FetchSQLData {
# This is really really ugly, but its what we get for not doing # This is really really ugly, but its what we get for not doing
# error checking for 5 years. See bug 189446. # error checking for 5 years. See bug 189446.
my @ret; {
eval { local $_current_sth->{RaiseError};
@ret = $_current_sth->fetchrow_array; return $_current_sth->fetchrow_array;
}; }
return @ret;
} }
sub FetchOneColumn { sub FetchOneColumn {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment