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
36bebcc1
Commit
36bebcc1
authored
Aug 09, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix VS8 build error
parent
fba31949
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
client/mysqltest.cc
client/mysqltest.cc
+3
-3
No files found.
client/mysqltest.cc
View file @
36bebcc1
...
@@ -487,7 +487,7 @@ void free_all_replace(){
...
@@ -487,7 +487,7 @@ void free_all_replace(){
class
LogFile
{
class
LogFile
{
FILE
*
m_file
;
FILE
*
m_file
;
char
m_file_name
[
FN_REFLEN
];
char
m_file_name
[
FN_REFLEN
];
uin
t
m_bytes_written
;
size_
t
m_bytes_written
;
public:
public:
LogFile
()
:
m_file
(
NULL
),
m_bytes_written
(
0
)
{
LogFile
()
:
m_file
(
NULL
),
m_bytes_written
(
0
)
{
bzero
(
m_file_name
,
sizeof
(
m_file_name
));
bzero
(
m_file_name
,
sizeof
(
m_file_name
));
...
@@ -498,7 +498,7 @@ class LogFile {
...
@@ -498,7 +498,7 @@ class LogFile {
}
}
const
char
*
file_name
()
const
{
return
m_file_name
;
}
const
char
*
file_name
()
const
{
return
m_file_name
;
}
uin
t
bytes_written
()
const
{
return
m_bytes_written
;
}
size_
t
bytes_written
()
const
{
return
m_bytes_written
;
}
void
open
(
const
char
*
dir
,
const
char
*
name
,
const
char
*
ext
)
void
open
(
const
char
*
dir
,
const
char
*
name
,
const
char
*
ext
)
{
{
...
@@ -5972,7 +5972,7 @@ void fix_win_paths(const char *val, int len)
...
@@ -5972,7 +5972,7 @@ void fix_win_paths(const char *val, int len)
DBUG_PRINT
(
"info"
,
(
"pattern: %s"
,
*
pattern
));
DBUG_PRINT
(
"info"
,
(
"pattern: %s"
,
*
pattern
));
/* Search for the path in string */
/* Search for the path in string */
while
((
p
=
strstr
(
val
,
*
pattern
)))
while
((
p
=
strstr
(
(
char
*
)
val
,
*
pattern
)))
{
{
DBUG_PRINT
(
"info"
,
(
"Found %s in val p: %s"
,
*
pattern
,
p
));
DBUG_PRINT
(
"info"
,
(
"Found %s in val p: %s"
,
*
pattern
,
p
));
...
...
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