summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-01-13 04:10:20 +0200
committerunknown <heikki@hundin.mysql.fi>2004-01-13 04:10:20 +0200
commit79a4b2cd49b87da5dd327cd04242deda7188205f (patch)
tree0dc8134c2958a2abd403dd2ab838e64986fc8e9a /innobase
parentea854327159c22dc811c9b64131918c694f49ae6 (diff)
downloadmariadb-git-79a4b2cd49b87da5dd327cd04242deda7188205f.tar.gz
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
Diffstat (limited to 'innobase')
-rw-r--r--innobase/row/row0sel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/innobase/row/row0sel.c b/innobase/row/row0sel.c
index a13aaa47af2..5a5da3ba59a 100644
--- a/innobase/row/row0sel.c
+++ b/innobase/row/row0sel.c
@@ -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,