Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c6c2478f
Commit
c6c2478f
authored
Jan 13, 2004
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
row0sel.c:
Improve previous push: save 1000 bytes of thread stack in non-error cases
parent
bd37416e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
innobase/row/row0sel.c
innobase/row/row0sel.c
+4
-2
No files found.
innobase/row/row0sel.c
View file @
c6c2478f
...
@@ -2758,7 +2758,6 @@ row_search_for_mysql(
...
@@ -2758,7 +2758,6 @@ row_search_for_mysql(
ulint
cnt
=
0
;
ulint
cnt
=
0
;
ulint
next_offs
;
ulint
next_offs
;
mtr_t
mtr
;
mtr_t
mtr
;
char
err_buf
[
1000
];
ut_ad
(
index
&&
pcur
&&
search_tuple
);
ut_ad
(
index
&&
pcur
&&
search_tuple
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
...
@@ -2775,7 +2774,8 @@ row_search_for_mysql(
...
@@ -2775,7 +2774,8 @@ row_search_for_mysql(
}
}
if
(
trx
->
n_mysql_tables_in_use
==
0
)
{
if
(
trx
->
n_mysql_tables_in_use
==
0
)
{
char
err_buf
[
1000
];
trx_print
(
err_buf
,
trx
);
trx_print
(
err_buf
,
trx
);
fprintf
(
stderr
,
fprintf
(
stderr
,
...
@@ -3086,6 +3086,8 @@ shortcut_fails_too_big_rec:
...
@@ -3086,6 +3086,8 @@ shortcut_fails_too_big_rec:
if
(
trx
->
read_view
==
NULL
if
(
trx
->
read_view
==
NULL
&&
prebuilt
->
select_lock_type
==
LOCK_NONE
)
{
&&
prebuilt
->
select_lock_type
==
LOCK_NONE
)
{
char
err_buf
[
1000
];
trx_print
(
err_buf
,
trx
);
trx_print
(
err_buf
,
trx
);
fprintf
(
stderr
,
fprintf
(
stderr
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment