mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Put into the msg file several hardcoded messages marked by Arno to be localized.
This commit is contained in:
parent
dfcc16d28e
commit
a270d9c440
@ -1502,6 +1502,20 @@ C --
|
||||
PARAMETER (GDS__dsql_max_group_items = 336397216)
|
||||
INTEGER*4 GDS__dsql_conflicting_sort_field
|
||||
PARAMETER (GDS__dsql_conflicting_sort_field = 336397217)
|
||||
INTEGER*4 GDS__dsql_derived_table_more_columns
|
||||
PARAMETER (GDS__dsql_derived_table_more_columns = 336397218)
|
||||
INTEGER*4 GDS__dsql_derived_table_less_columns
|
||||
PARAMETER (GDS__dsql_derived_table_less_columns = 336397219)
|
||||
INTEGER*4 GDS__dsql_derived_field_unnamed
|
||||
PARAMETER (GDS__dsql_derived_field_unnamed = 336397220)
|
||||
INTEGER*4 GDS__dsql_derived_field_dup_name
|
||||
PARAMETER (GDS__dsql_derived_field_dup_name = 336397221)
|
||||
INTEGER*4 GDS__dsql_derived_alias_select
|
||||
PARAMETER (GDS__dsql_derived_alias_select = 336397222)
|
||||
INTEGER*4 GDS__dsql_derived_alias_field
|
||||
PARAMETER (GDS__dsql_derived_alias_field = 336397223)
|
||||
INTEGER*4 GDS__dsql_auto_field_bad_pos
|
||||
PARAMETER (GDS__dsql_auto_field_bad_pos = 336397224)
|
||||
INTEGER*4 GDS__gsec_cant_open_db
|
||||
PARAMETER (GDS__gsec_cant_open_db = 336723983)
|
||||
INTEGER*4 GDS__gsec_switches_error
|
||||
|
@ -758,6 +758,13 @@ const
|
||||
gds_dsql_max_sort_items = 336397215;
|
||||
gds_dsql_max_group_items = 336397216;
|
||||
gds_dsql_conflicting_sort_field = 336397217;
|
||||
gds_dsql_derived_table_more_columns = 336397218;
|
||||
gds_dsql_derived_table_less_columns = 336397219;
|
||||
gds_dsql_derived_field_unnamed = 336397220;
|
||||
gds_dsql_derived_field_dup_name = 336397221;
|
||||
gds_dsql_derived_alias_select = 336397222;
|
||||
gds_dsql_derived_alias_field = 336397223;
|
||||
gds_dsql_auto_field_bad_pos = 336397224;
|
||||
gds_gsec_cant_open_db = 336723983;
|
||||
gds_gsec_switches_error = 336723984;
|
||||
gds_gsec_no_op_spec = 336723985;
|
||||
|
@ -4515,6 +4515,23 @@ static dsql_nod* pass1_derived_table(dsql_req* request, dsql_nod* input, bool pr
|
||||
}
|
||||
context->ctx_rse = node->nod_arg[e_derived_table_rse] = rse;
|
||||
|
||||
// CVC: prepare a truncated alias for the derived table here
|
||||
// because we need it several times.
|
||||
TEXT aliasbuffer[100] = "";
|
||||
TEXT* aliasname = aliasbuffer;
|
||||
if (alias) {
|
||||
int length = alias->str_length;
|
||||
if (length > 99) {
|
||||
length = 99;
|
||||
memcpy(aliasname, alias->str_data, length);
|
||||
aliasname[length] = 0;
|
||||
}
|
||||
else
|
||||
aliasname = alias->str_data;
|
||||
}
|
||||
else
|
||||
aliasname = "<unnamed>";
|
||||
|
||||
// If an alias-list is specified process it.
|
||||
const bool ignoreColumnChecks = (input->nod_flags & NOD_DT_IGNORE_COLUMN_CHECK);
|
||||
if (node->nod_arg[e_derived_table_column_alias] &&
|
||||
@ -4522,40 +4539,19 @@ static dsql_nod* pass1_derived_table(dsql_req* request, dsql_nod* input, bool pr
|
||||
{
|
||||
dsql_nod* list = node->nod_arg[e_derived_table_column_alias];
|
||||
|
||||
// Have both lists the same number of items?
|
||||
// Do both lists have the same number of items?
|
||||
if (list->nod_count != rse->nod_arg[e_rse_items]->nod_count) {
|
||||
// Column list by derived table %s [alias-name] has %s [more/fewer] columns
|
||||
// than the number of items.
|
||||
//
|
||||
TEXT err_message[200], aliasname[100];
|
||||
aliasname[0] = 0;
|
||||
if (alias) {
|
||||
int length = alias->str_length;
|
||||
if (length > 99) {
|
||||
length = 99;
|
||||
}
|
||||
const TEXT* src = alias->str_data;
|
||||
TEXT* dest = aliasname;
|
||||
for (; length; length--) {
|
||||
*dest++ = *src++;
|
||||
}
|
||||
*dest = 0;
|
||||
}
|
||||
if (list->nod_count > rse->nod_arg[e_rse_items]->nod_count) {
|
||||
sprintf (err_message, "list by derived table %s has more columns than the number of items.",
|
||||
aliasname);
|
||||
}
|
||||
else {
|
||||
sprintf (err_message, "list by derived table %s has fewer columns than the number of items.",
|
||||
aliasname);
|
||||
}
|
||||
//
|
||||
// !!! THIS MESSAGE SHOULD BE CHANGED !!!
|
||||
//
|
||||
int errcode = isc_dsql_derived_table_less_columns;
|
||||
if (list->nod_count > rse->nod_arg[e_rse_items]->nod_count)
|
||||
errcode = isc_dsql_derived_table_more_columns;
|
||||
|
||||
ERRD_post(isc_sqlerr, isc_arg_number, (SLONG) - 104,
|
||||
isc_arg_gds, isc_dsql_command_err,
|
||||
isc_arg_gds, isc_field_name,
|
||||
isc_arg_string, err_message, 0);
|
||||
isc_arg_gds, errcode,
|
||||
isc_arg_string, aliasname, 0);
|
||||
}
|
||||
|
||||
// Generate derived fields and assign alias-name to it.
|
||||
@ -4578,7 +4574,7 @@ static dsql_nod* pass1_derived_table(dsql_req* request, dsql_nod* input, bool pr
|
||||
dsql_nod* select_item =
|
||||
pass1_make_derived_field(request, tdsql, rse->nod_arg[e_rse_items]->nod_arg[count]);
|
||||
|
||||
// Auto-create dummy column name for pass_any()
|
||||
// Auto-create dummy column name for pass1_any()
|
||||
if (ignoreColumnChecks && (select_item->nod_type != nod_derived_field)) {
|
||||
// Make new derived field node
|
||||
dsql_nod* derived_field =
|
||||
@ -4605,20 +4601,17 @@ static dsql_nod* pass1_derived_table(dsql_req* request, dsql_nod* input, bool pr
|
||||
}
|
||||
|
||||
int count;
|
||||
// Check if all root select-items have an derived field else show a message.
|
||||
// Check if all root select-items have a derived field else show a message.
|
||||
for (count = 0; count < rse->nod_arg[e_rse_items]->nod_count; count++) {
|
||||
const dsql_nod* select_item = rse->nod_arg[e_rse_items]->nod_arg[count];
|
||||
if (select_item->nod_type != nod_derived_field) {
|
||||
// No columnname specified for column number %d
|
||||
//
|
||||
// !!! THIS MESSAGE SHOULD BE CHANGED !!!
|
||||
//
|
||||
TEXT columnnumber[80];
|
||||
sprintf (columnnumber, "%d is specified without a name", count + 1);
|
||||
// no column name specified for column number %d in derived table %s
|
||||
|
||||
ERRD_post(isc_sqlerr, isc_arg_number, (SLONG) - 104,
|
||||
isc_arg_gds, isc_dsql_command_err,
|
||||
isc_arg_gds, isc_field_name,
|
||||
isc_arg_string, columnnumber, 0);
|
||||
isc_arg_gds, isc_dsql_derived_field_unnamed,
|
||||
isc_arg_number, SLONG(count + 1),
|
||||
isc_arg_string, aliasname, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -4633,25 +4626,12 @@ static dsql_nod* pass1_derived_table(dsql_req* request, dsql_nod* input, bool pr
|
||||
if (!strcmp(reinterpret_cast<const char*>(name1->str_data),
|
||||
reinterpret_cast<const char*>(name2->str_data)))
|
||||
{
|
||||
// The column %s was specified multiple times for derived table %s
|
||||
//
|
||||
// !!! THIS MESSAGE SHOULD BE CHANGED !!!
|
||||
//
|
||||
TEXT columnnumber[80];
|
||||
if (alias) {
|
||||
sprintf (columnnumber,
|
||||
"The column %s was specified multiple times for derived table %s",
|
||||
name1->str_data, alias->str_data);
|
||||
}
|
||||
else {
|
||||
sprintf (columnnumber,
|
||||
"The column %s was specified multiple times for derived table %s",
|
||||
name1->str_data, "unnamed");
|
||||
}
|
||||
// column %s was specified multiple times for derived table %s
|
||||
ERRD_post(isc_sqlerr, isc_arg_number, (SLONG) - 104,
|
||||
isc_arg_gds, isc_dsql_command_err,
|
||||
isc_arg_gds, isc_field_name,
|
||||
isc_arg_string, columnnumber, 0);
|
||||
isc_arg_gds, isc_dsql_derived_field_dup_name,
|
||||
isc_arg_string, name1->str_data,
|
||||
isc_arg_string, aliasname, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -4764,12 +4744,10 @@ static void pass1_expand_select_node(dsql_req* request, dsql_nod* node, DsqlNodS
|
||||
dsql_nod* select_item = *ptr;
|
||||
// select-item should always be a derived field!
|
||||
if (select_item->nod_type != nod_derived_field) {
|
||||
// Internal dsql error: alias type expected by exploding.
|
||||
//
|
||||
// !!! THIS MESSAGE SHOULD BE CHANGED !!!
|
||||
//
|
||||
// Internal dsql error: alias type expected by pass1_expand_select_node
|
||||
ERRD_post(isc_sqlerr, isc_arg_number, (SLONG) - 104,
|
||||
isc_arg_gds, isc_dsql_command_err, 0);
|
||||
isc_arg_gds, isc_dsql_command_err,
|
||||
isc_arg_gds, isc_dsql_derived_alias_select, 0);
|
||||
}
|
||||
stack.push(select_item);
|
||||
}
|
||||
@ -5085,12 +5063,10 @@ static dsql_nod* pass1_field( dsql_req* request, dsql_nod* input,
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Internal dsql error: alias type expected by field.
|
||||
//
|
||||
// !!! THIS MESSAGE SHOULD BE CHANGED !!!
|
||||
//
|
||||
// Internal dsql error: alias type expected by pass1_field
|
||||
ERRD_post(isc_sqlerr, isc_arg_number, (SLONG) - 104,
|
||||
isc_arg_gds, isc_dsql_command_err, 0);
|
||||
isc_arg_gds, isc_dsql_command_err,
|
||||
isc_arg_gds, isc_dsql_derived_alias_field, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@ -8411,12 +8387,10 @@ static void pass1_union_auto_cast(dsql_nod* input, const dsc& desc,
|
||||
if (in_select_list)
|
||||
{
|
||||
if ((position < 0) || (position >= input->nod_count)) {
|
||||
// Internal dsql error: position out of range.
|
||||
//
|
||||
// !!! THIS MESSAGE SHOULD BE CHANGED !!!
|
||||
//
|
||||
// Internal dsql error: column position out of range in pass1_union_auto_cast
|
||||
ERRD_post(isc_sqlerr, isc_arg_number, (SLONG) - 104,
|
||||
isc_arg_gds, isc_dsql_command_err, 0);
|
||||
isc_arg_gds, isc_dsql_command_err,
|
||||
isc_arg_gds, isc_dsql_auto_field_bad_pos, 0);
|
||||
}
|
||||
else {
|
||||
dsql_nod* select_item = input->nod_arg[position];
|
||||
|
@ -747,6 +747,13 @@ static const struct {
|
||||
{"dsql_max_sort_items", 336397215},
|
||||
{"dsql_max_group_items", 336397216},
|
||||
{"dsql_conflicting_sort_field", 336397217},
|
||||
{"dsql_derived_table_more_columns", 336397218},
|
||||
{"dsql_derived_table_less_columns", 336397219},
|
||||
{"dsql_derived_field_unnamed", 336397220},
|
||||
{"dsql_derived_field_dup_name", 336397221},
|
||||
{"dsql_derived_alias_select", 336397222},
|
||||
{"dsql_derived_alias_field", 336397223},
|
||||
{"dsql_auto_field_bad_pos", 336397224},
|
||||
{"gsec_cant_open_db", 336723983},
|
||||
{"gsec_switches_error", 336723984},
|
||||
{"gsec_no_op_spec", 336723985},
|
||||
|
@ -780,6 +780,13 @@ const ISC_LONG isc_dsql_only_can_subscript_array = 336397214L;
|
||||
const ISC_LONG isc_dsql_max_sort_items = 336397215L;
|
||||
const ISC_LONG isc_dsql_max_group_items = 336397216L;
|
||||
const ISC_LONG isc_dsql_conflicting_sort_field = 336397217L;
|
||||
const ISC_LONG isc_dsql_derived_table_more_columns = 336397218L;
|
||||
const ISC_LONG isc_dsql_derived_table_less_columns = 336397219L;
|
||||
const ISC_LONG isc_dsql_derived_field_unnamed = 336397220L;
|
||||
const ISC_LONG isc_dsql_derived_field_dup_name = 336397221L;
|
||||
const ISC_LONG isc_dsql_derived_alias_select = 336397222L;
|
||||
const ISC_LONG isc_dsql_derived_alias_field = 336397223L;
|
||||
const ISC_LONG isc_dsql_auto_field_bad_pos = 336397224L;
|
||||
const ISC_LONG isc_gsec_cant_open_db = 336723983L;
|
||||
const ISC_LONG isc_gsec_switches_error = 336723984L;
|
||||
const ISC_LONG isc_gsec_no_op_spec = 336723985L;
|
||||
@ -839,7 +846,7 @@ const ISC_LONG isc_gstat_unexpected_eof = 336920580L;
|
||||
const ISC_LONG isc_gstat_open_err = 336920605L;
|
||||
const ISC_LONG isc_gstat_read_err = 336920606L;
|
||||
const ISC_LONG isc_gstat_sysmemex = 336920607L;
|
||||
const ISC_LONG isc_err_max = 784;
|
||||
const ISC_LONG isc_err_max = 791;
|
||||
|
||||
#else /* c definitions */
|
||||
|
||||
@ -1589,6 +1596,13 @@ const ISC_LONG isc_err_max = 784;
|
||||
#define isc_dsql_max_sort_items 336397215L
|
||||
#define isc_dsql_max_group_items 336397216L
|
||||
#define isc_dsql_conflicting_sort_field 336397217L
|
||||
#define isc_dsql_derived_table_more_columns 336397218L
|
||||
#define isc_dsql_derived_table_less_columns 336397219L
|
||||
#define isc_dsql_derived_field_unnamed 336397220L
|
||||
#define isc_dsql_derived_field_dup_name 336397221L
|
||||
#define isc_dsql_derived_alias_select 336397222L
|
||||
#define isc_dsql_derived_alias_field 336397223L
|
||||
#define isc_dsql_auto_field_bad_pos 336397224L
|
||||
#define isc_gsec_cant_open_db 336723983L
|
||||
#define isc_gsec_switches_error 336723984L
|
||||
#define isc_gsec_no_op_spec 336723985L
|
||||
@ -1648,7 +1662,7 @@ const ISC_LONG isc_err_max = 784;
|
||||
#define isc_gstat_open_err 336920605L
|
||||
#define isc_gstat_read_err 336920606L
|
||||
#define isc_gstat_sysmemex 336920607L
|
||||
#define isc_err_max 784
|
||||
#define isc_err_max 791
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -747,64 +747,71 @@ static const struct {
|
||||
{336397215, "cannot sort on more than 255 items"}, /* 723, dsql_max_sort_items */
|
||||
{336397216, "cannot group on more than 255 items"}, /* 724, dsql_max_group_items */
|
||||
{336397217, "Cannot include the same field (%s.%s) twice in the ORDER BY clause with conflicting sorting options"}, /* 725, dsql_conflicting_sort_field */
|
||||
{336723983, "unable to open database"}, /* 726, gsec_cant_open_db */
|
||||
{336723984, "error in switch specifications"}, /* 727, gsec_switches_error */
|
||||
{336723985, "no operation specified"}, /* 728, gsec_no_op_spec */
|
||||
{336723986, "no user name specified"}, /* 729, gsec_no_usr_name */
|
||||
{336723987, "add record error"}, /* 730, gsec_err_add */
|
||||
{336723988, "modify record error"}, /* 731, gsec_err_modify */
|
||||
{336723989, "find/modify record error"}, /* 732, gsec_err_find_mod */
|
||||
{336723990, "record not found for user: %s"}, /* 733, gsec_err_rec_not_found */
|
||||
{336723991, "delete record error"}, /* 734, gsec_err_delete */
|
||||
{336723992, "find/delete record error"}, /* 735, gsec_err_find_del */
|
||||
{336723996, "find/display record error"}, /* 736, gsec_err_find_disp */
|
||||
{336723997, "invalid parameter, no switch defined"}, /* 737, gsec_inv_param */
|
||||
{336723998, "operation already specified"}, /* 738, gsec_op_specified */
|
||||
{336723999, "password already specified"}, /* 739, gsec_pw_specified */
|
||||
{336724000, "uid already specified"}, /* 740, gsec_uid_specified */
|
||||
{336724001, "gid already specified"}, /* 741, gsec_gid_specified */
|
||||
{336724002, "project already specified"}, /* 742, gsec_proj_specified */
|
||||
{336724003, "organization already specified"}, /* 743, gsec_org_specified */
|
||||
{336724004, "first name already specified"}, /* 744, gsec_fname_specified */
|
||||
{336724005, "middle name already specified"}, /* 745, gsec_mname_specified */
|
||||
{336724006, "last name already specified"}, /* 746, gsec_lname_specified */
|
||||
{336724008, "invalid switch specified"}, /* 747, gsec_inv_switch */
|
||||
{336724009, "ambiguous switch specified"}, /* 748, gsec_amb_switch */
|
||||
{336724010, "no operation specified for parameters"}, /* 749, gsec_no_op_specified */
|
||||
{336724011, "no parameters allowed for this operation"}, /* 750, gsec_params_not_allowed */
|
||||
{336724012, "incompatible switches specified"}, /* 751, gsec_incompat_switch */
|
||||
{336724044, "Invalid user name (maximum 31 bytes allowed)"}, /* 752, gsec_inv_username */
|
||||
{336724045, "Warning - maximum 8 significant bytes of password used"}, /* 753, gsec_inv_pw_length */
|
||||
{336724046, "database already specified"}, /* 754, gsec_db_specified */
|
||||
{336724047, "database administrator name already specified"}, /* 755, gsec_db_admin_specified */
|
||||
{336724048, "database administrator password already specified"}, /* 756, gsec_db_admin_pw_specified */
|
||||
{336724049, "SQL role name already specified"}, /* 757, gsec_sql_role_specified */
|
||||
{336789504, "The license file does not exist or could not be opened for read"}, /* 758, license_no_file */
|
||||
{336789523, "operation already specified"}, /* 759, license_op_specified */
|
||||
{336789524, "no operation specified"}, /* 760, license_op_missing */
|
||||
{336789525, "invalid switch"}, /* 761, license_inv_switch */
|
||||
{336789526, "invalid switch combination"}, /* 762, license_inv_switch_combo */
|
||||
{336789527, "illegal operation/switch combination"}, /* 763, license_inv_op_combo */
|
||||
{336789528, "ambiguous switch"}, /* 764, license_amb_switch */
|
||||
{336789529, "invalid parameter, no switch specified"}, /* 765, license_inv_parameter */
|
||||
{336789530, "switch does not take any parameter"}, /* 766, license_param_specified */
|
||||
{336789531, "switch requires a parameter"}, /* 767, license_param_req */
|
||||
{336789532, "syntax error in command line"}, /* 768, license_syntx_error */
|
||||
{336789534, "The certificate was not added. A duplicate ID exists in the license file."}, /* 769, license_dup_id */
|
||||
{336789535, "The certificate was not added. Invalid certificate ID / Key combination."}, /* 770, license_inv_id_key */
|
||||
{336789536, "The certificate was not removed. The key does not exist or corresponds to a temporary evaluation license."}, /* 771, license_err_remove */
|
||||
{336789537, "An error occurred updating the license file. Operation cancelled."}, /* 772, license_err_update */
|
||||
{336789538, "The certificate could not be validated based on the information given. Please recheck the ID and key information."}, /* 773, license_err_convert */
|
||||
{336789539, "Operation failed. An unknown error occurred."}, /* 774, license_err_unk */
|
||||
{336789540, "Add license operation failed, KEY: %s ID: %s"}, /* 775, license_svc_err_add */
|
||||
{336789541, "Remove license operation failed, KEY: %s"}, /* 776, license_svc_err_remove */
|
||||
{336789563, "The evaluation license has already been used on this server. You need to purchase a non-evaluation license."}, /* 777, license_eval_exists */
|
||||
{336920577, "found unknown switch"}, /* 778, gstat_unknown_switch */
|
||||
{336920578, "please retry, giving a database name"}, /* 779, gstat_retry */
|
||||
{336920579, "Wrong ODS version, expected %d, encountered %d"}, /* 780, gstat_wrong_ods */
|
||||
{336920580, "Unexpected end of database file."}, /* 781, gstat_unexpected_eof */
|
||||
{336920605, "Can't open database file %s"}, /* 782, gstat_open_err */
|
||||
{336920606, "Can't read a database page"}, /* 783, gstat_read_err */
|
||||
{336920607, "System memory exhausted"}, /* 784, gstat_sysmemex */
|
||||
{336397218, "column list from derived table %s has more columns than the number of items in its SELECT statement"}, /* 726, dsql_derived_table_more_columns */
|
||||
{336397219, "column list from derived table %s has less columns than the number of items in its SELECT statement"}, /* 727, dsql_derived_table_less_columns */
|
||||
{336397220, "no column name specified for column number %d in derived table %s"}, /* 728, dsql_derived_field_unnamed */
|
||||
{336397221, "column %s was specified multiple times for derived table %s"}, /* 729, dsql_derived_field_dup_name */
|
||||
{336397222, "Internal dsql error: alias type expected by pass1_expand_select_node"}, /* 730, dsql_derived_alias_select */
|
||||
{336397223, "Internal dsql error: alias type expected by pass1_field"}, /* 731, dsql_derived_alias_field */
|
||||
{336397224, "Internal dsql error: column position out of range in pass1_union_auto_cast"}, /* 732, dsql_auto_field_bad_pos */
|
||||
{336723983, "unable to open database"}, /* 733, gsec_cant_open_db */
|
||||
{336723984, "error in switch specifications"}, /* 734, gsec_switches_error */
|
||||
{336723985, "no operation specified"}, /* 735, gsec_no_op_spec */
|
||||
{336723986, "no user name specified"}, /* 736, gsec_no_usr_name */
|
||||
{336723987, "add record error"}, /* 737, gsec_err_add */
|
||||
{336723988, "modify record error"}, /* 738, gsec_err_modify */
|
||||
{336723989, "find/modify record error"}, /* 739, gsec_err_find_mod */
|
||||
{336723990, "record not found for user: %s"}, /* 740, gsec_err_rec_not_found */
|
||||
{336723991, "delete record error"}, /* 741, gsec_err_delete */
|
||||
{336723992, "find/delete record error"}, /* 742, gsec_err_find_del */
|
||||
{336723996, "find/display record error"}, /* 743, gsec_err_find_disp */
|
||||
{336723997, "invalid parameter, no switch defined"}, /* 744, gsec_inv_param */
|
||||
{336723998, "operation already specified"}, /* 745, gsec_op_specified */
|
||||
{336723999, "password already specified"}, /* 746, gsec_pw_specified */
|
||||
{336724000, "uid already specified"}, /* 747, gsec_uid_specified */
|
||||
{336724001, "gid already specified"}, /* 748, gsec_gid_specified */
|
||||
{336724002, "project already specified"}, /* 749, gsec_proj_specified */
|
||||
{336724003, "organization already specified"}, /* 750, gsec_org_specified */
|
||||
{336724004, "first name already specified"}, /* 751, gsec_fname_specified */
|
||||
{336724005, "middle name already specified"}, /* 752, gsec_mname_specified */
|
||||
{336724006, "last name already specified"}, /* 753, gsec_lname_specified */
|
||||
{336724008, "invalid switch specified"}, /* 754, gsec_inv_switch */
|
||||
{336724009, "ambiguous switch specified"}, /* 755, gsec_amb_switch */
|
||||
{336724010, "no operation specified for parameters"}, /* 756, gsec_no_op_specified */
|
||||
{336724011, "no parameters allowed for this operation"}, /* 757, gsec_params_not_allowed */
|
||||
{336724012, "incompatible switches specified"}, /* 758, gsec_incompat_switch */
|
||||
{336724044, "Invalid user name (maximum 31 bytes allowed)"}, /* 759, gsec_inv_username */
|
||||
{336724045, "Warning - maximum 8 significant bytes of password used"}, /* 760, gsec_inv_pw_length */
|
||||
{336724046, "database already specified"}, /* 761, gsec_db_specified */
|
||||
{336724047, "database administrator name already specified"}, /* 762, gsec_db_admin_specified */
|
||||
{336724048, "database administrator password already specified"}, /* 763, gsec_db_admin_pw_specified */
|
||||
{336724049, "SQL role name already specified"}, /* 764, gsec_sql_role_specified */
|
||||
{336789504, "The license file does not exist or could not be opened for read"}, /* 765, license_no_file */
|
||||
{336789523, "operation already specified"}, /* 766, license_op_specified */
|
||||
{336789524, "no operation specified"}, /* 767, license_op_missing */
|
||||
{336789525, "invalid switch"}, /* 768, license_inv_switch */
|
||||
{336789526, "invalid switch combination"}, /* 769, license_inv_switch_combo */
|
||||
{336789527, "illegal operation/switch combination"}, /* 770, license_inv_op_combo */
|
||||
{336789528, "ambiguous switch"}, /* 771, license_amb_switch */
|
||||
{336789529, "invalid parameter, no switch specified"}, /* 772, license_inv_parameter */
|
||||
{336789530, "switch does not take any parameter"}, /* 773, license_param_specified */
|
||||
{336789531, "switch requires a parameter"}, /* 774, license_param_req */
|
||||
{336789532, "syntax error in command line"}, /* 775, license_syntx_error */
|
||||
{336789534, "The certificate was not added. A duplicate ID exists in the license file."}, /* 776, license_dup_id */
|
||||
{336789535, "The certificate was not added. Invalid certificate ID / Key combination."}, /* 777, license_inv_id_key */
|
||||
{336789536, "The certificate was not removed. The key does not exist or corresponds to a temporary evaluation license."}, /* 778, license_err_remove */
|
||||
{336789537, "An error occurred updating the license file. Operation cancelled."}, /* 779, license_err_update */
|
||||
{336789538, "The certificate could not be validated based on the information given. Please recheck the ID and key information."}, /* 780, license_err_convert */
|
||||
{336789539, "Operation failed. An unknown error occurred."}, /* 781, license_err_unk */
|
||||
{336789540, "Add license operation failed, KEY: %s ID: %s"}, /* 782, license_svc_err_add */
|
||||
{336789541, "Remove license operation failed, KEY: %s"}, /* 783, license_svc_err_remove */
|
||||
{336789563, "The evaluation license has already been used on this server. You need to purchase a non-evaluation license."}, /* 784, license_eval_exists */
|
||||
{336920577, "found unknown switch"}, /* 785, gstat_unknown_switch */
|
||||
{336920578, "please retry, giving a database name"}, /* 786, gstat_retry */
|
||||
{336920579, "Wrong ODS version, expected %d, encountered %d"}, /* 787, gstat_wrong_ods */
|
||||
{336920580, "Unexpected end of database file."}, /* 788, gstat_unexpected_eof */
|
||||
{336920605, "Can't open database file %s"}, /* 789, gstat_open_err */
|
||||
{336920606, "Can't read a database page"}, /* 790, gstat_read_err */
|
||||
{336920607, "System memory exhausted"}, /* 791, gstat_sysmemex */
|
||||
{0, NULL}
|
||||
};
|
||||
|
@ -803,4 +803,11 @@ static SLONG user_codes[] = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
};
|
||||
|
@ -746,6 +746,13 @@ static const struct {
|
||||
{336397215, -104}, /* 927 dsql_max_sort_items */
|
||||
{336397216, -104}, /* 928 dsql_max_group_items */
|
||||
{336397217, -104}, /* 929 dsql_conflicting_sort_field */
|
||||
{336397218, -104}, /* 930 dsql_derived_table_more_columns */
|
||||
{336397219, -104}, /* 931 dsql_derived_table_less_columns */
|
||||
{336397220, -104}, /* 932 dsql_derived_field_unnamed */
|
||||
{336397221, -104}, /* 933 dsql_derived_field_dup_name */
|
||||
{336397222, -104}, /* 934 dsql_derived_alias_select */
|
||||
{336397223, -104}, /* 935 dsql_derived_alias_field */
|
||||
{336397224, -104}, /* 936 dsql_auto_field_bad_pos */
|
||||
{336723983, -901}, /* 15 gsec_cant_open_db */
|
||||
{336723984, -901}, /* 16 gsec_switches_error */
|
||||
{336723985, -901}, /* 17 gsec_no_op_spec */
|
||||
|
@ -16,7 +16,7 @@ INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('19
|
||||
INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('1996-11-07 13:39:40', 'INSTALL', 10, 1);
|
||||
INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('1996-11-07 13:38:41', 'TEST', 11, 4);
|
||||
INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('2006-07-28 06:38:03', 'GBAK', 12, 294);
|
||||
INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('2006-10-03 03:00:39', 'SQLERR', 13, 930);
|
||||
INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('2006-10-17 02:37:43', 'SQLERR', 13, 937);
|
||||
INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('1996-11-07 13:38:42', 'SQLWARN', 14, 102);
|
||||
INSERT INTO FACILITIES (LAST_CHANGE, FACILITY, FAC_CODE, MAX_NUMBER) VALUES ('2006-09-10 03:04:31', 'JRD_BUGCHK', 15, 307);
|
||||
/*
|
||||
|
@ -3081,5 +3081,12 @@ INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FL
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_max_group_items', 'pass1_group_by_list', 'pass1.cpp', NULL, 13, 928, NULL, 'cannot group on more than 255 items', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_conflicting_sort_field', 'pass1_sort', 'pass1.cpp', NULL, 13, 929, NULL, 'Cannot include the same field (%s.%s) twice in the ORDER BY clause with conflicting sorting options', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('max_db_per_trans_allowed', 'GDS_START_TRANSACTION', 'jrd.cpp', NULL, 0, 554, NULL, 'A multi database transaction cannot span more than %d databases', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_derived_table_more_columns', 'pass1_derived_table', 'pass1.cpp', NULL, 13, 930, NULL, 'column list from derived table %s has more columns than the number of items in its SELECT statement', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_derived_table_less_columns', 'pass1_derived_table', 'pass1.cpp', NULL, 13, 931, NULL, 'column list from derived table %s has less columns than the number of items in its SELECT statement', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_derived_field_unnamed', 'pass1_derived_table', 'pass1.cpp', NULL, 13, 932, NULL, 'no column name specified for column number %d in derived table %s', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_derived_field_dup_name', 'pass1_derived_table', 'pass1.cpp', NULL, 13, 933, NULL, 'column %s was specified multiple times for derived table %s', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_derived_alias_select', 'pass1_expand_select_node', 'pass1.cpp', NULL, 13, 934, NULL, 'Internal dsql error: alias type expected by pass1_expand_select_node', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_derived_alias_field', 'pass1_field', 'pass1.cpp', NULL, 13, 935, NULL, 'Internal dsql error: alias type expected by pass1_field', NULL, NULL);
|
||||
INSERT INTO MESSAGES (SYMBOL, ROUTINE, MODULE, TRANS_NOTES, FAC_CODE, NUMBER, FLAGS, TEXT, "ACTION", EXPLANATION) VALUES ('dsql_auto_field_bad_pos', 'pass1_union_auto_cast', 'pass1.cpp', NULL, 13, 936, NULL, 'Internal dsql error: column position out of range in pass1_union_auto_cast', NULL, NULL);
|
||||
|
||||
COMMIT WORK;
|
||||
|
@ -783,6 +783,12 @@ INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE,
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 928, 13, NULL, 'dsql_max_group_items', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 929, 13, NULL, 'dsql_conflicting_sort_field', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-901, NULL, NULL, 554, 0, NULL, 'max_db_per_trans_allowed', NULL, NULL);
|
||||
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 930, 13, NULL, 'dsql_derived_table_more_columns', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 931, 13, NULL, 'dsql_derived_table_less_columns', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 932, 13, NULL, 'dsql_derived_field_unnamed', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 933, 13, NULL, 'dsql_derived_field_dup_name', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 934, 13, NULL, 'dsql_derived_alias_select', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 935, 13, NULL, 'dsql_derived_alias_field', NULL, NULL);
|
||||
INSERT INTO SYSTEM_ERRORS (SQL_CODE, SQL_CLASS, SQL_SUBCLASS, NUMBER, FAC_CODE, VMS_CODE, GDS_SYMBOL, SEVERITY, SEVERITY_TEXT) VALUES (-104, NULL, NULL, 936, 13, NULL, 'dsql_auto_field_bad_pos', NULL, NULL);
|
||||
|
||||
COMMIT WORK;
|
||||
|
Loading…
Reference in New Issue
Block a user