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
04471ba7
Commit
04471ba7
authored
Aug 24, 2013
by
Kentoku SHIBA
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add flugs function parameter to start_bulk_insert
parent
0a286927
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
storage/spider/ha_spider.cc
storage/spider/ha_spider.cc
+9
-1
storage/spider/ha_spider.h
storage/spider/ha_spider.h
+11
-0
No files found.
storage/spider/ha_spider.cc
View file @
04471ba7
...
...
@@ -8634,9 +8634,17 @@ void ha_spider::release_auto_increment()
DBUG_VOID_RETURN
;
}
#ifdef SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS
void
ha_spider
::
start_bulk_insert
(
ha_rows
rows
,
uint
flags
)
#else
void
ha_spider
::
start_bulk_insert
(
ha_rows
rows
)
{
)
#endif
{
DBUG_ENTER
(
"ha_spider::start_bulk_insert"
);
DBUG_PRINT
(
"info"
,(
"spider this=%p"
,
this
));
bulk_insert
=
TRUE
;
...
...
storage/spider/ha_spider.h
View file @
04471ba7
...
...
@@ -17,6 +17,10 @@
#pragma interface
#endif
#if (defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 100000)
#define SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS
#endif
#define SPIDER_CONNECT_INFO_MAX_LEN 64
#define SPIDER_CONNECT_INFO_PATH_MAX_LEN FN_REFLEN
#define SPIDER_LONGLONG_LEN 20
...
...
@@ -513,9 +517,16 @@ public:
ulonglong
value
);
void
release_auto_increment
();
#ifdef SPIDER_HANDLER_START_BULK_INSERT_HAS_FLAGS
void
start_bulk_insert
(
ha_rows
rows
,
uint
flags
);
#else
void
start_bulk_insert
(
ha_rows
rows
);
#endif
int
end_bulk_insert
();
int
write_row
(
uchar
*
buf
...
...
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