00001 /*************************************************************************** 00002 * Copyright (C) 2007 by www.databasecache.com * 00003 * Contact: praba_tuty@databasecache.com * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 ***************************************************************************/ 00016 #include<Lock.h> 00017 #include<Allocator.h> 00018 #include<Database.h> 00019 #include<CatalogTables.h> 00020 #include<Transaction.h> 00021 #include<Debug.h> 00022 00023 LockHashNode* LockListIter::next() 00024 { 00025 if (iter == NULL) return NULL; 00026 LockHashNode *node = iter; 00027 iter = iter ->next_; 00028 return node; 00029 }