Note
This variable is available starting with V1.4.
Description
error_on_overlap_time specifies whether to return an error when ambiguous time zones occur in the overlap period of daylight saving time.
Privilege requirements
Query variables
Global level
The
systenant and all user tenants can query the value of Global system variables by using theSHOW VARIABLESstatement or theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) and theinformation_schema.GLOBAL_VARIABLESview (MySQL mode).Session level
The
systenant and all user tenants can query the value of Session system variables by using theSHOW VARIABLESstatement or theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle mode) and theinformation_schema.SESSION_VARIABLESview (MySQL mode).
Modify variables
Global level
The
systenant can directly modify the value of Global system variables.MySQL user tenants must have the
SUPERorALTER SYSTEMprivilege to modify the value of Global system variables.Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the value of Global system variables.
Session level
The
systenant and all user tenants can directly modify the value of Session system variables.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| 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 ambiguous time zones occur in the overlap period of daylight saving time.
Global level
obclient> SET GLOBAL error_on_overlap_time =OFF;Session level
obclient> SET error_on_overlap_time =OFF;