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
3427fd03
Commit
3427fd03
authored
May 06, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
making perfschema easier to merge: remove unnecessary changes
parent
4a84ee1c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
98 deletions
+54
-98
storage/perfschema/ha_perfschema.cc
storage/perfschema/ha_perfschema.cc
+5
-0
storage/perfschema/ha_perfschema.h
storage/perfschema/ha_perfschema.h
+4
-2
storage/perfschema/pfs_instr.cc
storage/perfschema/pfs_instr.cc
+45
-96
No files found.
storage/perfschema/ha_perfschema.cc
View file @
3427fd03
...
@@ -392,6 +392,11 @@ int ha_perfschema::delete_all_rows(void)
...
@@ -392,6 +392,11 @@ int ha_perfschema::delete_all_rows(void)
DBUG_RETURN
(
result
);
DBUG_RETURN
(
result
);
}
}
int
ha_perfschema
::
truncate
()
{
return
delete_all_rows
();
}
THR_LOCK_DATA
**
ha_perfschema
::
store_lock
(
THD
*
thd
,
THR_LOCK_DATA
**
ha_perfschema
::
store_lock
(
THD
*
thd
,
THR_LOCK_DATA
**
to
,
THR_LOCK_DATA
**
to
,
enum
thr_lock_type
lock_type
)
enum
thr_lock_type
lock_type
)
...
...
storage/perfschema/ha_perfschema.h
View file @
3427fd03
...
@@ -69,8 +69,8 @@ public:
...
@@ -69,8 +69,8 @@ public:
calls ::rnd_pos(), so it is guaranteed to return only thread <n>
calls ::rnd_pos(), so it is guaranteed to return only thread <n>
records.
records.
*/
*/
return
(
HA_NO_TRANSACTIONS
|
HA_REC_NOT_IN_SEQ
|
HA_NO_AUTO_INCREMENT
|
return
HA_NO_TRANSACTIONS
|
HA_REC_NOT_IN_SEQ
|
HA_NO_AUTO_INCREMENT
|
HA_PRIMARY_KEY_REQUIRED_FOR_DELETE
)
;
HA_PRIMARY_KEY_REQUIRED_FOR_DELETE
;
}
}
/**
/**
...
@@ -170,6 +170,8 @@ public:
...
@@ -170,6 +170,8 @@ public:
int
delete_all_rows
(
void
);
int
delete_all_rows
(
void
);
int
truncate
();
int
delete_table
(
const
char
*
from
);
int
delete_table
(
const
char
*
from
);
int
rename_table
(
const
char
*
from
,
const
char
*
to
);
int
rename_table
(
const
char
*
from
,
const
char
*
to
);
...
...
storage/perfschema/pfs_instr.cc
View file @
3427fd03
This diff is collapsed.
Click to expand it.
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