Temp Table Parameter
临时表参数
[avoid_temporal_upgrade]
| Property | Value |
|---|---|
| Command-Line Format | `--avoid-temporal-upgrade={OFF |
| Deprecated | Yes |
| System Variable | [avoid_temporal_upgrade] |
| Scope | Global |
| Dynamic | Yes |
| [SET_VAR] Hint Applies | No |
| Type | boolean |
| Default Value | OFF |
此变量控制alter table 自动升级临时表,是由于早期的TIME ,DATETIME,TIMESTAMP 列的支持的精度.
默认是不打开,如果打开后为ON ,不会更新所有临时表的列,从而更快的重建临时表.