Rev 1128 | Rev 1155 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1128 | Rev 1130 | ||
---|---|---|---|
Line 22... | Line 22... | ||
22 | // phpcs:disable PSR1.Files.SideEffects |
22 | // phpcs:disable PSR1.Files.SideEffects |
23 | \defined('INSIDE_OIDPLUS') or die; |
23 | \defined('INSIDE_OIDPLUS') or die; |
24 | // phpcs:enable PSR1.Files.SideEffects |
24 | // phpcs:enable PSR1.Files.SideEffects |
25 | 25 | ||
26 | class OIDplusDatabaseConnectionMySQLi extends OIDplusDatabaseConnection { |
26 | class OIDplusDatabaseConnectionMySQLi extends OIDplusDatabaseConnection { |
- | 27 | ||
- | 28 | /** |
|
- | 29 | * @var mixed|null |
|
- | 30 | */ |
|
27 | private $conn = null; // only with MySQLnd |
31 | private $conn = null; // only with MySQLnd |
- | 32 | ||
- | 33 | /** |
|
- | 34 | * @var array |
|
- | 35 | */ |
|
28 | private $prepare_cache = array(); |
36 | private $prepare_cache = array(); |
- | 37 | ||
- | 38 | /** |
|
- | 39 | * @var string|null |
|
- | 40 | */ |
|
29 | private $last_error = null; // we need that because MySQL divides prepared statement errors and normal query errors, but we have only one "error()" method |
41 | private $last_error = null; // we need that because MySQL divides prepared statement errors and normal query errors, but we have only one "error()" method |
30 | 42 | ||
31 | /** |
43 | /** |
32 | * @param string $sql |
44 | * @param string $sql |
33 | * @param array|null $prepared_args |
45 | * @param array|null $prepared_args |