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
5f2ddcf5
Commit
5f2ddcf5
authored
Jun 22, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Remove compilation warnings and errors on SGI IRIX.
parent
eb42421e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
innobase/row/row0ins.c
innobase/row/row0ins.c
+4
-8
No files found.
innobase/row/row0ins.c
View file @
5f2ddcf5
...
...
@@ -533,9 +533,11 @@ row_ins_cascade_calc_update_vec(
ufield
->
new_val
.
data
=
mem_heap_alloc
(
heap
,
min_size
);
pad_start
=
ufield
->
new_val
.
data
pad_start
=
((
char
*
)
ufield
->
new_val
.
data
)
+
ufield
->
new_val
.
len
;
pad_end
=
ufield
->
new_val
.
data
pad_end
=
((
char
*
)
ufield
->
new_val
.
data
)
+
min_size
;
ufield
->
new_val
.
len
=
min_size
;
ut_memcpy
(
ufield
->
new_val
.
data
,
...
...
@@ -1578,7 +1580,6 @@ row_ins_scan_sec_index_for_duplicate(
ulint
err
=
DB_SUCCESS
;
ibool
moved
;
mtr_t
mtr
;
trx_t
*
trx
;
mem_heap_t
*
heap
=
NULL
;
ulint
offsets_
[
REC_OFFS_NORMAL_SIZE
];
ulint
*
offsets
=
offsets_
;
...
...
@@ -1618,11 +1619,6 @@ row_ins_scan_sec_index_for_duplicate(
goto
next_rec
;
}
/* Try to place a lock on the index record */
trx
=
thr_get_trx
(
thr
);
ut_ad
(
trx
);
offsets
=
rec_get_offsets
(
rec
,
index
,
offsets
,
ULINT_UNDEFINED
,
&
heap
);
...
...
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