minisql.h
来自「用C++实现的MINI SQL服务器 支持标准的常用SQL查询语句」· C头文件 代码 · 共 49 行
H
49 行
#if !defined(_MINISQL_H_)
#define _MINISQL_H_
#include<iostream.h>
#include<afx.h>
#include<stdlib.h>
#include<math.h>
#include<direct.h>
#define FILE_COUNTER 1
#define FILE_INFO_LENGTH 671
#define ATTR_INFO_LENGTH 20
#define FILE_HEAD_LENGTH 31
//定义表的索引节点信息
struct index_info
{
CString index_name;
int length;
char type;
long offset;
CString value;
};
//定义delete 语句的条件信息
struct condition_info
{
char left_type;
int left_len;
long left_offset;
CString left_index_name;
char right_type;
int right_len;
long right_offset;
CString right_index_name;
CString const_data;
CString condition;
};
//定义select 语句显示各属性信息
struct attr_info
{
CString attr_name;
int offset;
int length;
char type;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?