mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
row0sel.c:
Improve previous push: save 1000 bytes of thread stack in non-error cases innobase/row/row0sel.c: Improve previous push: save 1000 bytes of thread stack in non-error cases
This commit is contained in:
parent
ea85432715
commit
79a4b2cd49
1 changed files with 4 additions and 2 deletions
|
@ -2758,7 +2758,6 @@ row_search_for_mysql(
|
|||
ulint cnt = 0;
|
||||
ulint next_offs;
|
||||
mtr_t mtr;
|
||||
char err_buf[1000];
|
||||
|
||||
ut_ad(index && pcur && search_tuple);
|
||||
ut_ad(trx->mysql_thread_id == os_thread_get_curr_id());
|
||||
|
@ -2775,7 +2774,8 @@ row_search_for_mysql(
|
|||
}
|
||||
|
||||
if (trx->n_mysql_tables_in_use == 0) {
|
||||
|
||||
char err_buf[1000];
|
||||
|
||||
trx_print(err_buf, trx);
|
||||
|
||||
fprintf(stderr,
|
||||
|
@ -3086,6 +3086,8 @@ shortcut_fails_too_big_rec:
|
|||
|
||||
if (trx->read_view == NULL
|
||||
&& prebuilt->select_lock_type == LOCK_NONE) {
|
||||
char err_buf[1000];
|
||||
|
||||
trx_print(err_buf, trx);
|
||||
|
||||
fprintf(stderr,
|
||||
|
|
Loading…
Reference in a new issue