Please sign in to comment.
DBManager fixes: tree loops and misc
* Groups (A) can no longer be added to groups (B) whose parent/ancestor is the initial group (A). This would create a "loop". Only applies to visual loops (i.e. "Primary Group"). * Nodes are not loaded when there is a "loop". * Fix a possible issue where User, Clan, and Game entries could possibly have the incorrect parent (usually that of a previously added node instead of the correct one). * When an entry is attempted to be added with the name of an existing entry, select the existing entry after failing. * GetAccess() and GetAccessGroupWalk() now return their udtGetAccessResponse structures ByRef, allowing for the return to be a boolean success and the integer number of groups found, respectively. * As such, the DB Manager now lists the number of groups from which the access listed is inherited. * Some code involving the addition/saving of entries no longer ends up looping through the database twice to first confirm it exists then to get the index to save at. The GetAccess() function can return this index, after all.
- Loading branch information...
Oops, something went wrong.