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
419e4dd4
Commit
419e4dd4
authored
Aug 07, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add printouts in test case for bug17667
parent
c44118bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tests/mysql_client_test.c
tests/mysql_client_test.c
+4
-0
No files found.
tests/mysql_client_test.c
View file @
419e4dd4
...
...
@@ -14937,6 +14937,7 @@ static void test_bug17667()
master_log_filename
=
(
char
*
)
malloc
(
strlen
(
opt_vardir
)
+
strlen
(
"/log/master.log"
)
+
1
);
strcpy
(
master_log_filename
,
opt_vardir
);
strcat
(
master_log_filename
,
"/log/master.log"
);
printf
(
"Opening '%s'
\n
"
,
master_log_filename
);
log_file
=
fopen
(
master_log_filename
,
"r"
);
free
(
master_log_filename
);
...
...
@@ -14956,6 +14957,9 @@ static void test_bug17667()
}
while
(
my_memmem
(
line_buffer
,
MAX_TEST_QUERY_LENGTH
*
2
,
statement_cursor
->
buffer
,
statement_cursor
->
length
)
==
NULL
);
printf
(
"Found statement starting with
\"
%s
\"\n
"
,
statement_cursor
->
buffer
);
}
printf
(
"success. All queries found intact in the log.
\n
"
);
...
...
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