Hi,
it’s probably a better idea to avoid explicit (un)pinning of nodes; all commands should correctly do this for you. Out of interest: why did you choose to do pinning by yourself?
Best, Christian _____________________________
Dear BaseX team, I want to ask you how to use the class AlterDB to change a database name. It always throws the exception DB_PINNED_X although I use "unpin" before using AlterDB. I found the problem is that the method TableDiskAccess.locked(db, this) always returns "true". Please see the attachment and help me solve the problem. Thanks in advance.