| 103 | } |
| 104 | |
| 105 | inline LOCK_OWNER_T LCK_OWNER_ID_ATT(thread_db* tdbb) |
| 106 | { |
| 107 | if (tdbb->getDatabase()->dbb_flags & DBB_shared) |
| 108 | return (LOCK_OWNER_T) getpid() << 32 | tdbb->getAttachment()->att_lock_owner_id; |
| 109 | |
| 110 | return (LOCK_OWNER_T) getpid() << 32 | tdbb->getDatabase()->dbb_lock_owner_id; |
| 111 | } |
| 112 | |
| 113 | inline SLONG* LCK_OWNER_HANDLE_DBB(thread_db* tdbb) |
| 114 | { |
no test coverage detected