Convert comments to doc block.

This commit is contained in:
Michal Čihař
2008-11-24 11:11:41 +00:00
parent dc89ceea56
commit e1c909326f

View File

@@ -56,15 +56,21 @@ if (! defined('PMA_MINIMUM_COMMON')) {
} }
if (!defined('DEBUG_TIMING')) { if (!defined('DEBUG_TIMING')) {
// currently we don't need the $pos (token position in query) /**
// for other purposes than LIMIT clause verification, * currently we don't need the $pos (token position in query)
// so many calls to this function do not include the 4th parameter * for other purposes than LIMIT clause verification,
* so many calls to this function do not include the 4th parameter
*/
function PMA_SQP_arrayAdd(&$arr, $type, $data, &$arrsize, $pos = 0) function PMA_SQP_arrayAdd(&$arr, $type, $data, &$arrsize, $pos = 0)
{ {
$arr[] = array('type' => $type, 'data' => $data, 'pos' => $pos); $arr[] = array('type' => $type, 'data' => $data, 'pos' => $pos);
$arrsize++; $arrsize++;
} // end of the "PMA_SQP_arrayAdd()" function } // end of the "PMA_SQP_arrayAdd()" function
} else { } else {
/**
* This is debug variant of above.
* @ignore
*/
function PMA_SQP_arrayAdd(&$arr, $type, $data, &$arrsize, $pos = 0) function PMA_SQP_arrayAdd(&$arr, $type, $data, &$arrsize, $pos = 0)
{ {
global $timer; global $timer;