⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ctrlcenter.h

📁 设计并实现一个精简型单用户SQL引擎(DBMS)MiniSQL
💻 H
字号:

#ifndef _CTRLCENTER_H_
#define _CTRLCENTER_H_

#include "BPTree.h"
#include "Record.h"
#include "Catalog.h"
#include "Glob_Var.h"
#include "Buffer.h"

//////////////////////////////////////////////////////////////////////////////////

void Create( TB_Create_Info& );  // create the date file and the index file
void Select( TB_Select_Info& );  // select the date and print
void Insert( TB_Insert_Info& );  // insert a new record and adjust the B+ tree
void Update( TB_Update_Info& );  // update a record 
void Delete( TB_Delete_Info& );  // delete a record and adjust the B+ tree

void Print(BPTree& tree, Select_Rec_Info& SelectRecInfo,       // print the record
           bool IncludeMin, Key_Location min, bool IncludeMax, Key_Location max);

void UpdateRec(BPTree & tree,Rec_Info & RecInfo,              // update the record
           bool IncludeMin,Key_Location min,bool IncludeMax,Key_Location max);

void Ctrl_DropTB();  // drop the table
void Ctrl_DropDB();  // drop the database

////////////////////////////////////////////////////////////////////////////////////



#endif //~

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -