Hi all,
I've been using phpMyAdmin for a while now and recently started with a group focused on open source. Personally, I'd like to contribute with phpMyAdmin. So I joined the list and going through the buglist I run into issue: 3306875 Can't rename a database that contains views.
I'm still getting familiar with the code, so I could use some pointers or directions that could help me find a solution for this one.
Thanks any help in advance.
Le 2011-07-20 17:33, Marcos Mendonça a écrit :
Hi all,
I've been using phpMyAdmin for a while now and recently started with a group focused on open source. Personally, I'd like to contribute with phpMyAdmin. So I joined the list and going through the buglist I run into issue: 3306875 Can't rename a database that contains views.
I'm still getting familiar with the code, so I could use some pointers or directions that could help me find a solution for this one.
Thanks any help in advance.
Hi Marcos, first, an environment like the free NetBeans IDE with PHP support + Xdebug is very useful to be able to trace the code and see where the bug happens; are you familiar with such an environment?
Hi Marc,
First of all thanks for your attention and time.
Yes, I'm ok with the environment. What I could use is a basic walkthrough on the phpMyAdmin code structure or maybe I can find a link to the API.
This seems pretty obvious, so my starting point is db_operations.php. I was reading the mysql documentation and apparently there's a difference in the way some versions of MySQL deal with the rename operation. So, from what I can get phpMyAdmin does a export, create database with new name and them import old database right?
Is this the the road to follow?
Thanks
On Wed, Jul 20, 2011 at 6:46 PM, Marc Delisle marc@infomarc.info wrote:
Le 2011-07-20 17:33, Marcos Mendonça a écrit :
Hi all,
I've been using phpMyAdmin for a while now and recently started with a group focused on open source. Personally, I'd like to contribute with phpMyAdmin. So I joined the list and going through the buglist I run into issue: 3306875 Can't rename a database that contains views.
I'm still getting familiar with the code, so I could use some pointers or directions that could help me find a solution for this one.
Thanks any help in advance.
Hi Marcos, first, an environment like the free NetBeans IDE with PHP support + Xdebug is very useful to be able to trace the code and see where the bug happens; are you familiar with such an environment?
-- Marc Delisle http://infomarc.info
10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Le 2011-07-21 07:49, Marcos Mendonça a écrit :
Hi Marc,
First of all thanks for your attention and time.
Yes, I'm ok with the environment. What I could use is a basic walkthrough on the phpMyAdmin code structure or maybe I can find a link to the API.
This seems pretty obvious, so my starting point is db_operations.php. I was reading the mysql documentation and apparently there's a difference in the way some versions of MySQL deal with the rename operation. So, from what I can get phpMyAdmin does a export, create database with new name and them import old database right?
No. phpMyAdmin creates the new db, then each table is renamed from the old to the new db, then the old db is dropped.
Is this the the road to follow?
Thanks
On Wed, Jul 20, 2011 at 6:46 PM, Marc Delisle marc@infomarc.info wrote:
Le 2011-07-20 17:33, Marcos Mendonça a écrit :
Hi all,
I've been using phpMyAdmin for a while now and recently started with a group focused on open source. Personally, I'd like to contribute with phpMyAdmin. So I joined the list and going through the buglist I run into issue: 3306875 Can't rename a database that contains views.
I'm still getting familiar with the code, so I could use some pointers or directions that could help me find a solution for this one.
Thanks any help in advance.
Hi Marcos, first, an environment like the free NetBeans IDE with PHP support + Xdebug is very useful to be able to trace the code and see where the bug happens; are you familiar with such an environment?
-- Marc Delisle http://infomarc.info
10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Hi
Dne Thu, 21 Jul 2011 08:49:59 -0300 Marcos Mendonça marcosm@gmail.com napsal(a):
First of all thanks for your attention and time.
Yes, I'm ok with the environment. What I could use is a basic walkthrough on the phpMyAdmin code structure or maybe I can find a link to the API.
The API documentation is available here:
You can also find some hints on the wiki:
http://wiki.phpmyadmin.net/pma/Devel
Very useful information.
Thanks a lot.
On Tue, Aug 2, 2011 at 3:41 PM, Michal Čihař michal@cihar.com wrote:
Hi
Dne Thu, 21 Jul 2011 08:49:59 -0300 Marcos Mendonça marcosm@gmail.com napsal(a):
First of all thanks for your attention and time.
Yes, I'm ok with the environment. What I could use is a basic walkthrough on the phpMyAdmin code structure or maybe I can find a link to the API.
The API documentation is available here:
You can also find some hints on the wiki:
http://wiki.phpmyadmin.net/pma/Devel
-- Michal Čihař | http://cihar.com | http://phpmyadmin.cz
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel