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
61bb1f34
Commit
61bb1f34
authored
Jun 01, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/jimw/my/mysql-4.1-10944
into mysql.com:/home/jimw/my/mysql-4.1-clean
parents
f20c56a9
dd1168a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
sql/sql_table.cc
sql/sql_table.cc
+22
-0
No files found.
sql/sql_table.cc
View file @
61bb1f34
...
@@ -2052,6 +2052,28 @@ send_result_message:
...
@@ -2052,6 +2052,28 @@ send_result_message:
((
result_code
=
table
->
table
->
file
->
analyze
(
thd
,
check_opt
))
>
0
))
((
result_code
=
table
->
table
->
file
->
analyze
(
thd
,
check_opt
))
>
0
))
result_code
=
0
;
// analyze went ok
result_code
=
0
;
// analyze went ok
}
}
if
(
result_code
)
// either mysql_recreate_table or analyze failed
{
const
char
*
err_msg
;
if
((
err_msg
=
thd
->
net
.
last_error
))
{
if
(
!
thd
->
vio_ok
())
{
sql_print_error
(
err_msg
);
}
else
{
/* Hijack the row already in-progress. */
protocol
->
store
(
"error"
,
5
,
system_charset_info
);
protocol
->
store
(
err_msg
,
system_charset_info
);
(
void
)
protocol
->
write
();
/* Start off another row for HA_ADMIN_FAILED */
protocol
->
prepare_for_resend
();
protocol
->
store
(
table_name
,
system_charset_info
);
protocol
->
store
(
operator_name
,
system_charset_info
);
}
}
}
result_code
=
result_code
?
HA_ADMIN_FAILED
:
HA_ADMIN_OK
;
result_code
=
result_code
?
HA_ADMIN_FAILED
:
HA_ADMIN_OK
;
table
->
next
=
save_next
;
table
->
next
=
save_next
;
goto
send_result_message
;
goto
send_result_message
;
...
...
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