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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e4043152
Commit
e4043152
authored
Aug 23, 2022
by
Nayuta Yanagisawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wrong diff introduced by merge commit
Many Spider tests were broken by the merge commit,
36d173e5
.
parent
b68ae6dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
storage/spider/spd_db_conn.cc
storage/spider/spd_db_conn.cc
+2
-4
No files found.
storage/spider/spd_db_conn.cc
View file @
e4043152
...
...
@@ -9376,6 +9376,8 @@ int spider_db_open_item_ident(
}
else
{
if
(
!
use_fields
)
{
if
(
!
(
field
=
spider
->
field_exchange
(
field
)))
DBUG_RETURN
(
ER_SPIDER_COND_SKIP_NUM
);
if
(
str
)
{
if
((
error_num
=
share
->
dbton_share
[
dbton_id
]
->
...
...
@@ -9384,16 +9386,12 @@ int spider_db_open_item_ident(
DBUG_RETURN
(
error_num
);
}
}
else
{
if
(
!
(
field
=
spider
->
field_exchange
(
field
)))
DBUG_RETURN
(
ER_SPIDER_COND_SKIP_NUM
);
if
(
str
)
{
SPIDER_FIELD_CHAIN
*
field_chain
=
fields
->
get_next_field_chain
();
SPIDER_FIELD_HOLDER
*
field_holder
=
field_chain
->
field_holder
;
spider
=
field_holder
->
spider
;
share
=
spider
->
share
;
field
=
spider
->
field_exchange
(
field
);
DBUG_ASSERT
(
field
);
if
((
error_num
=
share
->
dbton_share
[
dbton_id
]
->
append_column_name_with_alias
(
str
,
field
->
field_index
,
field_holder
->
alias
->
ptr
(),
field_holder
->
alias
->
length
())))
...
...
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