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
0c92e904
Commit
0c92e904
authored
Mar 12, 2004
by
miguel@hegel.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cast for VC++ compiler errors
parent
9c3f2158
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/log_event.cc
sql/log_event.cc
+1
-1
sql/opt_range.cc
sql/opt_range.cc
+2
-2
No files found.
sql/log_event.cc
View file @
0c92e904
...
...
@@ -2638,7 +2638,7 @@ Create_file_log_event::Create_file_log_event(const char* buf, int len,
We must make copy of 'buf' as this event may have to live over a
rotate log entry when used in mysqlbinlog
*/
if
(
!
(
event_buf
=
my_memdup
(
buf
,
len
,
MYF
(
MY_WME
)))
||
if
(
!
(
event_buf
=
my_memdup
(
(
byte
*
)
buf
,
len
,
MYF
(
MY_WME
)))
||
(
copy_log_event
(
event_buf
,
len
,
old_format
)))
DBUG_VOID_RETURN
;
...
...
sql/opt_range.cc
View file @
0c92e904
...
...
@@ -2560,8 +2560,8 @@ QUICK_SELECT *get_quick_select_for_ref(THD *thd, TABLE *table, TABLE_REF *ref)
QUICK_RANGE
*
null_range
;
*
ref
->
null_ref_key
=
1
;
// Set null byte then create a range
if
(
!
(
null_range
=
new
QUICK_RANGE
(
ref
->
key_buff
,
ref
->
key_length
,
ref
->
key_buff
,
ref
->
key_length
,
if
(
!
(
null_range
=
new
QUICK_RANGE
(
(
char
*
)
ref
->
key_buff
,
ref
->
key_length
,
(
char
*
)
ref
->
key_buff
,
ref
->
key_length
,
EQ_RANGE
)))
goto
err
;
*
ref
->
null_ref_key
=
0
;
// Clear null byte
...
...
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