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
d9a49df1
Commit
d9a49df1
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
5f98efca
86afad0f
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 @
d9a49df1
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 @
d9a49df1
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 @
d9a49df1
...
...
@@ -3715,7 +3715,7 @@ mysql_execute_command(THD *thd)
}
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 @@ mysql_execute_command(THD *thd)
*/
#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