mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 12:21:24 +02:00
MySQL: Disallow LOAD DATA LOCAL INFILE
This commit is contained in:
@@ -29,6 +29,9 @@ if (extension_loaded('pdo')) {
|
||||
$this->error = "";
|
||||
if (!$result) {
|
||||
list(, $this->errno, $this->error) = $this->errorInfo();
|
||||
if (!$this->error) {
|
||||
$this->error = lang('Unknown error.');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
$this->store_result($result);
|
||||
|
Reference in New Issue
Block a user