Amuse Learning mariadb Source Diary 01--all the Beginning

Source: Internet
Author: User
Tags mysql code

-- The beginning of everything

As a qualified tease, decided to do a tease than the big thing, as a C and C + + all back to the teacher's tease, intends to read through the core MySQL code, the amount, do not know how long to persist, strive not to give up halfway, but to tease the matter where to say clearly 650) this.width= 650; "Src=" Http://img.baidu.com/hi/jx2/j_0011.gif "alt=" J_0011.gif "/>"

So let's get started.


1. you have to have a source code,MySQL 's official website do not know why, I can not download, download the source of the MariaDB , basically is one thing.

2.you have to have a look.Cand theC + +source of tools, someone recommendedSource Insight, but I tried it under not very good, more chaotic. Then someone recommendedEclipse,WTF, it is not writtenJava, the result is someoneCthe patches andCSpecial version of the, hurriedly download one. Results will not open, the original toJDK 1.7above the environment. Hurry up and download a newJDK.

3. OK, now you have the source code, with tools, you can start a long way to learn the MySQL source.

-- Loading Code

1.new a new project:new== "Makefile Project with existing code


2. The first load is slow, you can have a cup of coffee, or read a novel, Waiting for Eclipse to set up the source of the relationship, or Ctrl + Click is not valid, I began to toss half a day always ineffective, thought there was a problem, the result is load slow ...

3. after a while,Ctrl + Click to use, you can start to see the code. So which file should you start with?

theDeep UnderstandingMySQLin the core technology, it says, "mysqld.ccin the beginning of all that we haveMain ()inside, but for the hair I can't find it in there. Did I open the wrong way? So I asked the friend to ask, the original is not inmysqld.cc, inmain.cc, sure enough computer books are the most unreliable, even Daniel's book ....



This article is from the "Bear II" blog, please be sure to keep this source http://9638712.blog.51cto.com/9628712/1636790

Amuse Learning mariadb Source Diary 01--all the Beginning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.