MiniOB
1
MiniOB is one mini database, helping developers to learn how database works.
Toggle main menu visibility
首页
模块
类
类列表
类索引
类继承关系
类成员
全部
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
函数
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
变量
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
枚举
枚举值
文件
文件列表
文件成员
全部
函数
枚举
宏定义
•
全部
类
文件
函数
变量
枚举
枚举值
宏定义
组
页
载入中...
搜索中...
未找到
src
observer
sql
executor
create_table_executor.h
1
/* Copyright (c) 2021 OceanBase and/or its affiliates. All rights reserved.
2
miniob is licensed under Mulan PSL v2.
3
You can use this software according to the terms and conditions of the Mulan PSL v2.
4
You may obtain a copy of Mulan PSL v2 at:
5
http://license.coscl.org.cn/MulanPSL2
6
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
7
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
8
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
9
See the Mulan PSL v2 for more details. */
10
11
//
12
// Created by Wangyunlai on 2023/6/13.
13
//
14
15
#pragma once
16
17
#include "common/rc.h"
18
19
class
SQLStageEvent
;
20
25
class
CreateTableExecutor
26
{
27
public
:
28
CreateTableExecutor
() =
default
;
29
virtual
~CreateTableExecutor
() =
default
;
30
31
RC execute(
SQLStageEvent
*sql_event);
32
};
CreateTableExecutor
创建表的执行器
Definition:
create_table_executor.h:26
SQLStageEvent
与SessionEvent类似,也是处理SQL请求的事件,只是用在SQL的不同阶段
Definition:
sql_event.h:30
制作者
1.9.5