• 大小: 1.23MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-08
  • 语言: C/C++
  • 标签: 数据库  

资源简介

简易的数据库系统,可以实现简单的添加,插入,删除,查找操作,B+树,buffer

资源截图

代码片段和文件信息


#include“Buffer.h“

//-------------------------------------------------------

_M_Buffer Buffer;
unsigned int SizeOfPageHead = sizeof(_TB_PAGEHEAD);
unsigned int BTreeNodeSize = (FILE_PAGESIZE - SizeOfPageHead)/4;

//-------------------------------------------------------

// 初始化
void _TB_PAGEHEAD::Initial(unsigned long mypageidbool myisfixed)
{
    this->ulPageID = mypageid;
    this->bIsFixed = myisfixed;
}

//-------------------------------------------------------

// 初始化
void _TB_FILECOND::InitialFileCond()
{
    this->ulPageTotal = 1;
    this->DelFirst.Initialize();
    this->DelLast.Initialize();
    this->NewInsert.ulFilePageID = 1;
    this->NewInsert.uiOffset = SizeOfPageHead;
}

//-------------------------------------------------------

// 文件头信息

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      25376  2009-06-14 13:02  数据库_71106210_71106222_71106225\DBMS\DBMS\Buffer.cpp

     文件      12065  2009-06-14 13:02  数据库_71106210_71106222_71106225\DBMS\DBMS\BUFFER.H

     文件      38112  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\CATALOG.CPP

     文件       3971  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\CATALOG.H

     文件      23177  2009-06-14 13:02  数据库_71106210_71106222_71106225\DBMS\DBMS\ctrl_center.cpp

     文件        888  2009-06-14 13:02  数据库_71106210_71106222_71106225\DBMS\DBMS\ctrl_center.h

     文件          0  2009-06-14 13:17  数据库_71106210_71106222_71106225\DBMS\DBMS\Data\database\t1.dbf

     文件          0  2009-06-14 13:17  数据库_71106210_71106222_71106225\DBMS\DBMS\Data\database\t1.idx

     文件       2311  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\ERROR.CPP

     文件        131  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\ERROR.H

     文件         92  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\Glob_Var.cpp

     文件       3185  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\Glob_Var.h

     文件      40084  2009-06-15 13:45  数据库_71106210_71106222_71106225\DBMS\DBMS\intepretor.cpp

     文件      14519  2009-06-14 13:02  数据库_71106210_71106222_71106225\DBMS\DBMS\intepretor.h

     文件       2012  2009-06-15 09:35  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.cpp

     文件       4662  2009-06-15 10:42  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.dsp

     文件        537  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.dsw

     文件        208  2002-06-13 22:03  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.h

     文件     549888  2009-06-15 13:52  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.ncb

     文件      56832  2009-06-15 13:52  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.opt

     文件        819  2009-06-15 13:45  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.plg

    ..A..H.      7680  2009-06-13 20:08  数据库_71106210_71106222_71106225\DBMS\DBMS\MiniSQL.suo

     文件       8487  2009-06-14 13:02  数据库_71106210_71106222_71106225\DBMS\DBMS\RECORD.CPP

     文件       1403  2009-06-14 13:02  数据库_71106210_71106222_71106225\DBMS\DBMS\RECORD.H

     文件      22348  2009-06-15 12:32  数据库_71106210_71106222_71106225\DBMS\DBMS\Release\Buffer.obj

     文件          0  2009-06-15 12:32  数据库_71106210_71106222_71106225\DBMS\DBMS\Release\Buffer.sbr

     文件      22365  2009-06-14 14:17  数据库_71106210_71106222_71106225\DBMS\DBMS\Release\CATALOG.obj

     文件          0  2009-06-14 14:17  数据库_71106210_71106222_71106225\DBMS\DBMS\Release\CATALOG.sbr

     文件      26509  2009-06-14 20:01  数据库_71106210_71106222_71106225\DBMS\DBMS\Release\ctrl_center.obj

     文件          0  2009-06-14 20:01  数据库_71106210_71106222_71106225\DBMS\DBMS\Release\ctrl_center.sbr

............此处省略34个文件信息

评论

共有 条评论