Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Przybylski <piotrprz@gmail.com>2011-08-13 00:02:40 +0400
committerPiotr Przybylski <piotrprz@gmail.com>2011-08-13 00:02:40 +0400
commita7c0c55c7fa9c0ee45cef59245e2572f3c2f1be1 (patch)
tree5796d8d201939016ef01bacc626f517e10f56795 /db_search.php
parent64926ead73dadd10b323712304d72fa86c6a3982 (diff)
parent9147f30dc6b00dc63c998f1d2d3972d1a47e6c57 (diff)
Merge remote-tracking branch 'origin/master' into drizzle
Conflicts: js/server_status.js libraries/common.lib.php tbl_printview.php tbl_select.php tbl_structure.php
Diffstat (limited to 'db_search.php')
-rw-r--r--db_search.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/db_search.php b/db_search.php
index 3ec891cdef..c76e5d80dc 100644
--- a/db_search.php
+++ b/db_search.php
@@ -120,14 +120,9 @@ if (isset($_REQUEST['submit_search'])) {
* 3 -> exact string, 4 -> regexp)
*
* @return array 3 SQL querys (for count, display and delete results)
- *
- * @global string the url to return to in case of errors
- * @global string charset connection
*/
function PMA_getSearchSqls($table, $field, $search_str, $search_option)
{
- global $err_url;
-
// Statement types
$sqlstr_select = 'SELECT';
$sqlstr_delete = 'DELETE';
@@ -139,7 +134,6 @@ if (isset($_REQUEST['submit_search'])) {
$sqlstr_from = ' FROM ' . PMA_backquote($GLOBALS['db']) . '.' . PMA_backquote($table);
$search_words = (($search_option > 2) ? array($search_str) : explode(' ', $search_str));
- $search_wds_cnt = count($search_words);
$like_or_regex = (($search_option == 4) ? 'REGEXP' : 'LIKE');
$automatic_wildcard = (($search_option < 3) ? '%' : '');