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
d6aea04c
Commit
d6aea04c
authored
Feb 24, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysqldev@production.mysql.com:my/mysql-5.1-release
into mysql.com:/Users/kent/mysql/bk/mysql-5.1-release
parents
3754c4eb
760de195
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
mysql-test/r/rpl_alter_db.result
mysql-test/r/rpl_alter_db.result
+8
-0
mysql-test/t/rpl_alter_db.test
mysql-test/t/rpl_alter_db.test
+10
-0
sql/sql_parse.cc
sql/sql_parse.cc
+3
-3
No files found.
mysql-test/r/rpl_alter_db.result
0 → 100644
View file @
d6aea04c
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
use mysql;
alter database collate latin1_bin;
mysql-test/t/rpl_alter_db.test
0 → 100644
View file @
d6aea04c
source
include
/
master
-
slave
.
inc
;
connection
master
;
use
mysql
;
# to be different from initial `test' db of mysqltest client
alter
database
collate
latin1_bin
;
save_master_pos
;
connection
slave
;
sync_with_master
;
sql/sql_parse.cc
View file @
d6aea04c
...
...
@@ -3715,7 +3715,7 @@ end_with_restore_list:
}
if
(
!
strip_sp
(
db
)
||
check_db_name
(
db
))
{
my_error
(
ER_WRONG_DB_NAME
,
MYF
(
0
),
lex
->
name
);
my_error
(
ER_WRONG_DB_NAME
,
MYF
(
0
),
db
);
break
;
}
/*
...
...
@@ -3727,8 +3727,8 @@ end_with_restore_list:
*/
#ifdef HAVE_REPLICATION
if
(
thd
->
slave_thread
&&
(
!
rpl_filter
->
db_ok
(
lex
->
name
)
||
!
rpl_filter
->
db_ok_with_wild_table
(
lex
->
name
)))
(
!
rpl_filter
->
db_ok
(
db
)
||
!
rpl_filter
->
db_ok_with_wild_table
(
db
)))
{
my_message
(
ER_SLAVE_IGNORED_TABLE
,
ER
(
ER_SLAVE_IGNORED_TABLE
),
MYF
(
0
));
break
;
...
...
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