fix(ob_error): add forward mapping information of OB error code (#327)

This commit is contained in:
a1iive
2021-08-26 18:10:35 +08:00
committed by GitHub
parent d1cd5d4780
commit 06c52b5070
3 changed files with 86 additions and 2 deletions

View File

@ -47,6 +47,8 @@ OceanBase:
Message: Conflicting declarations
Cause: Internal Error
Solution: Contact OceanBase Support
Compatible Error Code:
MySQL: 1302(42000)
$ob_error 4001
OceanBase:
@ -123,6 +125,43 @@ MySQL:
OB_INVALID_ARGUMENT(-4002)
OB_MISS_ARGUMENT(-4277)
INCORRECT_ARGUMENTS_TO_ESCAPE(-5832)
$ob_error 5794
OceanBase:
OceanBase Error Code: OB_AUTOINC_SERVICE_BUSY(-5794)
Message: auto increment service busy
Cause: Internal Error
Solution: Contact OceanBase Support
Compatible Error Code:
Oracle: ORA-00600
$ob_error 5870
OceanBase:
OceanBase Error Code: OB_ROWID_TYPE_MISMATCH(-5870)
Message: rowid type mismatch
Cause: Internal Error
Solution: Contact OceanBase Support
Compatible Error Code:
Oracle: ORA-00600
$ob_error 5871
OceanBase:
OceanBase Error Code: OB_ROWID_NUM_MISMATCH(-5871)
Message: rowid num mismatch
Cause: Internal Error
Solution: Contact OceanBase Support
Compatible Error Code:
Oracle: ORA-00600
$ob_error 4228
OceanBase:
OceanBase Error Code: OB_ERR_FIELD_SPECIFIED_TWICE(-4228)
Message: Column specified twice
Cause: Internal Error
Solution: Contact OceanBase Support
Compatible Error Code:
MySQL: 1110(42000)
Oracle: ORA-00957
$ob_error 700 -a 1000
error: '-a ARG' is unsupport in this scene
Use 'ob_error ora 600 -a ARG'.
@ -179,6 +218,8 @@ OceanBase:
Message: Conflicting declarations
Cause: Internal Error
Solution: Contact OceanBase Support
Compatible Error Code:
MySQL: 1302(42000)
Oracle:
Oracle Error Code: ORA-00600

View File

@ -10,6 +10,10 @@ ob_error 24761
ob_error 5727
ob_error 5133
ob_error 1210
ob_error 5794
ob_error 5870
ob_error 5871
ob_error 4228
ob_error 700 -a 1000
ob_error my 6000
ob_error my 4000