The branch, master has been updated via e539a03ef938fb5df7950603bc196d2506c2c9b4 (commit) via f5879655d58812b978dc975e5dc8d8497d11a3c3 (commit) from 4c61dc7f6b59bf7579ce6da9633a689191a3846f (commit)
- Log ----------------------------------------------------------------- commit e539a03ef938fb5df7950603bc196d2506c2c9b4 Merge: 4c61dc7f6b59bf7579ce6da9633a689191a3846f f5879655d58812b978dc975e5dc8d8497d11a3c3 Author: Dieter Adriaenssens ruleant@users.sourceforge.net Date: Sat Sep 11 11:03:15 2010 +0200
Merge branch 'QA_3_3'
-----------------------------------------------------------------------
Summary of changes: libraries/import.lib.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/import.lib.php b/libraries/import.lib.php index bacc6a4..98221de 100644 --- a/libraries/import.lib.php +++ b/libraries/import.lib.php @@ -739,7 +739,7 @@ function PMA_detectType($last_cumulative_type, &$cell) { if ($cell == (string)(float)$cell && strpos($cell, ".") !== false && substr_count($cell, ".") == 1) { return DECIMAL; } else { - if ($cell > 2147483647) { + if (abs($cell) > 2147483647) { return BIGINT; } else { return INT;
hooks/post-receive