Update contrib.
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 GLDEF_C void Panic(TDbPanic aPanic)
24 _LIT(KCategory,"DBMS");
25 Dbms::Panic(KCategory,aPanic);
29 // Class RDbHandleBase
31 void RDbHandleBase::Close()
33 CDbObject* obj=iObject;
35 CDbObject::Destroy(obj);
38 CDbObject& RDbHandleBase::Object() const
40 CDbObject* obj=iObject;
41 __ASSERT_ALWAYS(obj,Panic(EDbUninitialised));