mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
branches/zip: trx_weight_cmp(): Add const qualifiers.
This commit is contained in:
parent
fbdd5b437c
commit
681d9e9f00
2 changed files with 6 additions and 6 deletions
|
@ -379,9 +379,9 @@ considered heavier than ones that have not. */
|
|||
int
|
||||
trx_weight_cmp(
|
||||
/*===========*/
|
||||
/* out: <0, 0 or >0; similar to strcmp(3) */
|
||||
trx_t* a, /* in: the first transaction to be compared */
|
||||
trx_t* b); /* in: the second transaction to be compared */
|
||||
/* out: <0, 0 or >0; similar to strcmp(3) */
|
||||
const trx_t* a, /* in: the first transaction to be compared */
|
||||
const trx_t* b); /* in: the second transaction to be compared */
|
||||
|
||||
/* Signal to a transaction */
|
||||
struct trx_sig_struct{
|
||||
|
|
|
@ -1751,9 +1751,9 @@ considered heavier than ones that have not. */
|
|||
int
|
||||
trx_weight_cmp(
|
||||
/*===========*/
|
||||
/* out: <0, 0 or >0; similar to strcmp(3) */
|
||||
trx_t* a, /* in: the first transaction to be compared */
|
||||
trx_t* b) /* in: the second transaction to be compared */
|
||||
/* out: <0, 0 or >0; similar to strcmp(3) */
|
||||
const trx_t* a, /* in: the first transaction to be compared */
|
||||
const trx_t* b) /* in: the second transaction to be compared */
|
||||
{
|
||||
ibool a_notrans_edit;
|
||||
ibool b_notrans_edit;
|
||||
|
|
Loading…
Add table
Reference in a new issue