-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathMariaDB110700Platform.php
More file actions
34 lines (28 loc) · 903 Bytes
/
MariaDB110700Platform.php
File metadata and controls
34 lines (28 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Platforms;
use Doctrine\DBAL\Platforms\Keywords\KeywordList;
use Doctrine\DBAL\Platforms\Keywords\MariaDB117Keywords;
use Doctrine\Deprecations\Deprecation;
/**
* Provides the behavior, features and SQL dialect of the MariaDB 11.7 database platform.
*/
class MariaDB110700Platform extends MariaDB1010Platform
{
/** @deprecated */
protected function createReservedKeywordsList(): KeywordList
{
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/6607',
'%s is deprecated.',
__METHOD__,
);
return new MariaDB117Keywords();
}
/** @inheritdoc */
public function getVectorTypeDeclarationSQL(array $column): string
{
return AbstractMySQLPlatform::getVectorTypeDeclarationSQL($column);
}
}