mirror of
https://github.com/vrana/adminer.git
synced 2025-11-17 18:40:40 +01:00
Escape LIKE
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@157 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -40,6 +40,11 @@ function get_vals($query) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
function table_status($table) {
|
||||
global $mysql;
|
||||
return $mysql->query("SHOW TABLE STATUS LIKE '" . $mysql->escape_string(addcslashes($table, "%_")) . "'");
|
||||
}
|
||||
|
||||
function fields($table) {
|
||||
global $mysql;
|
||||
$return = array();
|
||||
|
||||
Reference in New Issue
Block a user