[Phpmyadmin-devel] PMA_DBI_get_columns/fields - which is deprecated?
Marc Delisle
marc at infomarc.info
Thu May 19 16:50:34 CEST 2011
Piotr Przybylski a écrit :
> 2011/5/19 Dieter Adriaenssens <dieter.adriaenssens at gmail.com>:
>> 2011/5/19 Crack <piotrprz at gmail.com>:
>>> 2011/5/19 Dieter Adriaenssens <dieter.adriaenssens at gmail.com>:
>>>
>>>> commit 9c170511179
>>>>
>>>> I'm not sure about replacing the obsolete function. I remember Marc
>>>> telling something about not using 'columns' but 'fields', last summer,
>>>> so I guess removing the function is a move in the opposite direction.
>>>> Can you check on the developers mailing list what should be done with
>>>> this function?
>>> In code comments I saw 'fields' marked as deprecated [1], with
>>> function's comment telling me to use one of 'columns' variants...
>> Yes, I noticed the 'deprecated' status too, but seeing it I remembered
>> Marc's comment, so I started wondering if this deprecation, or at
>> least the function name, is still correct.
>>
>>> [1] http://repo.or.cz/w/phpmyadmin/crack.git/blobdiff/7d3cd879a496adc27e5e827ef3e35f7633a827de..9c170511179a721198527f063a58ab1b031b1b93:/libraries/database_interface.lib.php
>>>
>
> Going public with this, maybe someone will remember :)
>
The move we made was to replace the non-standard term "field" with the
standard SQL term "column" on the interface.
--
Marc Delisle
http://infomarc.info
More information about the Developers
mailing list