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
92f615ae
Commit
92f615ae
authored
Aug 08, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: merge_index_field_struct: Remove the unused field col_type.
parent
f2538af4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
handler/ha_innodb.cc
handler/ha_innodb.cc
+0
-3
include/row0merge.h
include/row0merge.h
+0
-1
No files found.
handler/ha_innodb.cc
View file @
92f615ae
...
...
@@ -8053,8 +8053,6 @@ innobase_create_index_field_def(
col_type
=
get_innobase_type_from_mysql_type
(
&
is_unsigned
,
field
);
index_field
->
col_type
=
col_type
;
if
(
DATA_BLOB
==
col_type
||
(
key_part
->
length
<
field
->
pack_length
()
&&
field
->
type
()
!=
MYSQL_TYPE_VARCHAR
)
...
...
@@ -8137,7 +8135,6 @@ innobase_copy_index_field_def(
DBUG_ASSERT
(
field
!=
NULL
);
DBUG_ASSERT
(
index_field
!=
NULL
);
index_field
->
col_type
=
(
field
->
col
->
prtype
&
0xFFUL
);
index_field
->
field_name
=
mem_heap_strdup
(
heap
,
field
->
name
);
index_field
->
prefix_len
=
field
->
prefix_len
;
...
...
include/row0merge.h
View file @
92f615ae
...
...
@@ -24,7 +24,6 @@ Created 13/06/2005 Jan Lindstrom
/* This structure holds index field definitions */
struct
merge_index_field_struct
{
ulint
col_type
;
/* Column type */
ulint
prefix_len
;
/* Prefix len */
char
*
field_name
;
/* Field name */
};
...
...
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