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
411559c2
Commit
411559c2
authored
Oct 06, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge
parent
620b7baf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
libmysqld/Makefile.am
libmysqld/Makefile.am
+1
-0
sql/ha_partition.cc
sql/ha_partition.cc
+6
-2
sql/ha_partition.h
sql/ha_partition.h
+1
-1
storage/ndb/tools/ndb_size.pl
storage/ndb/tools/ndb_size.pl
+0
-0
storage/ndb/tools/ndb_size.tmpl
storage/ndb/tools/ndb_size.tmpl
+0
-0
No files found.
libmysqld/Makefile.am
View file @
411559c2
...
...
@@ -63,6 +63,7 @@ sqlsources = derror.cc field.cc field_conv.cc strfunc.cc filesort.cc \
spatial.cc gstream.cc sql_help.cc tztime.cc sql_cursor.cc
\
sp_head.cc sp_pcontext.cc sp.cc sp_cache.cc sp_rcontext.cc
\
parse_file.cc sql_view.cc sql_trigger.cc my_decimal.cc
\
rpl_filter.cc
\
ha_blackhole.cc ha_archive.cc sql_partition.cc ha_partition.cc
libmysqld_int_a_SOURCES
=
$(libmysqld_sources)
$(libmysqlsources)
$(sqlsources)
$(sqlexamplessources)
...
...
sql/ha_partition.cc
View file @
411559c2
...
...
@@ -69,6 +69,10 @@ static PARTITION_SHARE *get_share(const char *table_name, TABLE * table);
static
handlerton
partition_hton
=
{
"partition"
,
SHOW_OPTION_YES
,
""
,
/* A comment used by SHOW to describe an engine */
DB_TYPE_PARTITION_DB
,
0
,
/* Method that initizlizes a storage engine */
0
,
/* slot */
0
,
/* savepoint size */
NULL
/*ndbcluster_close_connection*/
,
...
...
@@ -1048,7 +1052,7 @@ THR_LOCK_DATA **ha_partition::store_lock(THD *thd,
}
int
ha_partition
::
start_stmt
(
THD
*
thd
)
int
ha_partition
::
start_stmt
(
THD
*
thd
,
thr_lock_type
lock_type
)
{
int
error
=
0
;
handler
**
file
;
...
...
@@ -1056,7 +1060,7 @@ int ha_partition::start_stmt(THD *thd)
file
=
m_file
;
do
{
if
((
error
=
(
*
file
)
->
start_stmt
(
thd
)))
if
((
error
=
(
*
file
)
->
start_stmt
(
thd
,
lock_type
)))
break
;
}
while
(
*
(
++
file
));
DBUG_RETURN
(
error
);
...
...
sql/ha_partition.h
View file @
411559c2
...
...
@@ -228,7 +228,7 @@ class ha_partition :public handler
When table is locked a statement is started by calling start_stmt
instead of external_lock
*/
virtual
int
start_stmt
(
THD
*
thd
);
virtual
int
start_stmt
(
THD
*
thd
,
thr_lock_type
lock_type
);
/*
Lock count is number of locked underlying handlers (I assume)
*/
...
...
ndb/tools/ndb_size.pl
→
storage/
ndb/tools/ndb_size.pl
View file @
411559c2
File moved
ndb/tools/ndb_size.tmpl
→
storage/
ndb/tools/ndb_size.tmpl
View file @
411559c2
File moved
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