Fix a bug in pcrud.
When checking a row for permissions, we often read a fresh copy of the
row in order to ensure that we have all the foreign keys that we need.
However in some cases (mainly when the class is a view), there is no
primary key, so we can't re-read the row.
Solution: if there is no primary key, don't try to do a fresh read.
Use the row image that we already have.
For these cases, this solution re-creates the possibility that we may
not have all the necessary columns. There's no good way around that
problem.
M Open-ILS/src/c-apps/oils_sql.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16873
dcc99617-32d9-48b4-a31d-
7c20da2025e4