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
d5cd5ea4
Commit
d5cd5ea4
authored
Feb 18, 2003
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prevented crash on deleting non-constructed analyse object
parent
d7316689
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
sql/sql_analyse.h
sql/sql_analyse.h
+6
-5
No files found.
sql/sql_analyse.h
View file @
d5cd5ea4
...
...
@@ -288,11 +288,12 @@ protected:
public:
uint
max_tree_elements
,
max_treemem
;
analyse
(
select_result
*
res
)
:
Procedure
(
res
,
PROC_NO_SORT
),
rows
(
0
),
output_str_length
(
0
)
{}
analyse
(
select_result
*
res
)
:
Procedure
(
res
,
PROC_NO_SORT
),
f_info
(
0
),
rows
(
0
),
output_str_length
(
0
)
{}
~
analyse
()
{
if
(
f_info
)
for
(
field_info
**
f
=
f_info
;
f
!=
f_end
;
f
++
)
delete
(
*
f
);
}
...
...
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