mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
New BLR verb for parametrized events.
This commit is contained in:
parent
5ded8d1448
commit
4aaa42fe3f
@ -270,12 +270,13 @@
|
||||
#define blr_current_timestamp (unsigned char)161
|
||||
#define blr_current_time (unsigned char)162
|
||||
|
||||
/* FB1 specific BLR */
|
||||
/* FB 1.0 specific BLR */
|
||||
|
||||
#define blr_current_role (unsigned char)174
|
||||
#define blr_skip (unsigned char)175
|
||||
|
||||
/* FB2 specific BLR */
|
||||
/* FB 1.5 specific BLR */
|
||||
|
||||
#define blr_exec_sql (unsigned char)176
|
||||
#define blr_internal_info (unsigned char)177
|
||||
#define blr_nullsfirst (unsigned char)178
|
||||
@ -283,7 +284,12 @@
|
||||
|
||||
/* This codes are for user-defined savepoints
|
||||
as opposed to the system ones defined earlier */
|
||||
|
||||
#define blr_user_savepoint (unsigned char)180
|
||||
#define blr_undo_savepoint (unsigned char)181
|
||||
|
||||
/* This codes reuse BLR code space */
|
||||
|
||||
#define blr_post_arg (unsigned char)163
|
||||
|
||||
#endif /* _JRD_BLR_H_ */
|
||||
|
@ -88,7 +88,8 @@ static CONST VERB verbs[] = {
|
||||
PAIR(nod_send, blr_send, e_send_length, 1, STATEMENT, STATEMENT),
|
||||
PAIR(nod_store, blr_store, e_sto_length, e_sto_length - 1, STATEMENT, STATEMENT),
|
||||
PAIR(nod_store, blr_store2, e_sto_length, e_sto_length - 1, STATEMENT, STATEMENT),
|
||||
PAIR(nod_post, blr_post, 1, 1, STATEMENT, VALUE),
|
||||
PAIR(nod_post, blr_post, 2, 1, STATEMENT, VALUE),
|
||||
PAIR(nod_post, blr_post_arg, 2, 2, STATEMENT, VALUE),
|
||||
PAIR(nod_exec_sql, blr_exec_sql, 1, 1, STATEMENT, VALUE),
|
||||
PAIR(nod_internal_info, blr_internal_info, 1, 1, VALUE, VALUE),
|
||||
PAIR2(nod_add, blr_add, 2, 2, VALUE, VALUE),
|
||||
@ -220,7 +221,7 @@ static CONST VERB verbs[] = {
|
||||
PAIR(nod_current_date, blr_current_date, e_current_date_length, 0, VALUE, OTHER),
|
||||
PAIR(nod_current_time, blr_current_time, e_current_time_length, 0, VALUE, OTHER),
|
||||
PAIR(nod_current_timestamp, blr_current_timestamp, e_current_timestamp_length, 0, VALUE, OTHER),
|
||||
PAIR(nod_current_role, blr_current_role, 1, 0, VALUE, VALUE),
|
||||
PAIR(nod_current_role, blr_current_role, 1, 0, VALUE, VALUE),
|
||||
0
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user