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
5063cbb9
Commit
5063cbb9
authored
May 10, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing VC++ compiler warnings
parent
4ea5cf8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
libmysqld/emb_qcache.cc
libmysqld/emb_qcache.cc
+3
-3
No files found.
libmysqld/emb_qcache.cc
View file @
5063cbb9
...
@@ -295,7 +295,7 @@ uint emb_count_querycache_size(THD *thd)
...
@@ -295,7 +295,7 @@ uint emb_count_querycache_size(THD *thd)
cur_row
=
thd
->
data
->
data
;
cur_row
=
thd
->
data
->
data
;
n_rows
=
thd
->
data
->
rows
;
n_rows
=
thd
->
data
->
rows
;
}
}
result
=
4
+
8
+
(
42
+
4
*
n_rows
)
*
mysql
->
field_count
;
result
=
(
uint
)
(
4
+
8
+
(
42
+
4
*
n_rows
)
*
mysql
->
field_count
)
;
for
(;
field
<
field_end
;
field
++
)
for
(;
field
<
field_end
;
field
++
)
{
{
...
@@ -414,8 +414,8 @@ int emb_load_querycache_result(THD *thd, Querycache_stream *src)
...
@@ -414,8 +414,8 @@ int emb_load_querycache_result(THD *thd, Querycache_stream *src)
goto
err
;
goto
err
;
thd
->
data
=
data
;
thd
->
data
=
data
;
init_alloc_root
(
&
data
->
alloc
,
8192
,
0
);
init_alloc_root
(
&
data
->
alloc
,
8192
,
0
);
row
=
(
MYSQL_ROWS
*
)
alloc_root
(
&
data
->
alloc
,
rows
*
sizeof
(
MYSQL_ROWS
)
+
row
=
(
MYSQL_ROWS
*
)
alloc_root
(
&
data
->
alloc
,
(
uint
)
(
rows
*
sizeof
(
MYSQL_ROWS
)
+
rows
*
(
mysql
->
field_count
+
1
)
*
sizeof
(
char
*
));
rows
*
(
mysql
->
field_count
+
1
)
*
sizeof
(
char
*
))
)
;
end_row
=
row
+
rows
;
end_row
=
row
+
rows
;
columns
=
(
MYSQL_ROW
)
end_row
;
columns
=
(
MYSQL_ROW
)
end_row
;
...
...
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