Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 做lightning恢复时,限制的都关了,仍出现报错,求大佬协助

[TiDB Usage Environment] Production Environment
[TiDB Version] 4.0.6
[Reproduction Path] Operations performed that led to the issue
[Encountered Issue: Problem Phenomenon and Impact]
set @@global.sql_mode=‘’;
set sql_mode=‘’;
set @@global.transaction_isolation =‘READ-COMMITTED’;
SET global TRANSACTION ISOLATION LEVEL READ COMMITTED;
set @@global.tidb_txn_mode = ‘pessimistic’;
set global innodb_strict_mode=OFF;
All restrictions are turned off, but the following error still occurs during restoration:
Error: restore table xxxdb
.xxxtable
failed: in file 20231009/xxxdb.xxxtable.167.sql:0 at offset 83826831: syntax error: unexpected Integer (5) at offset 83826831, expecting start of row
tidb lightning encountered error: restore table xxxdb
.xxxtable
failed: in file 20231009/xxxdb.xxxtable.167.sql:0 at offset 83826831: syntax error: unexpected Integer (5) at offset 83826831, expecting start of row