1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Bug #4012 Crash on CSV file import

This commit is contained in:
Dmitriy Buldakov
2013-07-20 10:18:02 -04:00
committed by Marc Delisle
parent 6209533319
commit cd421e018c

View File

@@ -565,7 +565,7 @@ function PMA_getDecimalSize(&$cell)
* @todo Handle the error cases more elegantly
*/
function PMA_detectSize($last_cumulative_size, $last_cumulative_type,
$curr_type, &$cell
$curr_type, $cell
) {
$curr_size = strlen((string)$cell);
@@ -763,7 +763,7 @@ function PMA_detectSize($last_cumulative_size, $last_cumulative_type,
* (VARCHAR or INT or BIGINT or DECIMAL or NONE)
* @access public
*/
function PMA_detectType($last_cumulative_type, &$cell)
function PMA_detectType($last_cumulative_type, $cell)
{
/**
* If numeric, determine if decimal, int or bigint