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
9037f6d9
Commit
9037f6d9
authored
Aug 06, 2007
by
igor@olga.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Post-merge fixes.
parent
676c5ef4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/field.h
sql/field.h
+2
-2
No files found.
sql/field.h
View file @
9037f6d9
...
...
@@ -1575,7 +1575,7 @@ public:
int
cmp
(
const
uchar
*
a
,
const
uchar
*
b
)
{
DBUG_ASSERT
(
ptr
==
a
);
return
Field_bit
::
key_cmp
(
(
const
byte
*
)
b
,
bytes_in_rec
+
test
(
bit_len
));
return
Field_bit
::
key_cmp
(
b
,
bytes_in_rec
+
test
(
bit_len
));
}
int
cmp_binary_offset
(
uint
row_offset
)
{
return
cmp_offset
(
row_offset
);
}
...
...
@@ -1587,7 +1587,7 @@ public:
void
get_image
(
uchar
*
buff
,
uint
length
,
CHARSET_INFO
*
cs
)
{
get_key_image
(
buff
,
length
,
itRAW
);
}
void
set_image
(
const
uchar
*
buff
,
uint
length
,
CHARSET_INFO
*
cs
)
{
Field_bit
::
store
(
buff
,
length
,
cs
);
}
{
Field_bit
::
store
(
(
char
*
)
buff
,
length
,
cs
);
}
uint
get_key_image
(
uchar
*
buff
,
uint
length
,
imagetype
type
);
void
set_key_image
(
const
uchar
*
buff
,
uint
length
)
{
Field_bit
::
store
((
char
*
)
buff
,
length
,
&
my_charset_bin
);
}
...
...
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