[Phpmyadmin-git] [SCM] phpMyAdmin branch, QA_3_3, updated. RELEASE_3_3_3-28-gcfcec68

Marc Delisle lem9 at users.sourceforge.net
Sun May 30 14:43:53 CEST 2010


The branch, QA_3_3 has been updated
       via  cfcec687faaacc74a5318273450c1f14d98bb7e5 (commit)
      from  7e5584ed2eff694e6d0b354b684b04412274b59d (commit)


- Log -----------------------------------------------------------------
commit cfcec687faaacc74a5318273450c1f14d98bb7e5
Author: Marc Delisle <marc at infomarc.info>
Date:   Sun May 30 08:43:41 2010 -0400

    bug #2986383 Not all data being shown / counted

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |    1 +
 libraries/sqlparser.lib.php |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c15c9a6..23a8c38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
 + [lang] Greek update, thanks to Panagiotis Papazoglou - panos78
 + [lang] Updated lot of translation based on work done in master branch.
 - bug #3008411 [databases] Last dropped database remains active in navi
+- bug #2986383 [parser] Not all data being shown / counted
 
 3.3.3.0 (2010-05-10)
 - patch #2982480 [navi] Do not group if there would be one table in group,
diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php
index 0974741..53f239a 100644
--- a/libraries/sqlparser.lib.php
+++ b/libraries/sqlparser.lib.php
@@ -2217,6 +2217,10 @@ if (! defined('PMA_MINIMUM_COMMON')) {
                         $after      = '';
                         $before     = '';
                     }
+                    // for example SELECT 1 somealias
+                    if ($typearr[1] == 'digit_integer') {
+                        $before     = ' ';
+                    }
                     if (($typearr[3] == 'alpha_columnType') || ($typearr[3] == 'alpha_identifier')) {
                         $after      .= ' ';
                     }


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list