From ab8edf24e0c1617c184581f3b3f20c105d3d6f2e Mon Sep 17 00:00:00 2001 From: lilin90 Date: Mon, 10 Sep 2018 19:22:22 +0800 Subject: [PATCH] sql: add support for IGNORE n LINES Via: https://github.com/pingcap/docs/pull/601 --- sql/mysql-compatibility.md | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/mysql-compatibility.md b/sql/mysql-compatibility.md index 81c6c98f64d4..0f443b101fbc 100644 --- a/sql/mysql-compatibility.md +++ b/sql/mysql-compatibility.md @@ -100,6 +100,7 @@ TiDB 使用乐观事务模型,在执行 Update、Insert、Delete 等语句时 LOAD DATA LOCAL INFILE 'file_name' INTO TABLE table_name {FIELDS | COLUMNS} TERMINATED BY 'string' ENCLOSED BY 'char' ESCAPED BY 'char' LINES STARTING BY 'string' TERMINATED BY 'string' + IGNORE n LINES (col_name ...); ```