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
9af0f156
Commit
9af0f156
authored
Aug 24, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve default error message for optimize/repair table
parent
dce31760
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
sql/sql_table.cc
sql/sql_table.cc
+10
-5
No files found.
sql/sql_table.cc
View file @
9af0f156
...
@@ -2388,12 +2388,17 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
...
@@ -2388,12 +2388,17 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
}
}
default:
// Probably HA_ADMIN_INTERNAL_ERROR
default:
// Probably HA_ADMIN_INTERNAL_ERROR
{
char
buf
[
ERRMSGSIZE
+
20
];
uint
length
=
my_snprintf
(
buf
,
ERRMSGSIZE
,
"Unknown - internal error %d during operation"
,
result_code
);
protocol
->
store
(
"error"
,
5
,
system_charset_info
);
protocol
->
store
(
"error"
,
5
,
system_charset_info
);
protocol
->
store
(
"Unknown - internal error during operation"
,
41
protocol
->
store
(
buf
,
length
,
system_charset_info
);
,
system_charset_info
);
fatal_error
=
1
;
fatal_error
=
1
;
break
;
break
;
}
}
}
if
(
fatal_error
)
if
(
fatal_error
)
table
->
table
->
s
->
version
=
0
;
// Force close of table
table
->
table
->
s
->
version
=
0
;
// Force close of table
else
if
(
open_for_modify
)
else
if
(
open_for_modify
)
...
...
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