Note
This variable is available starting with V1.4.
Description
error_on_overlap_time specifies whether to return an error when a time zone overlap occurs.
Privilege requirements
Query variables
Global level
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) or theinformation_schema.GLOBAL_VARIABLESview (MySQL mode) to view the value of a Global system variable.Session level
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle mode) or theinformation_schema.SESSION_VARIABLESview (MySQL mode) to view the value of a Session system variable.
Modify variables
Global level
systenant can modify the value of a Global system variable.MySQL user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a Global system variable.Oracle user tenant must have the
ALTER SYSTEMprivilege to modify the value of a Global system variable.
Session level
systenant and all user tenants can modify the value of a Session system variable.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Boolean |
| Default value | OFF |
| Value range |
|
| Scope |
|
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Do not return an error when a time zone overlap occurs.
Global level
obclient> SET GLOBAL error_on_overlap_time =OFF;Session level
obclient> SET error_on_overlap_time =OFF;