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
89ce78f2
Commit
89ce78f2
authored
Apr 06, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed reading of free'd memory when opening a table with non-existing plugin
sql/table.cc: fixed reading of free'd memory
parent
260bc302
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sql/table.cc
sql/table.cc
+3
-3
No files found.
sql/table.cc
View file @
89ce78f2
...
...
@@ -26,8 +26,8 @@
void
open_table_error
(
TABLE_SHARE
*
share
,
int
error
,
int
db_errno
,
myf
errortype
,
int
errarg
);
static
int
open_binary_frm
(
THD
*
thd
,
TABLE_SHARE
*
share
,
uchar
*
head
,
File
file
);
static
int
open_binary_frm
(
THD
*
thd
,
TABLE_SHARE
*
share
,
uchar
*
head
,
File
file
);
static
void
fix_type_pointers
(
const
char
***
array
,
TYPELIB
*
point_to_type
,
uint
types
,
char
**
names
);
static
uint
find_field
(
Field
**
fields
,
uint
start
,
uint
length
);
...
...
@@ -717,8 +717,8 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
keyinfo
->
parser
=
plugin_lock
(
&
parser_name
,
MYSQL_FTPARSER_PLUGIN
);
if
(
!
keyinfo
->
parser
)
{
my_free
(
buff
,
MYF
(
0
));
my_error
(
ER_PLUGIN_IS_NOT_LOADED
,
MYF
(
0
),
parser_name
.
str
);
my_free
(
buff
,
MYF
(
0
));
goto
err
;
}
}
...
...
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