[Phpmyadmin-devel] Duplicate forms

Michal Čihař michal at cihar.com
Fri Aug 3 13:36:39 CEST 2012


Hi

Dne Fri, 03 Aug 2012 11:28:31 +0200
Rouslan Placella <rouslan at placella.com> napsal(a):

> Quick question: why do we have two forms for renaming a table on 
> tbl_operations.php? Can one be dropped? Please see attached screenshot 
> for the location of forms.

The difference is probably in implementation - in same database, you
can use just RENAME, for moving data to other database, this might
fail, so basically it's CREATE TABLE and INSERT .. SELECT.

Still it would be better to merge these and use RENAME when possible
and fallback to complex method if needed.

-- 
	Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20120803/6248f228/attachment.sig>


More information about the Developers mailing list