8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +01:00

I plan to use this msg because the current one is misleading.

This commit is contained in:
robocop 2012-04-10 01:38:57 +00:00
parent 676c4c4604
commit 501f14a9d3
10 changed files with 18 additions and 7 deletions

View File

@ -1474,6 +1474,8 @@ C --
PARAMETER (GDS__protect_sys_tab = 335545030)
INTEGER*4 GDS__libtommath_generic
PARAMETER (GDS__libtommath_generic = 335545031)
INTEGER*4 GDS__wroblrver2
PARAMETER (GDS__wroblrver2 = 335545032)
INTEGER*4 GDS__gfix_db_name
PARAMETER (GDS__gfix_db_name = 335740929)
INTEGER*4 GDS__gfix_invalid_sw

View File

@ -744,6 +744,7 @@ const
gds_missing_data_structures = 335545029;
gds_protect_sys_tab = 335545030;
gds_libtommath_generic = 335545031;
gds_wroblrver2 = 335545032;
gds_gfix_db_name = 335740929;
gds_gfix_invalid_sw = 335740930;
gds_gfix_incmp_sw = 335740932;

View File

@ -733,6 +733,7 @@ static const struct {
{"missing_data_structures", 335545029},
{"protect_sys_tab", 335545030},
{"libtommath_generic", 335545031},
{"wroblrver2", 335545032},
{"gfix_db_name", 335740929},
{"gfix_invalid_sw", 335740930},
{"gfix_incmp_sw", 335740932},

View File

@ -767,6 +767,7 @@ const ISC_STATUS isc_ss_out_of_bounds = 335545028L;
const ISC_STATUS isc_missing_data_structures = 335545029L;
const ISC_STATUS isc_protect_sys_tab = 335545030L;
const ISC_STATUS isc_libtommath_generic = 335545031L;
const ISC_STATUS isc_wroblrver2 = 335545032L;
const ISC_STATUS isc_gfix_db_name = 335740929L;
const ISC_STATUS isc_gfix_invalid_sw = 335740930L;
const ISC_STATUS isc_gfix_incmp_sw = 335740932L;
@ -1210,7 +1211,7 @@ const ISC_STATUS isc_trace_switch_user_only = 337182757L;
const ISC_STATUS isc_trace_switch_param_miss = 337182758L;
const ISC_STATUS isc_trace_param_act_notcompat = 337182759L;
const ISC_STATUS isc_trace_mandatory_switch_miss = 337182760L;
const ISC_STATUS isc_err_max = 1154;
const ISC_STATUS isc_err_max = 1155;
#else /* c definitions */
@ -1947,6 +1948,7 @@ const ISC_STATUS isc_err_max = 1154;
#define isc_missing_data_structures 335545029L
#define isc_protect_sys_tab 335545030L
#define isc_libtommath_generic 335545031L
#define isc_wroblrver2 335545032L
#define isc_gfix_db_name 335740929L
#define isc_gfix_invalid_sw 335740930L
#define isc_gfix_incmp_sw 335740932L
@ -2390,7 +2392,7 @@ const ISC_STATUS isc_err_max = 1154;
#define isc_trace_switch_param_miss 337182758L
#define isc_trace_param_act_notcompat 337182759L
#define isc_trace_mandatory_switch_miss 337182760L
#define isc_err_max 1154
#define isc_err_max 1155
#endif

View File

@ -252,10 +252,10 @@ static const struct {
{335544548, "Attempt to define a second PRIMARY KEY for the same table"}, /* primary_key_exists */
{335544549, "cannot modify or erase a system trigger"}, /* systrig_update */
{335544550, "only the owner of a table may reassign ownership"}, /* not_rel_owner */
{335544551, "could not find table/procedure/package for GRANT"}, /* grant_obj_notfound */
{335544551, "could not find object for GRANT"}, /* grant_obj_notfound */
{335544552, "could not find column for GRANT"}, /* grant_fld_notfound */
{335544553, "user does not have GRANT privileges for operation"}, /* grant_nopriv */
{335544554, "table/procedure has non-SQL security class defined"}, /* nonsql_security_rel */
{335544554, "object has non-SQL security class defined"}, /* nonsql_security_rel */
{335544555, "column has non-SQL security class defined"}, /* nonsql_security_fld */
{335544556, "Write-ahead Log without shared cache configuration not allowed"}, /* wal_cache_err */
{335544557, "database shutdown unsuccessful"}, /* shutfail */
@ -736,6 +736,7 @@ Data source : @4"}, /* eds_statement */
{335545029, "Install incomplete, please read chapter \"Initializing security database\" in Quick Start Guide"}, /* missing_data_structures */
{335545030, "@1 operation is not allowed for system table @2"}, /* protect_sys_tab */
{335545031, "Libtommath error code @1 in function @2"}, /* libtommath_generic */
{335545032, "unsupported BLR version (expected between @1 and @2, encountered @3)"}, /* wroblrver2 */
{335740929, "data base file name (@1) already given"}, /* gfix_db_name */
{335740930, "invalid switch @1"}, /* gfix_invalid_sw */
{335740932, "incompatible switch combination"}, /* gfix_incmp_sw */

View File

@ -732,6 +732,7 @@ static const struct {
{335545029, -902}, /* 709 missing_data_structures */
{335545030, -902}, /* 710 protect_sys_tab */
{335545031, -901}, /* 711 libtommath_generic */
{335545032, -902}, /* 712 wroblrver2 */
{335740929, -901}, /* 1 gfix_db_name */
{335740930, -901}, /* 2 gfix_invalid_sw */
{335740932, -901}, /* 4 gfix_incmp_sw */

View File

@ -732,6 +732,7 @@ static const struct {
{335545029, "28000"}, // 709 missing_data_structures
{335545030, "42000"}, // 710 protect_sys_tab
{335545031, "2F000"}, // 711 libtommath_generic
{335545032, "HY000"}, // 712 wroblrver2
{335740929, "00000"}, // 1 gfix_db_name
{335740930, "00000"}, // 2 gfix_invalid_sw
{335740932, "00000"}, // 4 gfix_incmp_sw

View File

@ -1,7 +1,7 @@
/* MAX_NUMBER is the next number to be used, always one more than the highest message number. */
set bulk_insert INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES (?, ?, ?, ?);
--
('2012-02-14 22:37:07', 'JRD', 0, 712)
('2012-03-06 02:21:55', 'JRD', 0, 713)
('2012-01-23 20:10:30', 'QLI', 1, 532)
('2009-07-16 05:26:11', 'GFIX', 3, 121)
('1996-11-07 13:39:40', 'GPRE', 4, 1)

View File

@ -819,6 +819,7 @@ Data source : @4', NULL, NULL)
('missing_data_structures', NULL, 'server.cpp', NULL, 0, 709, NULL, 'Install incomplete, please read chapter "Initializing security database" in Quick Start Guide', NULL, NULL)
('protect_sys_tab', NULL, 'vio.cpp', NULL, 0, 710, NULL, '@1 operation is not allowed for system table @2', NULL, NULL)
('libtommath_generic', 'check', 'BigInteger.cpp', NULL, 0, 711, NULL, 'Libtommath error code @1 in function @2', NULL, NULL)
('wroblrver2', NULL, NULL, NULL, 0, 712, NULL, 'unsupported BLR version (expected between @1 and @2, encountered @3)', NULL, NULL);
-- QLI
(NULL, NULL, NULL, NULL, 1, 0, NULL, 'expected type', NULL, NULL);
(NULL, NULL, NULL, NULL, 1, 1, NULL, 'bad block type', NULL, NULL);

View File

@ -718,6 +718,7 @@ set bulk_insert INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, FA
(-902, '42', '000', 0, 710, 'protect_sys_tab', NULL, NULL)
-- If you have better SQL code for this, change it.
(-901, '2F', '000', 0, 711, 'libtommath_generic', NULL, NULL)
(-902, 'HY', '000', 0, 712, 'wroblrver2', NULL, NULL)
-- GFIX
(-901, '00', '000', 3, 1, 'gfix_db_name', NULL, NULL)
(-901, '00', '000', 3, 2, 'gfix_invalid_sw', NULL, NULL)