当前位置:网站首页>Advanced MySQL: how to learn MySQL source code
Advanced MySQL: how to learn MySQL source code
2022-06-13 07:37:00 【Fish is not fish】
Written in the beginning
Recently, I have seen that many people do not know how to deal with the problem , My previous approach was nothing more than to query blog information , But sometimes there is a big difference , So there is no standard , So sometimes I feel helpless , So many small partners may want to check the source code , But I don't know how to view the source code , Here I would like to share my own problems in my work , How to view the source code . Not a big guy , Just share your experience .
The tools needed
1. Database source code package :
Official download address : https://dev.mysql.com/downloads/mysql/
Or mine. CSDN Uploading resources can be downloaded for free .
2. View tools
I used it myself pycharm Community Edition ( Because the professional edition charges , Support genuine ):
Download address :https://www.jetbrains.com/pycharm/download
3. Code base
At least there must be some C C++ Code base , Otherwise, you may not understand
How to view the source code
1. First, unzip the source package into a folder
2. open pycharm CE Tools , choice open Here's the picture :
3. After importing successfully , Whole MySQL The source code will be loaded , Here's the picture :
4. The key is coming. ******* Focus on
Then we will report the problem as an error , such as error code, Or the parameters you want to view , such as innodb_io_capacity This parameter , Let's search as follows :
Select... Under the root directory Find in Files:
To search
Here you can use the direction keys on the keyboard to switch the lock search results above , Remember to ignore .test file , This file is tested and not really implemented , After finding the determined, press enter to locate the position containing the information in the function , Then look up and down , You can see it in a few books .
summary
This is just my own way of learning , May be different from others , But I can really solve many problems in my work , This is what I learned from a young brother , He went to check the source code if he was unsure about the problem , It's a quick fix , It's really convenient . I hope I can help you .
边栏推荐
- Redis learning journey -- subscription and publishing
- First graphical interface
- [Yu Yue education] econometrics reference materials of Jiujiang University
- The management practice of leading enterprises has proved that what is the core of sustainable development of enterprises?
- [log4j2 log framework] sensitive character filtering
- Tidb certification guide PCTA Pctp
- How is it that the income of financial products is zero for several consecutive days?
- Redis master-slave replication - the underlying principle of partial resynchronization
- The password does not take effect after redis is set
- socket编程2:IO复用(select && poll && epoll)
猜你喜欢
Consistency under distributed
redis-6. Redis master-slave replication, cap, Paxos, cluster sharding cluster 01
Oracle problem: the data in the field is separated by commas. Take the data on both sides of the comma
powerdisgner逆向生成oracle数据模型
[log framework] add user-defined parameters to the MDC implementation log
Redis persistence -- AOF
Index push down (ICP) for mysql5.6
Calculate running total / running balance
论文笔记: 多标签学习 BP-MLL
The password does not take effect after redis is set
随机推荐
2021-10-20
EF core execute SQL statement
24 | 冒险和预测(三):CPU里的“线程池”
A solution to the problem that there is always a newline character when C merges multiple RichTextBox contents
理财产品连续几天收益都是零是怎么回事?
论文笔记: 多标签学习 BP-MLL
部署RDS服务
MySQL source code --table_ cache
Number of detection cycles "142857“
C language: how to give an alias to a global variable?
比较DFS和BFS的优点和缺点及名称词汇
[introduction to flirting with girls on Valentine's day -- 63 lines of code to win]
Redis Cluster - the bottom principle of building clusters
Oracle problem: the data in the field is separated by commas. Take the data on both sides of the comma
P1434 [SHOI2002] 滑雪 (记忆化搜索
Redis learning journey master-slave replication
Data desensitization tool advance tool Datamask
Simple understanding of basic language of C language
[log4j2 log framework] modify dump log file permissions
Pdf to word