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
e1a9b7ca
Commit
e1a9b7ca
authored
Aug 24, 2020
by
Kentoku SHIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indents of Spider
parent
d8ba2930
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
storage/spider/spd_conn.cc
storage/spider/spd_conn.cc
+1
-1
storage/spider/spd_environ.h
storage/spider/spd_environ.h
+6
-6
storage/spider/spd_include.h
storage/spider/spd_include.h
+1
-1
storage/spider/spd_table.h
storage/spider/spd_table.h
+2
-2
No files found.
storage/spider/spd_conn.cc
View file @
e1a9b7ca
...
@@ -1095,7 +1095,7 @@ SPIDER_CONN *spider_get_conn(
...
@@ -1095,7 +1095,7 @@ SPIDER_CONN *spider_get_conn(
}
}
else
else
{
/* did not enable conncetion pool , create_conn */
{
/* did not enable conncetion pool , create_conn */
DBUG_PRINT
(
"info"
,(
"spider create new conn"
));
DBUG_PRINT
(
"info"
,(
"spider create new conn"
));
if
(
!
(
conn
=
spider_create_conn
(
share
,
spider
,
link_idx
,
if
(
!
(
conn
=
spider_create_conn
(
share
,
spider
,
link_idx
,
base_link_idx
,
conn_kind
,
error_num
)))
base_link_idx
,
conn_kind
,
error_num
)))
...
...
storage/spider/spd_environ.h
View file @
e1a9b7ca
...
@@ -24,12 +24,12 @@
...
@@ -24,12 +24,12 @@
#define SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS
#define SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS
#endif
#endif
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100100
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100100
#define SPIDER_SUPPORT_CREATE_OR_REPLACE_TABLE
#define SPIDER_SUPPORT_CREATE_OR_REPLACE_TABLE
#define SPIDER_NET_HAS_THD
#define SPIDER_NET_HAS_THD
#endif
#endif
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100211
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100211
#define HANDLER_HAS_TOP_TABLE_FIELDS
#define HANDLER_HAS_TOP_TABLE_FIELDS
#define HANDLER_HAS_DIRECT_UPDATE_ROWS
#define HANDLER_HAS_DIRECT_UPDATE_ROWS
#define HANDLER_HAS_DIRECT_AGGREGATE
#define HANDLER_HAS_DIRECT_AGGREGATE
...
@@ -40,22 +40,22 @@
...
@@ -40,22 +40,22 @@
#define HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
#define HANDLER_HAS_CAN_USE_FOR_AUTO_INC_INIT
#endif
#endif
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100300
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100300
#define SPIDER_UPDATE_ROW_HAS_CONST_NEW_DATA
#define SPIDER_UPDATE_ROW_HAS_CONST_NEW_DATA
#endif
#endif
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100309
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100309
#define SPIDER_MDEV_16246
#define SPIDER_MDEV_16246
#endif
#endif
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100400
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100400
#define SPIDER_USE_CONST_ITEM_FOR_STRING_INT_REAL_DECIMAL_DATE_ITEM
#define SPIDER_USE_CONST_ITEM_FOR_STRING_INT_REAL_DECIMAL_DATE_ITEM
#define SPIDER_SQL_CACHE_IS_IN_LEX
#define SPIDER_SQL_CACHE_IS_IN_LEX
#define SPIDER_LIKE_FUNC_HAS_GET_NEGATED
#define SPIDER_LIKE_FUNC_HAS_GET_NEGATED
#define HA_HAS_CHECKSUM_EXTENDED
#define HA_HAS_CHECKSUM_EXTENDED
#endif
#endif
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100500
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100500
#define SPIDER_I_S_USE_SHOW_FOR_COLUMN
#define SPIDER_I_S_USE_SHOW_FOR_COLUMN
#endif
#endif
#endif
/* SPD_ENVIRON_INCLUDED */
#endif
/* SPD_ENVIRON_INCLUDED */
storage/spider/spd_include.h
View file @
e1a9b7ca
...
@@ -228,7 +228,7 @@ const char SPIDER_empty_string = "";
...
@@ -228,7 +228,7 @@ const char SPIDER_empty_string = "";
#define SPIDER_HAS_HASH_VALUE_TYPE
#define SPIDER_HAS_HASH_VALUE_TYPE
#endif
#endif
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100400
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >=
100400
#define SPIDER_date_mode_t(A) date_mode_t(A)
#define SPIDER_date_mode_t(A) date_mode_t(A)
#define SPIDER_str_to_datetime(A,B,C,D,E) str_to_datetime_or_date(A,B,C,D,E)
#define SPIDER_str_to_datetime(A,B,C,D,E) str_to_datetime_or_date(A,B,C,D,E)
#define SPIDER_get_linkage(A) A->get_linkage()
#define SPIDER_get_linkage(A) A->get_linkage()
...
...
storage/spider/spd_table.h
View file @
e1a9b7ca
...
@@ -738,8 +738,8 @@ Field *spider_field_exchange(
...
@@ -738,8 +738,8 @@ Field *spider_field_exchange(
#endif
#endif
int
spider_set_direct_limit_offset
(
int
spider_set_direct_limit_offset
(
ha_spider
*
spider
ha_spider
*
spider
);
);
bool
spider_check_index_merge
(
bool
spider_check_index_merge
(
TABLE
*
table
,
TABLE
*
table
,
...
...
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