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
3e4697c8
Commit
3e4697c8
authored
Dec 07, 2000
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpl000001 sporadic failure mystery solved - the table was being opened twice :-)
parent
b169cd69
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
.bzrignore
.bzrignore
+15
-0
mysql-test/mysql-test-run
mysql-test/mysql-test-run
+1
-1
sql/slave.cc
sql/slave.cc
+1
-8
No files found.
.bzrignore
View file @
3e4697c8
...
...
@@ -410,3 +410,18 @@ BitKeeper/tmp/patch
BitKeeper/tmp/pid
mysql-test/var/lib/test/test3.frm
mysql-test/var/lib/test/test3.MRG
mysql-test/var/slave-data/mysql-bin.001
mysql-test/var/slave-data/mysql-bin.002
mysql-test/var/slave-data/mysql-bin.003
mysql-test/var/slave-data/mysql-bin.004
mysql-test/var/slave-data/mysql-bin.005
mysql-test/var/slave-data/mysql-bin.006
mysql-test/var/slave-data/mysql-bin.007
mysql-test/var/slave-data/mysql-bin.008
mysql-test/var/slave-data/mysql-bin.009
mysql-test/var/slave-data/mysql-bin.010
mysql-test/var/slave-data/mysql-bin.011
mysql-test/var/slave-data/mysql-bin.012
mysql-test/var/slave-data/mysql-bin.013
mysql-test/var/slave-data/mysql-bin.014
mysql-test/var/slave-data/mysql-bin.index
mysql-test/mysql-test-run
View file @
3e4697c8
...
...
@@ -347,7 +347,7 @@ start_slave()
--master-connect-retry=1
\
--master-host=127.0.0.1
\
--master-port=
$MASTER_MYPORT
\
--core-file
\
--core-file
--log-bin --log-slave-updates
\
--basedir=
$MY_BASEDIR
\
--datadir=
$SLAVE_MYDDIR
\
--pid-file=
$SLAVE_MYPID
\
...
...
sql/slave.cc
View file @
3e4697c8
...
...
@@ -861,14 +861,7 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
tables
.
db
=
thd
->
db
;
tables
.
name
=
tables
.
real_name
=
(
char
*
)
lev
->
table_name
;
tables
.
lock_type
=
TL_WRITE
;
if
(
open_tables
(
thd
,
&
tables
))
{
sql_print_error
(
"Slave: error opening table %s "
,
tables
.
name
);
delete
ev
;
return
1
;
}
// the table will be opened in mysql_load
List
<
Item
>
fields
;
lev
->
set_fields
(
fields
);
...
...
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