1
0
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:
Jakub Vrana
2018-06-26 08:53:12 +02:00
parent 2780eb01f5
commit c564a8ef50
5 changed files with 16 additions and 3 deletions

View File

@@ -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);