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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e19137f0
Commit
e19137f0
authored
Apr 17, 2001
by
tim@threads.polyesthetic.msg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_select.cc sizeof(**TABLE) -> sizeof(*TABLE) in malloc()
parent
37f30684
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
sql/sql_select.cc
sql/sql_select.cc
+1
-1
No files found.
BitKeeper/etc/logging_ok
View file @
e19137f0
sasha@mysql.sashanet.com
tim@threads.polyesthetic.msg
sql/sql_select.cc
View file @
e19137f0
...
...
@@ -846,7 +846,7 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds,
table_count
=
join
->
tables
;
stat
=
(
JOIN_TAB
*
)
join
->
thd
->
calloc
(
sizeof
(
JOIN_TAB
)
*
table_count
);
stat_ref
=
(
JOIN_TAB
**
)
join
->
thd
->
alloc
(
sizeof
(
JOIN_TAB
*
)
*
MAX_TABLES
);
table_vector
=
(
TABLE
**
)
join
->
thd
->
alloc
(
sizeof
(
TABLE
*
*
)
*
(
table_count
*
2
));
table_vector
=
(
TABLE
**
)
join
->
thd
->
alloc
(
sizeof
(
TABLE
*
)
*
(
table_count
*
2
));
if
(
!
stat
||
!
stat_ref
||
!
table_vector
)
DBUG_RETURN
(
1
);
// Eom /* purecov: inspected */
select
=
0
;
...
...
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