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
e432a7b2
Commit
e432a7b2
authored
Apr 25, 2005
by
geert@kriem.kemuri.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing useless mysql_field_seek
parent
718d3a3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
client/mysql.cc
client/mysql.cc
+1
-2
No files found.
client/mysql.cc
View file @
e432a7b2
...
...
@@ -2228,7 +2228,7 @@ print_warnings()
/* Bail out when no warnings */
my_ulonglong
num_rows
=
mysql_num_rows
(
result
);
if
(
num_rows
==
0
)
if
(
num_rows
==
0
)
{
mysql_free_result
(
result
);
return
;
...
...
@@ -2237,7 +2237,6 @@ print_warnings()
/* Print the warnings */
while
((
cur
=
mysql_fetch_row
(
result
)))
{
mysql_field_seek
(
result
,
0
);
tee_fprintf
(
PAGER
,
"%s (Code %s): %s
\n
"
,
cur
[
0
],
cur
[
1
],
cur
[
2
]);
}
mysql_free_result
(
result
);
...
...
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