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
6fd1e822
Commit
6fd1e822
authored
Jun 29, 2005
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler errors (i.e. changed C++-isms into C)
parent
3df73db1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
client/mysqldump.c
client/mysqldump.c
+1
-1
client/mysqltest.c
client/mysqltest.c
+2
-2
No files found.
client/mysqldump.c
View file @
6fd1e822
...
...
@@ -2398,6 +2398,7 @@ static int dump_selected_tables(char *db, char **table_names, int tables)
char
new_table_name
[
NAME_LEN
];
DYNAMIC_STRING
lock_tables_query
;
HASH
dump_tables
;
char
*
table_name
;
DBUG_ENTER
(
"dump_selected_tables"
);
...
...
@@ -2457,7 +2458,6 @@ static int dump_selected_tables(char *db, char **table_names, int tables)
print_xml_tag1
(
md_result_file
,
""
,
"database name="
,
db
,
"
\n
"
);
/* Dump each selected table */
const
char
*
table_name
;
for
(
i
=
0
;
i
<
dump_tables
.
records
;
i
++
)
{
table_name
=
hash_element
(
&
dump_tables
,
i
);
...
...
client/mysqltest.c
View file @
6fd1e822
...
...
@@ -994,10 +994,10 @@ static void do_exec(struct st_query* q)
die
(
"At line %u: command
\"
%s
\"
failed"
,
start_lineno
,
cmd
);
else
{
DBUG_PRINT
(
"info"
,
(
"error: %d, status: %d"
,
error
,
status
));
bool
ok
=
0
;
uint
i
;
DBUG_PRINT
(
"info"
,
(
"error: %d, status: %d"
,
error
,
status
));
for
(
i
=
0
;
(
uint
)
i
<
q
->
expected_errors
;
i
++
)
{
DBUG_PRINT
(
"info"
,
(
"expected error: %d"
,
q
->
expected_errno
[
i
].
code
.
errnum
));
...
...
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