mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 12:03:02 +01:00
Misc
This commit is contained in:
parent
ec28126aeb
commit
9d4e6c7199
@ -6875,6 +6875,7 @@ static dsql_nod* pass1_replace(dsql_req* request, dsql_nod* input, bool proc_fla
|
|||||||
if (input->nod_arg[e_rep_return])
|
if (input->nod_arg[e_rep_return])
|
||||||
{
|
{
|
||||||
update->nod_arg[e_upd_rse_flags] = (dsql_nod*) NOD_SELECT_EXPR_SINGLETON;
|
update->nod_arg[e_upd_rse_flags] = (dsql_nod*) NOD_SELECT_EXPR_SINGLETON;
|
||||||
|
|
||||||
dsql_nod* store_ret = insert->nod_arg[e_sto_return];
|
dsql_nod* store_ret = insert->nod_arg[e_sto_return];
|
||||||
|
|
||||||
// nod_returning was already processed
|
// nod_returning was already processed
|
||||||
|
@ -2232,8 +2232,10 @@ void DYN_define_index(Global* gbl,
|
|||||||
id = old_id;
|
id = old_id;
|
||||||
}
|
}
|
||||||
else if (IDX.RDB$EXPRESSION_BLR.NULL)
|
else if (IDX.RDB$EXPRESSION_BLR.NULL)
|
||||||
|
{
|
||||||
DYN_error_punt(false, 119, IDX.RDB$INDEX_NAME, NULL, NULL, NULL, NULL);
|
DYN_error_punt(false, 119, IDX.RDB$INDEX_NAME, NULL, NULL, NULL, NULL);
|
||||||
/* msg 119 "no keys for index %s" */
|
// msg 119 "no keys for index %s"
|
||||||
|
}
|
||||||
|
|
||||||
if (field_list.getCount()) {
|
if (field_list.getCount()) {
|
||||||
/* If referring columns count <> referred columns return error */
|
/* If referring columns count <> referred columns return error */
|
||||||
|
@ -938,7 +938,7 @@ void DYN_delete_local_field(Global* gbl,
|
|||||||
|
|
||||||
if (!found) {
|
if (!found) {
|
||||||
DYN_error_punt(false, 55, NULL, NULL, NULL, NULL, NULL);
|
DYN_error_punt(false, 55, NULL, NULL, NULL, NULL, NULL);
|
||||||
/* msg 55: "Field not found for relation" */
|
/* msg 55: "Column not found for table" */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user