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
5fa0982a
Commit
5fa0982a
authored
Apr 30, 2008
by
tsmith@ramayana.hindu.god
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use ulonglong to store row count in libmysld Protocol_text::remove_last_row()
(fix warnings).
parent
7f00fb60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+1
-1
No files found.
libmysqld/lib_sql.cc
View file @
5fa0982a
...
@@ -848,7 +848,7 @@ void Protocol_text::remove_last_row()
...
@@ -848,7 +848,7 @@ void Protocol_text::remove_last_row()
{
{
MYSQL_DATA
*
data
=
thd
->
cur_data
;
MYSQL_DATA
*
data
=
thd
->
cur_data
;
MYSQL_ROWS
**
last_row_hook
=
&
data
->
data
;
MYSQL_ROWS
**
last_row_hook
=
&
data
->
data
;
uint
count
=
data
->
rows
;
my_ulonglong
count
=
data
->
rows
;
DBUG_ENTER
(
"Protocol_text::remove_last_row"
);
DBUG_ENTER
(
"Protocol_text::remove_last_row"
);
while
(
--
count
)
while
(
--
count
)
last_row_hook
=
&
(
*
last_row_hook
)
->
next
;
last_row_hook
=
&
(
*
last_row_hook
)
->
next
;
...
...
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