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

Fix coding style

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle
2014-06-03 12:33:25 -04:00
parent bd762244ec
commit 673fce8145
14 changed files with 0 additions and 30 deletions

View File

@@ -173,7 +173,6 @@ function PMA_SQP_bug($message, $sql)
chunk_split(base64_encode($encodedstr))
);
$SQP_errorString .= __(
'There is a chance that you may have found a bug in the SQL parser. '
. 'Please examine your query closely, and check that the quotes are '
@@ -1416,7 +1415,6 @@ function PMA_SQP_analyze($arr)
} // end if (save a select expr)
//======================================
// s a v e a t a b l e r e f
//======================================
@@ -1476,7 +1474,6 @@ function PMA_SQP_analyze($arr)
} // end if (save a table ref)
// when we have found all table refs,
// for each table_ref alias, put the true name of the table
// in the corresponding select expressions
@@ -1501,7 +1498,6 @@ function PMA_SQP_analyze($arr)
} // end for (table refs)
} // end if (set the true names)
// e n d i n g l o o p #1
// set the $previous_was_identifier to false if the current
// token is not an identifier
@@ -1593,7 +1589,6 @@ function PMA_SQP_analyze($arr)
*/
// -------------------------------------------------------
// loop #2: - queryflags
// - querytype (for queries != 'SELECT')
// - section_before_limit, section_after_limit
@@ -1801,7 +1796,6 @@ function PMA_SQP_analyze($arr)
$in_select_expr = false;
}
// (we could have less resetting of variables to false
// if we trust that the query respects the standard
// MySQL order for clauses)
@@ -1926,7 +1920,6 @@ function PMA_SQP_analyze($arr)
}
}
// do not add a space after an identifier if followed by a dot
if ($arr[$i]['type'] == 'alpha_identifier'
&& $i < $size - 1 && $arr[$i + 1]['data'] == '.'
@@ -2103,7 +2096,6 @@ function PMA_SQP_analyze($arr)
$seen_constraint = false;
}
// Cases covered:
// [ON DELETE {CASCADE | SET NULL | NO ACTION | RESTRICT}]
@@ -2167,7 +2159,6 @@ function PMA_SQP_analyze($arr)
} // end of reserved words analysis
if ($arr[$i]['type'] == 'punct_bracket_open_round') {
$brackets_level++;
if ($seen_create_table && $brackets_level == 1) {
@@ -2175,7 +2166,6 @@ function PMA_SQP_analyze($arr)
}
}
if ($arr[$i]['type'] == 'punct_bracket_close_round') {
$brackets_level--;
if ($seen_references) {
@@ -2220,7 +2210,6 @@ function PMA_SQP_analyze($arr)
}
}
if ($arr[$i]['type'] == 'quote_backtick'
|| $arr[$i]['type'] == 'alpha_identifier'
) {
@@ -2269,7 +2258,6 @@ function PMA_SQP_analyze($arr)
}
} // end for $i (loop #3)
// Fill the $subresult array
if (isset($create_table_fields)) {