Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sql-statements/sql-statement-create-binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@ Empty set (0.002 sec)
1 row in set (0.002 sec)
```

## Statement truncation

The `CREATE BINDING` statement can fail if it is used with `FROM HISTORY USING PLAN DIGEST` and if the statement is truncated because it is longer than [`tidb_stmt_summary_max_sql_length`](/system-variables.md#tidb_stmt_summary_max_sql_length-new-in-v40). If this happens it is recommended to increase `tidb_stmt_summary_max_sql_length`.

## MySQL compatibility

This statement is a TiDB extension to MySQL syntax.
Expand Down
Loading