/** * Lock the table. This will also lock joined tables. * * @param s the session * @param exclusive true if an exclusive lock is required * @param forceLockEvenInMvcc lock even in the MVCC mode */ public void lock(Session s, boolean exclusive, boolean forceLockEvenInMvcc) { table.lock(s, exclusive, forceLockEvenInMvcc); if (join != null) { join.lock(s, exclusive, forceLockEvenInMvcc); } }
topTableFilter.lock(session, exclusive, exclusive); ResultTarget to = result != null ? result : target; lazy &= to == null;
public void lock(Session session, boolean exclusive, boolean force) throws SQLException { table.lock(session, exclusive, force); if (join != null) { join.lock(session, exclusive, force); } }
/** * Lock the table. This will also lock joined tables. * * @param s the session * @param exclusive true if an exclusive lock is required * @param forceLockEvenInMvcc lock even in the MVCC mode */ public void lock(Session s, boolean exclusive, boolean forceLockEvenInMvcc) { table.lock(s, exclusive, forceLockEvenInMvcc); if (join != null) { join.lock(s, exclusive, forceLockEvenInMvcc); } }
/** * Lock the table. This will also lock joined tables. * * @param s the session * @param exclusive true if an exclusive lock is required * @param forceLockEvenInMvcc lock even in the MVCC mode */ public void lock(Session s, boolean exclusive, boolean forceLockEvenInMvcc) { table.lock(s, exclusive, forceLockEvenInMvcc); if (join != null) { join.lock(s, exclusive, forceLockEvenInMvcc); } }
topTableFilter.lock(session, isForUpdate, isForUpdate); if (isQuickAggregateQuery) { queryQuick(columnCount, result);
topTableFilter.lock(session, exclusive, exclusive); ResultTarget to = result != null ? result : target; if (limitRows != 0) {
topTableFilter.lock(session, exclusive, exclusive); ResultTarget to = result != null ? result : target; if (limitRows != 0) {