class Compatibility (View source)

Handles data compatibility from SQL query results

Methods

static array
getISCompatForGetTablesFull(array $eachTables, string $eachDatabase)

No description

static array
getISCompatForGetColumnsFull(array $columns, string $database, string $table)

No description

static bool
isMySqlOrPerconaDb()

No description

static bool
isMariaDb()

No description

static bool
isCompatibleRenameIndex(int $serverVersion)

No description

static bool
static bool
static bool
isIntegersSupportLength(string $type, string $length, DatabaseInterface $dbi)

No description

static bool
isVirtualColumnsSupported(int $serverVersion)

Returns whether the database server supports virtual columns

static bool
isUUIDSupported(DatabaseInterface $dbi)

Check whether the database supports UUID data type true if uuid is supported

static bool
supportsStoredKeywordForVirtualColumns(int $serverVersion)

Returns whether the database server supports virtual columns

static bool
supportsCompressedColumns(int $serverVersion)

Returns whether the database server supports compressed columns

static bool
hasAccountLocking(bool $isMariaDb, int $version)

No description

static string
getShowBinLogStatusStmt(DbalInterface $dbal)

No description

Details

static array getISCompatForGetTablesFull(array $eachTables, string $eachDatabase)

No description

Parameters

array $eachTables
string $eachDatabase

Return Value

array

static array getISCompatForGetColumnsFull(array $columns, string $database, string $table)

No description

Parameters

array $columns
string $database
string $table

Return Value

array

static bool isMySqlOrPerconaDb()

No description

Return Value

bool

static bool isMariaDb()

No description

Return Value

bool

static bool isCompatibleRenameIndex(int $serverVersion)

No description

Parameters

int $serverVersion

Return Value

bool

static bool isIntegersLengthRestricted(DatabaseInterface $dbi)

No description

Parameters

DatabaseInterface $dbi

Return Value

bool

static bool supportsReferencesPrivilege(DatabaseInterface $dbi)

No description

Parameters

DatabaseInterface $dbi

Return Value

bool

static bool isIntegersSupportLength(string $type, string $length, DatabaseInterface $dbi)

No description

Parameters

string $type
string $length
DatabaseInterface $dbi

Return Value

bool

static bool isVirtualColumnsSupported(int $serverVersion)

Returns whether the database server supports virtual columns

Parameters

int $serverVersion

Return Value

bool

static bool isUUIDSupported(DatabaseInterface $dbi)

Check whether the database supports UUID data type true if uuid is supported

Parameters

DatabaseInterface $dbi

Return Value

bool

static bool supportsStoredKeywordForVirtualColumns(int $serverVersion)

Returns whether the database server supports virtual columns

Parameters

int $serverVersion

Return Value

bool

static bool supportsCompressedColumns(int $serverVersion)

Returns whether the database server supports compressed columns

Parameters

int $serverVersion

Return Value

bool

static bool hasAccountLocking(bool $isMariaDb, int $version)

static string getShowBinLogStatusStmt(DbalInterface $dbal)

No description

Parameters

DbalInterface $dbal

Return Value

string