From 19c3a62ac11f686cfc3f2a9b9beae6a6ae752c97 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Thu, 27 Dec 2018 06:38:20 -0700 Subject: [PATCH 1/3] sql: Add LOCK TABLE, CHECKSUM t to incompatble --- sql/mysql-compatibility.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/mysql-compatibility.md b/sql/mysql-compatibility.md index b83f0b7edb3bd..e7f07d9755a1b 100644 --- a/sql/mysql-compatibility.md +++ b/sql/mysql-compatibility.md @@ -35,6 +35,8 @@ However, in TiDB, the following MySQL features are not supported for the time be + `CREATE TABLE tblName AS SELECT stmt` syntax + `CREATE TEMPORARY TABLE` syntax + `XA` syntax (TiDB uses a two-phase commit internally, but this is not exposed via an SQL interface) ++ `LOCK TABLE` syntax (TiDB uses `tidb_snapshot` to [produce backups](../tools/mydumper.md) ++ `CHECKSUM TABLE` syntax ## Features that are different from MySQL From 55a2e28cfaeca22bf08ca44768b7af5c52491b0b Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Sun, 13 Jan 2019 19:20:10 -0700 Subject: [PATCH 2/3] Add check table --- sql/mysql-compatibility.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/mysql-compatibility.md b/sql/mysql-compatibility.md index e7f07d9755a1b..6c7280b8add3e 100644 --- a/sql/mysql-compatibility.md +++ b/sql/mysql-compatibility.md @@ -36,6 +36,7 @@ However, in TiDB, the following MySQL features are not supported for the time be + `CREATE TEMPORARY TABLE` syntax + `XA` syntax (TiDB uses a two-phase commit internally, but this is not exposed via an SQL interface) + `LOCK TABLE` syntax (TiDB uses `tidb_snapshot` to [produce backups](../tools/mydumper.md) ++ `CHECK TABLE` syntax + `CHECKSUM TABLE` syntax ## Features that are different from MySQL From 0c9aa295426f93005a4a51b502b6f5cd374b6c27 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Sun, 13 Jan 2019 19:20:42 -0700 Subject: [PATCH 3/3] Update mysql-compatibility.md --- sql/mysql-compatibility.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/mysql-compatibility.md b/sql/mysql-compatibility.md index 6c7280b8add3e..f602167fdecdd 100644 --- a/sql/mysql-compatibility.md +++ b/sql/mysql-compatibility.md @@ -35,7 +35,7 @@ However, in TiDB, the following MySQL features are not supported for the time be + `CREATE TABLE tblName AS SELECT stmt` syntax + `CREATE TEMPORARY TABLE` syntax + `XA` syntax (TiDB uses a two-phase commit internally, but this is not exposed via an SQL interface) -+ `LOCK TABLE` syntax (TiDB uses `tidb_snapshot` to [produce backups](../tools/mydumper.md) ++ `LOCK TABLE` syntax (TiDB uses `tidb_snapshot` to [produce backups](../tools/mydumper.md)) + `CHECK TABLE` syntax + `CHECKSUM TABLE` syntax