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
a7f0dca4
Commit
a7f0dca4
authored
Mar 11, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new
parents
786ca5b7
1ff3d3c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
sql/ha_innodb.cc
sql/ha_innodb.cc
+2
-2
storage/innobase/dict/dict0dict.c
storage/innobase/dict/dict0dict.c
+12
-0
storage/innobase/include/dict0dict.h
storage/innobase/include/dict0dict.h
+8
-0
No files found.
sql/ha_innodb.cc
View file @
a7f0dca4
...
@@ -2312,7 +2312,7 @@ ha_innobase::get_row_type() const
...
@@ -2312,7 +2312,7 @@ ha_innobase::get_row_type() const
row_prebuilt_t
*
prebuilt
=
(
row_prebuilt_t
*
)
innobase_prebuilt
;
row_prebuilt_t
*
prebuilt
=
(
row_prebuilt_t
*
)
innobase_prebuilt
;
if
(
prebuilt
&&
prebuilt
->
table
)
{
if
(
prebuilt
&&
prebuilt
->
table
)
{
if
(
dict_table_is_comp
(
prebuilt
->
table
))
{
if
(
innodb_
dict_table_is_comp
(
prebuilt
->
table
))
{
return
(
ROW_TYPE_COMPACT
);
return
(
ROW_TYPE_COMPACT
);
}
else
{
}
else
{
return
(
ROW_TYPE_REDUNDANT
);
return
(
ROW_TYPE_REDUNDANT
);
...
@@ -3705,7 +3705,7 @@ calc_row_difference(
...
@@ -3705,7 +3705,7 @@ calc_row_difference(
TRUE
,
TRUE
,
new_mysql_row_col
,
new_mysql_row_col
,
col_pack_len
,
col_pack_len
,
dict_table_is_comp
(
prebuilt
->
table
));
innodb_
dict_table_is_comp
(
prebuilt
->
table
));
ufield
->
new_val
.
data
=
dfield
.
data
;
ufield
->
new_val
.
data
=
dfield
.
data
;
ufield
->
new_val
.
len
=
dfield
.
len
;
ufield
->
new_val
.
len
=
dfield
.
len
;
}
else
{
}
else
{
...
...
storage/innobase/dict/dict0dict.c
View file @
a7f0dca4
...
@@ -4520,3 +4520,15 @@ dict_index_name_print(
...
@@ -4520,3 +4520,15 @@ dict_index_name_print(
fputs
(
" of table "
,
file
);
fputs
(
" of table "
,
file
);
ut_print_name
(
file
,
trx
,
index
->
table_name
);
ut_print_name
(
file
,
trx
,
index
->
table_name
);
}
}
/************************************************************************
Export an inlined function for use in ha_innodb.c. */
ibool
innodb_dict_table_is_comp
(
/*===============*/
/* out: TRUE if table uses the
compact page format */
const
dict_table_t
*
table
)
/* in: table */
{
return
dict_table_is_comp
(
table
);
}
storage/innobase/include/dict0dict.h
View file @
a7f0dca4
...
@@ -496,6 +496,14 @@ dict_table_is_comp(
...
@@ -496,6 +496,14 @@ dict_table_is_comp(
compact page format */
compact page format */
const
dict_table_t
*
table
);
/* in: table */
const
dict_table_t
*
table
);
/* in: table */
/************************************************************************
/************************************************************************
Non inlined version of 'dict_table_is_comp' above. */
ibool
innodb_dict_table_is_comp
(
/*===============*/
/* out: TRUE if table uses the
compact page format */
const
dict_table_t
*
table
);
/* in: table */
/************************************************************************
Checks if a column is in the ordering columns of the clustered index of a
Checks if a column is in the ordering columns of the clustered index of a
table. Column prefixes are treated like whole columns. */
table. Column prefixes are treated like whole columns. */
...
...
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