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
a3e01418
Commit
a3e01418
authored
Jan 02, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use C++ style (//) comments in C source (breaks compilation on aix52).
parent
306bf0bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
client/mysqlslap.c
client/mysqlslap.c
+4
-4
No files found.
client/mysqlslap.c
View file @
a3e01418
...
...
@@ -278,7 +278,7 @@ int main(int argc, char **argv)
}
}
/
/ Main interations loop
/
* Main interations loop */
for
(
eptr
=
engine_statements
;
eptr
;
eptr
=
eptr
->
next
)
{
if
(
!
opt_silent
)
...
...
@@ -1287,7 +1287,7 @@ parse_delimiter(const char *script, statement **stmt, char delm)
statement
**
sptr
=
stmt
;
statement
*
tmp
;
uint
length
=
strlen
(
script
);
uint
count
=
0
;
/
/ We know that there is always one
uint
count
=
0
;
/
* We know that there is always one */
DBUG_PRINT
(
"info"
,
(
"Parsing %s
\n
"
,
script
));
...
...
@@ -1322,7 +1322,7 @@ parse_delimiter(const char *script, statement **stmt, char delm)
uint
parse_comma
(
const
char
*
string
,
uint
**
range
)
{
uint
count
=
1
,
x
;
/
/ We know that there is always one
uint
count
=
1
,
x
;
/
* We know that there is always one */
char
*
retstr
;
char
*
ptr
=
(
char
*
)
string
;
uint
*
nptr
;
...
...
@@ -1330,7 +1330,7 @@ parse_comma(const char *string, uint **range)
for
(;
*
ptr
;
ptr
++
)
if
(
*
ptr
==
','
)
count
++
;
/
/ One extra spot for the NULL
/
* One extra spot for the NULL */
nptr
=
*
range
=
(
uint
*
)
my_malloc
(
sizeof
(
uint
)
*
(
count
+
1
),
MYF
(
MY_ZEROFILL
));
ptr
=
(
char
*
)
string
;
...
...
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