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
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
Hide 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,13 +288,14 @@ class analyse: public Procedure
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
()
{
for
(
field_info
**
f
=
f_info
;
f
!=
f_end
;
f
++
)
delete
(
*
f
);
{
if
(
f_info
)
for
(
field_info
**
f
=
f_info
;
f
!=
f_end
;
f
++
)
delete
(
*
f
);
}
virtual
void
add
()
{}
virtual
bool
change_columns
(
List
<
Item
>
&
fields
);
...
...
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