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
a17ad22a
Commit
a17ad22a
authored
Jun 10, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql
parents
47c4352b
9b4ac8b1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
2 deletions
+28
-2
mysql-test/r/rpl_alter.result
mysql-test/r/rpl_alter.result
+4
-0
mysql-test/t/rpl_alter.test
mysql-test/t/rpl_alter.test
+21
-0
scripts/mysql_install_db.sh
scripts/mysql_install_db.sh
+2
-2
sql/sql_base.cc
sql/sql_base.cc
+1
-0
No files found.
mysql-test/r/rpl_alter.result
0 → 100644
View file @
a17ad22a
n m
1 2
n
45
mysql-test/t/rpl_alter.test
0 → 100644
View file @
a17ad22a
source
include
/
master
-
slave
.
inc
;
connection
master
;
use
test
;
drop
database
if
exists
d1
;
create
database
d1
;
create
table
d1
.
t1
(
n
int
);
alter
table
d1
.
t1
add
m
int
;
insert
into
d1
.
t1
values
(
1
,
2
);
create
table
d1
.
t2
(
n
int
);
insert
into
d1
.
t2
values
(
45
);
rename
table
d1
.
t2
to
d1
.
t3
,
d1
.
t1
to
d1
.
t2
;
save_master_pos
;
connection
slave
;
sync_with_master
;
select
*
from
d1
.
t2
;
select
*
from
d1
.
t3
;
connection
master
;
drop
database
d1
;
save_master_pos
;
connection
slave
;
sync_with_master
;
scripts/mysql_install_db.sh
View file @
a17ad22a
...
@@ -317,8 +317,8 @@ then
...
@@ -317,8 +317,8 @@ then
fi
fi
echo
"PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
echo
"PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !"
echo
"This is done with:"
echo
"This is done with:"
echo
"
$bindir
/mysqladmin -u root
-p
password 'new-password'"
echo
"
$bindir
/mysqladmin -u root password 'new-password'"
echo
"
$bindir
/mysqladmin -u root -h
$hostname
-p
password 'new-password'"
echo
"
$bindir
/mysqladmin -u root -h
$hostname
password 'new-password'"
echo
"See the manual for more instructions."
echo
"See the manual for more instructions."
#
#
# Print message about upgrading unless we have created a new db table.
# Print message about upgrading unless we have created a new db table.
...
...
sql/sql_base.cc
View file @
a17ad22a
...
@@ -546,6 +546,7 @@ void close_temporary_tables(THD *thd)
...
@@ -546,6 +546,7 @@ void close_temporary_tables(THD *thd)
*--
end
=
0
;
// Remove last ','
*--
end
=
0
;
// Remove last ','
thd
->
query_length
=
(
uint
)(
end
-
query
);
thd
->
query_length
=
(
uint
)(
end
-
query
);
Query_log_event
qinfo
(
thd
,
query
);
Query_log_event
qinfo
(
thd
,
query
);
qinfo
.
error_code
=
0
;
mysql_bin_log
.
write
(
&
qinfo
);
mysql_bin_log
.
write
(
&
qinfo
);
thd
->
query_length
=
save_query_len
;
thd
->
query_length
=
save_query_len
;
}
}
...
...
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