Backslahes should be escaped

This commit is contained in:
Alexander M. Turek
2003-02-04 21:44:04 +00:00
parent 2eb76635de
commit 1a3bcd8cf5

View File

@@ -78,7 +78,7 @@ if (isset($btnLDI) && ($textfile != 'none')) {
} }
if (PMA_MYSQL_INT_VERSION > 40003) { if (PMA_MYSQL_INT_VERSION > 40003) {
$tmp_query = "SHOW VARIABLES LIKE 'local\_infile'"; $tmp_query = "SHOW VARIABLES LIKE 'local\\_infile'";
$result = PMA_mysql_query($tmp_query); $result = PMA_mysql_query($tmp_query);
if ($result != FALSE && mysql_num_rows($result) > 0) { if ($result != FALSE && mysql_num_rows($result) > 0) {
$tmp = PMA_mysql_fetch_row($result); $tmp = PMA_mysql_fetch_row($result);