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
66f962d8
Commit
66f962d8
authored
Dec 25, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/my/mysql-5.1 client/mysqlslap.c: Auto merged
parents
4348dc67
c493d102
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 @
66f962d8
...
@@ -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 @
66f962d8
...
@@ -1023,7 +1023,7 @@ run_scheduler(statement *stmts,
...
@@ -1023,7 +1023,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
"
,
...
@@ -1071,7 +1071,7 @@ run_task(statement *qstmt)
...
@@ -1071,7 +1071,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
);
...
@@ -1156,9 +1156,10 @@ load_data(statement *load_stmt)
...
@@ -1156,9 +1156,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