Support MySQL 8
This commit is contained in:
parent
9d7d30891e
commit
50390ea38c
|
@ -429,7 +429,7 @@ if (!defined("DRIVER")) {
|
||||||
global $connection;
|
global $connection;
|
||||||
$return = array();
|
$return = array();
|
||||||
foreach (get_rows($fast && $connection->server_info >= 5
|
foreach (get_rows($fast && $connection->server_info >= 5
|
||||||
? "SELECT TABLE_NAME AS Name, Engine, TABLE_COMMENT AS Comment FROM information_schema.TABLES WHERE TABLE_SCHEMA = DATABASE() " . ($name != "" ? "AND TABLE_NAME = " . q($name) : "ORDER BY Name")
|
? "SELECT TABLE_NAME AS Name, ENGINE AS Engine, TABLE_COMMENT AS Comment FROM information_schema.TABLES WHERE TABLE_SCHEMA = DATABASE() " . ($name != "" ? "AND TABLE_NAME = " . q($name) : "ORDER BY Name")
|
||||||
: "SHOW TABLE STATUS" . ($name != "" ? " LIKE " . q(addcslashes($name, "%_\\")) : "")
|
: "SHOW TABLE STATUS" . ($name != "" ? " LIKE " . q(addcslashes($name, "%_\\")) : "")
|
||||||
) as $row) {
|
) as $row) {
|
||||||
if ($row["Engine"] == "InnoDB") {
|
if ($row["Engine"] == "InnoDB") {
|
||||||
|
|
|
@ -4,6 +4,7 @@ Make maxlength in edit fields a soft limit
|
||||||
Add Cache-Control: immutable to static files
|
Add Cache-Control: immutable to static files
|
||||||
MySQL: Add dedicated view for replication status
|
MySQL: Add dedicated view for replication status
|
||||||
MySQL: Support spatial indexes
|
MySQL: Support spatial indexes
|
||||||
|
MySQL: Support MySQL 8
|
||||||
PostgreSQL: Export
|
PostgreSQL: Export
|
||||||
PostgreSQL: Don't treat partial indexes as unique
|
PostgreSQL: Don't treat partial indexes as unique
|
||||||
MS SQL: Support pdo_dblib
|
MS SQL: Support pdo_dblib
|
||||||
|
|
Loading…
Reference in a new issue