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
c6ceb04b
Commit
c6ceb04b
authored
May 03, 2001
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs/manual.texi
fixed bug sql/sql_repl.cc undid virtual master change
parent
2bd1476a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Docs/manual.texi
Docs/manual.texi
+2
-0
sql/sql_repl.cc
sql/sql_repl.cc
+0
-3
No files found.
Docs/manual.texi
View file @
c6ceb04b
...
...
@@ -34306,6 +34306,8 @@ can be fixed by a simple repair. In this case you have to do:
ALTER TABLE table MAX_ROWS=xxx AVG_ROW_LENGTH=yyy;
@end example
@end itemize
In the other cases, you must repair your tables. @code{myisamchk}
can usually detect and fix most things that go wrong.
sql/sql_repl.cc
View file @
c6ceb04b
...
...
@@ -695,10 +695,7 @@ int change_master(THD* thd)
if
(
lex_mi
->
host
)
{
if
(
glob_mi
.
virtual_master
)
glob_mi
.
close_virtual_master
();
strmake
(
glob_mi
.
host
,
lex_mi
->
host
,
sizeof
(
glob_mi
.
host
));
glob_mi
.
virtual_master
=
(
glob_mi
.
host
[
0
]
==
FN_LIBCHAR
);
}
if
(
lex_mi
->
user
)
strmake
(
glob_mi
.
user
,
lex_mi
->
user
,
sizeof
(
glob_mi
.
user
));
...
...
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