Skip to content

Commit

Permalink
SHOW DATABASES: fill force_user column with 'user' rule name (#433)
Browse files Browse the repository at this point in the history
Co-authored-by: Vadim Lazovsky <vadim.lazovsky@flant.com>
  • Loading branch information
lazovskiy and Vadim Lazovsky authored Apr 22, 2022
1 parent 42663bb commit 7929925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ static inline int od_console_show_databases_add_cb(od_route_t *route,
goto error;

/* force_user */
rc = kiwi_be_write_data_row_add(stream, offset, "", 0);
rc = kiwi_be_write_data_row_add(stream, offset, rule->user_name, rule->user_name_len);
if (rc == NOT_OK_RESPONSE)
goto error;

Expand Down

0 comments on commit 7929925

Please sign in to comment.