[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_3, updated. RELEASE_3_3_7-8-gf587965

Dieter Adriaenssens ruleant at users.sourceforge.net
Sat Sep 11 11:03:54 CEST 2010


The branch, QA_3_3 has been updated
       via  f5879655d58812b978dc975e5dc8d8497d11a3c3 (commit)
      from  194e357a996310225364d311e6c27ed41db002bb (commit)


- Log -----------------------------------------------------------------
-----------------------------------------------------------------------

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 278028b..24b27db 100644
--- a/libraries/import.lib.php
+++ b/libraries/import.lib.php
@@ -744,7 +744,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
-- 
phpMyAdmin




More information about the Git mailing list