1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-10 16:14:57 +02:00

coding style

This commit is contained in:
David Grudl
2017-09-26 13:27:50 +02:00
parent e93bab27e9
commit 9a123f3263
2 changed files with 4 additions and 0 deletions

View File

@@ -36,7 +36,9 @@ class MySqliDriver implements Dibi\Driver, Dibi\ResultDriver
use Dibi\Strict;
public const ERROR_ACCESS_DENIED = 1045;
public const ERROR_DUPLICATE_ENTRY = 1062;
public const ERROR_DATA_TRUNCATED = 1265;
/** @var \mysqli|null */

View File

@@ -40,10 +40,12 @@ class Sqlite3Driver implements Dibi\Driver, Dibi\ResultDriver
/** @var string Date and datetime format */
private $fmtDate;
private $fmtDateTime;
/** @var string character encoding */
private $dbcharset;
private $charset;