Vai al codice sorgente di questo file.
Variabili | |
| $is_drop_database = preg_match('@DROP[[:space:]]+DATABASE[[:space:]]+@i', $sql_query) | |
| $pos = @((ceil($unlim_num_rows / $session_max_rows) - 1) * $session_max_rows) | |
| $GLOBALS ['unparsed_sql'] = $sql_query | |
| $parsed_sql = PMA_SQP_parse($sql_query) | |
| $analyzed_sql = PMA_SQP_analyze($parsed_sql) | |
| $is_select = isset($analyzed_sql[0]['queryflags']['select_from']) | |
| pos | |
| sql_query | |
| $is_func = !$is_group && (preg_match('@[[:space:]]+(SUM|AVG|STD|STDDEV|MIN|MAX|BIT_OR|BIT_AND)\s*\(@i', $sql_query)) | |
| $is_count = !$is_group && (preg_match('@^SELECT[[:space:]]+COUNT\((.*\.+)?.*\)@i', $sql_query)) | |
| $is_export = (preg_match('@[[:space:]]+INTO[[:space:]]+OUTFILE[[:space:]]+@i', $sql_query)) | |
| $is_analyse = (preg_match('@[[:space:]]+PROCEDURE[[:space:]]+ANALYSE@i', $sql_query)) | |
| $display_query = $analyzed_display_query[0]['section_before_limit'] . $sql_limit_to_append . $analyzed_display_query[0]['section_after_limit'] | |
|
|
|
|
|
|
|
|
Reformat the query |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Valore iniziale: |
|
|
Valore iniziale: ' . urlencode($sql_query); } // end if if (isset($btnDrop) && $btnDrop == $strNo) { if (!empty($back)) { $goto = $back; } if ($is_gotofile) { if (strpos(' ' . $goto, 'db_details') == 1 && !empty($table)) { unset($table); } $active_page = $goto; require('./' . PMA_securePath($goto)); } else { PMA_sendHeaderLocation($cfg['PmaAbsoluteUri'] . str_replace('& |
1.4.6