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
8756d253
Commit
8756d253
authored
Jun 08, 2022
by
Mihyaeru
Committed by
GitHub
Jun 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-28364 Spider: remove #ifdef SPIDER_HAS_EXPR_CACHE_ITEM
parent
d4910623
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
7 deletions
+1
-7
storage/spider/spd_db_conn.cc
storage/spider/spd_db_conn.cc
+0
-2
storage/spider/spd_db_include.h
storage/spider/spd_db_include.h
+0
-1
storage/spider/spd_db_mysql.cc
storage/spider/spd_db_mysql.cc
+1
-4
No files found.
storage/spider/spd_db_conn.cc
View file @
8756d253
...
...
@@ -7935,9 +7935,7 @@ int spider_db_print_item_type(
field
,
spider
,
str
,
alias
,
alias_length
,
dbton_id
,
use_fields
,
fields
));
case
Item
:
:
SUBSELECT_ITEM
:
case
Item
:
:
TRIGGER_FIELD_ITEM
:
#ifdef SPIDER_HAS_EXPR_CACHE_ITEM
case
Item
:
:
EXPR_CACHE_ITEM
:
#endif
DBUG_RETURN
(
ER_SPIDER_COND_SKIP_NUM
);
default:
DBUG_RETURN
(
spider_db_print_item_type_default
(
item
,
spider
,
str
));
...
...
storage/spider/spd_db_include.h
View file @
8756d253
...
...
@@ -33,7 +33,6 @@
#define SPIDER_HAS_APPEND_FOR_SINGLE_QUOTE
#define SPIDER_HAS_SHOW_SIMPLE_FUNC
#define SPIDER_HAS_JT_HASH_INDEX_MERGE
#define SPIDER_HAS_EXPR_CACHE_ITEM
#define SPIDER_HAS_TIME_STATUS
#define SPIDER_HAS_DECIMAL_OPERATION_RESULTS_VALUE_TYPE
#define SPIDER_ITEM_STRING_WITHOUT_SET_STR_WITH_COPY
...
...
storage/spider/spd_db_mysql.cc
View file @
8756d253
...
...
@@ -6387,15 +6387,12 @@ int spider_db_mbase_util::open_item_func(
bool
has_other_item
=
FALSE
;
while
((
item
=
lif
++
))
{
#ifdef SPIDER_HAS_EXPR_CACHE_ITEM
if
(
item
->
type
()
==
Item
::
EXPR_CACHE_ITEM
)
{
DBUG_PRINT
(
"info"
,(
"spider EXPR_CACHE_ITEM"
));
has_expr_cache_item
=
TRUE
;
}
else
#endif
if
(
}
else
if
(
item
->
type
()
==
Item
::
FUNC_ITEM
&&
((
Item_func
*
)
item
)
->
functype
()
==
Item_func
::
ISNOTNULL_FUNC
)
{
...
...
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