diff options
author | Oliver Tappe | 2008-01-11 16:46:47 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-01-11 16:46:47 +0100 |
commit | faf88f5620d9488cec9969d35d78211a308db588 (patch) | |
tree | 5fa8b46a75b83ddf472ac4bb9afba3948fe74ac9 /config-db | |
parent | * fixed bug where changing an attribute of a client or system would drop (diff) | |
download | core-faf88f5620d9488cec9969d35d78211a308db588.tar.gz core-faf88f5620d9488cec9969d35d78211a308db588.tar.xz core-faf88f5620d9488cec9969d35d78211a308db588.zip |
* added TODO about lacking performance of set...Attrs()
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1465 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r-- | config-db/OpenSLX/MetaDB/DBI.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config-db/OpenSLX/MetaDB/DBI.pm b/config-db/OpenSLX/MetaDB/DBI.pm index e709038b..2d6b5a55 100644 --- a/config-db/OpenSLX/MetaDB/DBI.pm +++ b/config-db/OpenSLX/MetaDB/DBI.pm @@ -814,6 +814,7 @@ sub setSystemAttrs my $systemID = shift; my $attrs = shift; + # TODO: improve this, as it is pretty slow! # for now we take the simple path and remove all attributes ... $self->_doDelete('system_attr', [ $systemID ], 'system_id'); @@ -909,6 +910,7 @@ sub setClientAttrs my $clientID = shift; my $attrs = shift; + # TODO: improve this, as it is pretty slow! # for now we take the simple path and remove all attributes ... $self->_doDelete('client_attr', [ $clientID ], 'client_id'); @@ -1004,6 +1006,7 @@ sub setGroupAttrs my $groupID = shift; my $attrs = shift; + # TODO: improve this, as it is pretty slow! # for now we take the simple path and remove all attributes ... $self->_doDelete('group_attr', [ $groupID ], 'group_id'); |