Skip to content
Commit b8fb9056 authored by Vishesh Handa's avatar Vishesh Handa
Browse files

VirtuosoBackend: Avoid calling SQLGetDescField unnecessarily

When fetching a literal node, it can either have a type or have a
language. We should not attempt to fetch both the langauge and type and
then check which one succeded.

Instead we first fetch the type, and only if that fails do we fetch the
lanaguge. This way we avoid one extra SQLGetDescField call when it is
not required.
parent dda25ad5
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