1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 22:56:46 +02:00

Initialize optional variable

This commit is contained in:
Jakub Vrana
2025-03-31 09:17:04 +02:00
parent f2871266ad
commit 21347e6ef5

View File

@@ -9,10 +9,10 @@ abstract class SqlDb {
public string $extension; // extension name
public string $flavor = ''; // different vendor with the same API, e.g. MariaDB; usually stays empty
public string $server_info; // server version
public int $affected_rows; // number of affected rows
public string $info; // see https://php.net/mysql_info
public int $errno; // last error code
public string $error; // last error message
public int $affected_rows = 0; // number of affected rows
public string $info = ''; // see https://php.net/mysql_info
public int $errno = 0; // last error code
public string $error = ''; // last error message
/** @var Result|bool */ protected $multi; // used for multiquery
/** Connect to server