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
eeb7f512
Commit
eeb7f512
authored
Mar 09, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lp:731089 Crash in Field_time_hires::pack_length on CREATE TABLE TIME(3)
add missing size_of() methods to new Field* classes
parent
743b6f86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
sql/field.h
sql/field.h
+3
-0
No files found.
sql/field.h
View file @
eeb7f512
...
...
@@ -1255,6 +1255,7 @@ public:
const
uchar
*
unpack
(
uchar
*
to
,
const
uchar
*
from
,
uint
param_data
,
bool
low_byte_first
)
{
return
Field
::
unpack
(
to
,
from
,
param_data
,
low_byte_first
);
}
uint
size_of
()
const
{
return
sizeof
(
*
this
);
}
};
...
...
@@ -1419,6 +1420,7 @@ public:
uint32
pack_length
()
const
;
void
sql_type
(
String
&
str
)
const
;
void
make_field
(
Send_field
*
);
uint
size_of
()
const
{
return
sizeof
(
*
this
);
}
};
class
Field_datetime
:
public
Field_temporal
{
...
...
@@ -1494,6 +1496,7 @@ public:
const
uchar
*
unpack
(
uchar
*
to
,
const
uchar
*
from
,
uint
param_data
,
bool
low_byte_first
)
{
return
Field
::
unpack
(
to
,
from
,
param_data
,
low_byte_first
);
}
uint
size_of
()
const
{
return
sizeof
(
*
this
);
}
};
static
inline
Field_timestamp
*
...
...
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