diff options
author | Piotr Przybylski <piotrprz@gmail.com> | 2011-08-13 00:02:40 +0400 |
---|---|---|
committer | Piotr Przybylski <piotrprz@gmail.com> | 2011-08-13 00:02:40 +0400 |
commit | a7c0c55c7fa9c0ee45cef59245e2572f3c2f1be1 (patch) | |
tree | 5796d8d201939016ef01bacc626f517e10f56795 /db_search.php | |
parent | 64926ead73dadd10b323712304d72fa86c6a3982 (diff) | |
parent | 9147f30dc6b00dc63c998f1d2d3972d1a47e6c57 (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.php | 6 |
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) ? '%' : ''); |