当前位置:网站首页>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-7. Redis master-slave replication, cap, Paxos, cluster sharding cluster 02
- Login registration
- powerdisgner逆向生成oracle数据模型
- Number of detection cycles "142857“
- 论文笔记: 多标签学习 BP-MLL
- Learning notes of balanced binary tree -- one two pandas
- Considerations for using redis transactions
- Why should two judgment expressions in if be written in two lines
- 25 | 冒险和预测(四):今天下雨了,明天还会下雨么?
- 平衡二叉树学习笔记------一二熊猫
猜你喜欢

Login registration

powerdisgner逆向生成oracle数据模型

AQS - detailed explanation of reentrantlock source code

24 | 冒险和预测(三):CPU里的“线程池”
![[log4j2 log framework] sensitive character filtering](/img/a3/09f00bd8d3dd87c54c3191ab907aca.jpg)
[log4j2 log framework] sensitive character filtering

Redis cluster parsing docker building redis cluster

21 | 面向流水线的指令设计(下):奔腾4是怎么失败的?

Redis learning journey master-slave replication

全志V3S环境编译开发流程

Calculate running total / running balance
随机推荐
Oracle problem: the data in the field is separated by commas. Take the data on both sides of the comma
redis-0. Introduction to redis and NiO principle (random talk)
Station B crazy God notes
Redis' underlying data structure -- SDS
mysql中时间字段 比较时间大小
21 | 面向流水线的指令设计(下):奔腾4是怎么失败的?
[vivefocus uses the wavevr plug-in to obtain handle operation events]
Redis learning journey master-slave replication
P1434 [show2002] skiing (memory search
Classification of databases
平衡二叉树学习笔记------一二熊猫
Redis learning journey - transaction
A. Vacations (DP greed
GCC compilation process, function library related compilation process
How to stop PHP FPM service in php7
Awk use
MySQL query timeout control
Three handshakes and four waves of TCP protocol and why------ One two pandas
C language: how to give an alias to a global variable?
量化框架backtrader之一文讀懂Analyzer分析器