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
d7f4d323
Commit
d7f4d323
authored
Feb 20, 2006
by
pappa@c-9a08e253.1238-1-64736c10.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL 2826: Error handling of ALTER TABLE for partitioning
Merged error injects with dbug push
parent
dd17f486
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
sql/mysql_priv.h
sql/mysql_priv.h
+6
-3
No files found.
sql/mysql_priv.h
View file @
d7f4d323
...
...
@@ -625,9 +625,12 @@ struct Query_cache_query_flags
inline
bool
my_error_inject_name
(
const
char
*
dbug_str
)
{
if
(
_db_on_
&&
_db_strict_keyword_
(
dbug_str
))
const
char
*
extra_str
=
"-d,"
;
char
total_str
[
200
];
if
(
_db_strict_keyword_
(
dbug_str
))
{
DBUG_DEL_KEYWORD
(
dbug_str
);
strxmov
(
total_str
,
extra_str
,
dbug_str
,
NullS
);
DBUG_SET
(
total_str
);
return
1
;
}
return
0
;
...
...
@@ -647,7 +650,7 @@ my_error_inject(int value)
}
#define ERROR_INJECT_CRASH(code) \
DBUG_E
XECUTE_COND(code, abort()
)
DBUG_E
VALUATE_IF(code, (abort(), 0), 0
)
#define ERROR_INJECT_ACTION(code, action) \
(my_error_inject_name(code) ? ((action), 0) : 0)
#define ERROR_INJECT(code) \
...
...
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