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
ba99b6c5
Commit
ba99b6c5
authored
Dec 25, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compile errors (when compiling in debug mode)
parent
939f80be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
.bzrignore
.bzrignore
+1
-0
client/mysqlslap.c
client/mysqlslap.c
+5
-4
No files found.
.bzrignore
View file @
ba99b6c5
...
@@ -1659,3 +1659,4 @@ vio/viotest.cpp
...
@@ -1659,3 +1659,4 @@ vio/viotest.cpp
zlib/*.ds?
zlib/*.ds?
zlib/*.vcproj
zlib/*.vcproj
client/mysqlslap
client/mysqlslap
storage/archive/archive_test
client/mysqlslap.c
View file @
ba99b6c5
...
@@ -953,7 +953,7 @@ run_scheduler(statement *stmts,
...
@@ -953,7 +953,7 @@ run_scheduler(statement *stmts,
case
0
:
case
0
:
/* child */
/* child */
DBUG_PRINT
(
"info"
,
(
"fork returned 0, calling task(
\"
%s
\"
), pid %d gid %d"
,
DBUG_PRINT
(
"info"
,
(
"fork returned 0, calling task(
\"
%s
\"
), pid %d gid %d"
,
s
cript
,
pid
,
getgid
()));
s
tmts
->
string
,
pid
,
getgid
()));
if
(
verbose
>=
2
)
if
(
verbose
>=
2
)
fprintf
(
stderr
,
fprintf
(
stderr
,
"%s: fork returned 0, calling task pid %d gid %d
\n
"
,
"%s: fork returned 0, calling task pid %d gid %d
\n
"
,
...
@@ -1001,7 +1001,7 @@ run_task(statement *qstmt)
...
@@ -1001,7 +1001,7 @@ run_task(statement *qstmt)
MYSQL_ROW
row
;
MYSQL_ROW
row
;
DBUG_ENTER
(
"run_task"
);
DBUG_ENTER
(
"run_task"
);
DBUG_PRINT
(
"info"
,
(
"task script
\"
%s
\"
"
,
script
));
DBUG_PRINT
(
"info"
,
(
"task script
\"
%s
\"
"
,
qstmt
->
string
));
mysql_init
(
&
mysql
);
mysql_init
(
&
mysql
);
...
@@ -1086,9 +1086,10 @@ load_data(statement *load_stmt)
...
@@ -1086,9 +1086,10 @@ load_data(statement *load_stmt)
{
{
if
(
mysql_real_query
(
&
mysql
,
ptr
->
string
,
ptr
->
length
))
if
(
mysql_real_query
(
&
mysql
,
ptr
->
string
,
ptr
->
length
))
{
{
DBUG_PRINT
(
"info"
,
(
"iteration %d with INSERT statement %s"
,
script
));
DBUG_PRINT
(
"info"
,
(
"iteration %d with INSERT statement %s"
,
ptr
->
string
));
fprintf
(
stderr
,
"%s: Cannot insert into table using sql: %.*s ERROR: %s
\n
"
,
fprintf
(
stderr
,
"%s: Cannot insert into table using sql: %.*s ERROR: %s
\n
"
,
my_progname
,
(
uint
)
ptr
->
length
,
ptr
->
string
,
mysql_error
(
&
mysql
));
my_progname
,
(
uint
)
ptr
->
length
,
ptr
->
string
,
mysql_error
(
&
mysql
));
exit
(
1
);
exit
(
1
);
}
}
}
}
...
...
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