File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,10 @@ class MySqlDriver implements Nette\Database\ISupplementalDriver
1919{
2020 use Nette \SmartObject;
2121
22- const ERROR_ACCESS_DENIED = 1045 ;
23- const ERROR_DUPLICATE_ENTRY = 1062 ;
24- const ERROR_DATA_TRUNCATED = 1265 ;
22+ public const
23+ ERROR_ACCESS_DENIED = 1045 ,
24+ ERROR_DUPLICATE_ENTRY = 1062 ,
25+ ERROR_DATA_TRUNCATED = 1265 ;
2526
2627 /** @var Nette\Database\Connection */
2728 private $ connection ;
Original file line number Diff line number Diff line change 1515 */
1616interface IStructure
1717{
18- const
18+ public const
1919 FIELD_TEXT = 'string ' ,
2020 FIELD_BINARY = 'bin ' ,
2121 FIELD_BOOL = 'bool ' ,
Original file line number Diff line number Diff line change 1515 */
1616interface ISupplementalDriver
1717{
18- const SUPPORT_SEQUENCE = 'sequence ' ,
18+ public const
19+ SUPPORT_SEQUENCE = 'sequence ' ,
1920 SUPPORT_SELECT_UNGROUPED_COLUMNS = 'ungrouped_cols ' ,
2021 SUPPORT_MULTI_INSERT_AS_SELECT = 'insert_as_select ' ,
2122 SUPPORT_MULTI_COLUMN_AS_OR_COND = 'multi_column_as_or ' ,
You can’t perform that action at this time.
0 commit comments