[Phpmyadmin-devel] Bug in Ajax table Structure column Change

Michal Čihař michal at cihar.com
Mon Aug 22 13:25:49 CEST 2011


Hi

Dne Sat, 20 Aug 2011 22:32:40 +0530
Thilanka Kaushalya <lgtkaushalya at gmail.com> napsal(a):

> Thank Aris for helping me on this and it was very useful for me.
> 
> I went through the commit and found it has replaces some code segments in
> tbl_properties.inc.php file and also introduced some new lines to file. Out
> of those newly introduce lines we get "
> $type = $extracted_fieldspec['print_type'];" in line number 301 which
> overrides the $type variable value from "*varchar*" to "*varchar(45)*". I
> have commented that line and tested the feature and it worked correctly for
> loading the "VARCHAR" type in change table. But I cannot understand why it
> uses "*$type = $extracted_fieldspec['print_type']*" instead of "$type =
> $extracted_fieldspec['type'];". Thank you.

Probably bug introduced by myself, by not reading rest of the code.
Feel free to change that.

-- 
	Michal Čihař | http://cihar.com | http://phpmyadmin.cz
-------------- 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/20110822/2ef1d760/attachment.sig>


More information about the Developers mailing list