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
68168c8e
Commit
68168c8e
authored
Aug 07, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the 'sleep' into an explicit FLUSH LOGS command
parent
2e4dbadf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tests/mysql_client_test.c
tests/mysql_client_test.c
+3
-1
No files found.
tests/mysql_client_test.c
View file @
68168c8e
...
@@ -14930,7 +14930,9 @@ static void test_bug17667()
...
@@ -14930,7 +14930,9 @@ static void test_bug17667()
myquery
(
rc
);
myquery
(
rc
);
}
}
sleep
(
1
);
/* The server may need time to flush the data to the log. */
/* Make sure the server has written the logs to disk before reading it */
rc
=
mysql_query
(
mysql
,
"flush logs"
);
myquery
(
rc
);
master_log_filename
=
(
char
*
)
malloc
(
strlen
(
opt_vardir
)
+
strlen
(
"/log/master.log"
)
+
1
);
master_log_filename
=
(
char
*
)
malloc
(
strlen
(
opt_vardir
)
+
strlen
(
"/log/master.log"
)
+
1
);
strcpy
(
master_log_filename
,
opt_vardir
);
strcpy
(
master_log_filename
,
opt_vardir
);
...
...
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