Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i actually want to browse the source code of certain files of MySQL which might not be limited to one version but multiple. So what will be the best way to do so.
i actually want to browse the source code of certain files of MySQL which might not be limited to one version but multiple. So what will be the best way to do so.
thanks
krap
Go to the MySQL site, download the source, and look at it.
ya...thanx... i got it....also I have one more doubt.
suppose I issue an instruction say "Create Table some_table". Now I want to see the code executed for this instrcution. How can I find what code is executed on behalf of this statement.
ya...thanx... i got it....also I have one more doubt.
suppose I issue an instruction say "Create Table some_table". Now I want to see the code executed for this instrcution. How can I find what code is executed on behalf of this statement.
You have to download the whole code base, then find the main entry point of the source, and then wade through the code until you found it. You can also launch mysql (when compiled with debugger symbols) in a debugger and go through it by means of breakpoints. Either way, this will be a tour de force that will put all your coding knowledge to the test. It will also take a lot of time, so make sure it's worth the effort.
I know its a difficult task since i have been trying it this week. What I actually want to achieve is something like this.
From bug logs I get to know what are the bugs and then want to go to the code of MySql which caused it and understand it.
So what is the best way to do it??. The main problem that I am facing right now is that I cant find a patch from where I should start reading it which caused the bug.
Can you help regarding the same and suggest me the best way to do it.
I know its a difficult task since i have been trying it this week. What I actually want to achieve is something like this.
From bug logs I get to know what are the bugs and then want to go to the code of MySql which caused it and understand it.
So what is the best way to do it??. The main problem that I am facing right now is that I cant find a patch from where I should start reading it which caused the bug.
Can you help regarding the same and suggest me the best way to do it.
Thanks in advance
krap
If you're wanting to fix bugs in MySQL, there should be references in the bugtracker on the MySQL site. It'll tell you where to look and what the bug is.
Otherwise, see my previous posts, and the one from soleilarw: OPEN THE SOURCE CODE FILES AND LOOK IN THEM. Not much to say past there....each bug is in a different part of the code, so it's not like anyone can say "Open file X, and go to line 142"....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.