c5c065e10a
Adding LIMIT to the primary auth type SQL statement does not play well with Oracle. We can just remove the LIMIT clause from the SQL statement and and pass IGNORE_MULTIPLE to the call to $DB->get_field_sql() instead.