处理SQL命令的程序。MySQL的“核心”。
这些是。C
和.cc.
文件SQL.
目录:
derror.cc ---读取语言依赖的消息文件
des_key_file.cc ---从纯文本文件加载des键
发现。cc——Functions for discovery of
.frm
来自处理程序的文件字段。实现定义在
field.h
”(长);定义了MySQL用于将字段信息存储到记录中的所有存储方法,这些记录随后被传递给处理程序field_conv.cc ---函数复制字段之间的数据
filesort.cc ---排序结果集,使用内存或临时文件
frm_crypt。cc——contains only one short function:
get_crypt_for_frm.
gen_lex_hash。cc——Knuth's algorithm from Vol 3 Sorting and Searching, Chapter 6.3; used to search for SQL keywords in a query
gstream.cc --- gtextreadstream,用于读取GIS对象
handler.cc ---处理程序呼叫功能
hash_filo。cc——static-sized hash tables, used to store info like hostname -> ip tables in a FIFO manner
ha_berkeley。cc——Handler: BDB
ha_blackhole.cc ---处理程序:黑洞
ha_federated。cc——Handler: Federated
ha_heap。cc——Handler: Heap
ha_innodb.cc --- Handler:InnoDB
ha_myisam.cc ---处理程序:Myisam
ha_myisammrg。cc——Handler: (MyISAM MERGE)
ha_ndbcluster.cc ---处理程序:NDB
hostname.cc ---给定IP,返回主机名
init。cc——Init和虚拟函数的接口与unireg
项。cc——项目功能
item_buff。cc——Buffers to save and compare item values
item_cmpfunc。cc——Definition of all compare functions
item_create。cc——Create an item. Used by
lex.h
。Item_Func.CC ---数值函数
item_geofunc。cc——Geometry functions
item_row。cc——Row items for comparing rows and for
在
在行上item_strfunc。cc——String functions
item_subselect.cc ---子查询
item_sum。cc——Set functions (
SUM ()
,AVG ()
等)。item_strfunc。cc——String functions
item_subselect.cc ---项目子查询
item_timefunc。cc——Date/time functions, for example, week of year
item_uniq.cc ---空文件,这里有兼容性原因
关键。从记录中创建键并将键与记录中的键进行比较的函数
Lock.cc ---锁
日志。cc——日志
log_event。cc——Log event (a binary log consists of a stream of log events)
matherr.c——处理溢流、溢流等。
mf_iocache。cc——Caching of (sequential) reads and writes
mysqld。cc——Source for
mysqld.exe.
;包括这一点主要的()
开始的程序mysqld
,处理信号和连接mf_decimal.cc ---新的十进制和数字代码
my_lock.c ---锁定文件的一部分(如
/ mysys/my_lock.c.
,但对线程有超时处理)net_serv.cc.--- Read/write of packets on a network socket
nt_servc。cc——Initialize/register/remove an NT service
opt_range。cc——Range of keys
opt_sum。cc——Optimize functions in presence of (implied)
通过...分组
parse_file.cc ---文本
.frm
文件管理例程password.c ---密码检查
步骤.CC ---过程接口,如所用
从table_name过程分析()中选择*
协议。cc——Low level functions for PACKING data that is sent to client; actual sending done with
net_serv.cc.
protocol_cursor。cc——Low level functions for storing data to be sent to the MySQL client
Records.cc ---通过缓存可以轻松读取记录的功能
repl_failsafe.cc ---复制失败保存(尚未实施)
set_var.cc ---设置和检索mysql用户变量
slave.cc ---主/从(复制)关系中的从站的过程
sp.cc——DB存储存储过程和函数
sp_cache。cc——For stored procedures
sp_head。cc——For stored procedures
sp_pcontext。cc——For stored procedures
sp_rcontext。cc——For stored procedures
空间。cc——Geometry stuff (lines, points, etc.)
sql_acl。cc——Functions related to ACL security; checks, stores, retrieves, and deletes MySQL user level privileges
sql_analyse.cc ---实现
过程分析()
,它分析查询结果,并为每个结果列返回“最优”数据类型sql_base。cc——Basic functions needed by many modules, like opening and closing tables with table cache management
SQL_Cache.cc --- SQL查询缓存,有关于缓存如何工作的评论
sql_class.cc --- SQL类;实现sql基类,其中thd(线程对象)是最重要的
sql_client。cc——A function called by my_net_init() to set some check variables
sql_crypt.cc ---编码/解码,非常短
sql_db。cc——Create / drop database
sql_delete.cc ---
删除
声明sql_derived.cc ---派生桌子,很长的评论
sql_do.cc ---
做
声明sql_error.cc ---错误和警告
sql_handler。cc——Implements the
处理程序
接口,它允许直接访问输入的行MyISAM
和InnoDB
sql_help.cc ----
帮助
声明sql_insert。cc——
插
声明SQL_LEX.CC ---对查询进行词汇分析;也就是说,将查询字符串缩小为片段,并确定每个部件的基本类型(数量,字符串,关键字等)
sql_list.cc ---只有list_node_end_of_list,short(列表类的其余部分实现
sql_list.h.
)SQL_LOAD.CC ---
加载数据
声明SQL_MANAGER.CC ---维护任务,例如,定期刷新缓冲区;使用
BDB
表日志SQL_MAP.CC ---内存映射的文件(尚未使用)
sql_olap。cc——
卷起
sql_parse。cc——Parse an SQL statement; do initial checks and then jump to the function that should execute the statement
sql_prepare.cc ---准备一个SQL语句,或使用准备好的声明
sql_rename。cc——Rename table
sql_repl.cc ---复制
sql_select.cc ---选择并加入优化
sql_show.cc ----
显示
声明sql_state.c ---函数将mysqld errno映射到sqlstate
sql_string.cc ---字符串函数:alloc,realloc,copy,convert等
sql_table.cc ----
删除表
和ALTER TABLE
陈述sql_test。cc——Some debugging information
sql_trigger.cc ---触发器
sql_udf。cc——User-defined functions
sql_union。cc——
联盟
操作符sql_update.cc ---这
更新
声明sql_view。cc——Views
stacktrace.c ---显示堆栈跟踪(仅限Linux / Intel)
strfunc。cc——String functions
表格cc——表元数据检索;从
.frm
文件并将其存储在桌子
对象thr_malloc。cc——Thread-safe interface to
/ mysys/my_alloc.c.
时间。cc——日期和时间功能
udf_example。cc——Example file of user-defined functions
uniques.cc ---函数来处理快速删除重复项
UIREG.cc ---创建一个UIREG格式文件(
.frm
)来自A.场地
和现场信息结构