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
7715f237
Commit
7715f237
authored
May 10, 2010
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation errors for builds w/o maria engine.
tests still fail, the fix will come from 5.1 tree
parent
cb325eb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
sql/sql_select.cc
sql/sql_select.cc
+12
-15
No files found.
sql/sql_select.cc
View file @
7715f237
...
@@ -122,14 +122,9 @@ static COND *optimize_cond(JOIN *join, COND *conds,
...
@@ -122,14 +122,9 @@ static COND *optimize_cond(JOIN *join, COND *conds,
List
<
TABLE_LIST
>
*
join_list
,
List
<
TABLE_LIST
>
*
join_list
,
Item
::
cond_result
*
cond_value
);
Item
::
cond_result
*
cond_value
);
static
bool
const_expression_in_where
(
COND
*
conds
,
Item
*
item
,
Item
**
comp_item
);
static
bool
const_expression_in_where
(
COND
*
conds
,
Item
*
item
,
Item
**
comp_item
);
static
bool
static
bool
create_internal_tmp_table_from_heap2
(
THD
*
,
TABLE
*
,
create_internal_tmp_table_from_heap2
(
THD
*
thd
,
TABLE
*
table
,
ENGINE_COLUMNDEF
*
,
ENGINE_COLUMNDEF
**
,
ENGINE_COLUMNDEF
*
start_recinfo
,
int
,
bool
,
handlerton
*
,
const
char
*
);
ENGINE_COLUMNDEF
**
recinfo
,
int
error
,
bool
ignore_last_dupp_key_error
,
handlerton
*
hton
,
const
char
*
proc_info
);
static
int
do_select
(
JOIN
*
join
,
List
<
Item
>
*
fields
,
TABLE
*
tmp_table
,
static
int
do_select
(
JOIN
*
join
,
List
<
Item
>
*
fields
,
TABLE
*
tmp_table
,
Procedure
*
proc
);
Procedure
*
proc
);
...
@@ -11916,10 +11911,10 @@ bool create_internal_tmp_table_from_heap(THD *thd, TABLE *table,
...
@@ -11916,10 +11911,10 @@ bool create_internal_tmp_table_from_heap(THD *thd, TABLE *table,
/* Create internal MyISAM temporary table */
/* Create internal MyISAM temporary table */
static
bool
create_internal_tmp_table
(
TABLE
*
table
,
KEY
*
keyinfo
,
bool
create_internal_tmp_table
(
TABLE
*
table
,
KEY
*
keyinfo
,
ENGINE_COLUMNDEF
*
start_recinfo
,
ENGINE_COLUMNDEF
*
start_recinfo
,
ENGINE_COLUMNDEF
**
recinfo
,
ENGINE_COLUMNDEF
**
recinfo
,
ulonglong
options
)
ulonglong
options
)
{
{
int
error
;
int
error
;
MI_KEYDEF
keydef
;
MI_KEYDEF
keydef
;
...
@@ -11950,7 +11945,7 @@ static bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
...
@@ -11950,7 +11945,7 @@ static bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
uniquedef
.
null_are_equal
=
1
;
uniquedef
.
null_are_equal
=
1
;
/* Create extra column for hash value */
/* Create extra column for hash value */
bzero
((
uchar
*
)
param
->
recinfo
,
sizeof
(
*
param
->
recinfo
));
bzero
((
uchar
*
)
*
recinfo
,
sizeof
(
**
recinfo
));
(
*
recinfo
)
->
type
=
FIELD_CHECK
;
(
*
recinfo
)
->
type
=
FIELD_CHECK
;
(
*
recinfo
)
->
length
=
MI_UNIQUE_HASH_LENGTH
;
(
*
recinfo
)
->
length
=
MI_UNIQUE_HASH_LENGTH
;
(
*
recinfo
)
++
;
(
*
recinfo
)
++
;
...
@@ -12033,11 +12028,13 @@ static bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
...
@@ -12033,11 +12028,13 @@ static bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
*/
*/
bool
create_internal_tmp_table_from_heap
(
THD
*
thd
,
TABLE
*
table
,
bool
create_internal_tmp_table_from_heap
(
THD
*
thd
,
TABLE
*
table
,
TMP_TABLE_PARAM
*
param
,
ENGINE_COLUMNDEF
*
start_recinfo
,
ENGINE_COLUMNDEF
**
recinfo
,
int
error
,
int
error
,
bool
ignore_last_dupp_key_error
)
bool
ignore_last_dupp_key_error
)
{
{
return
create_internal_tmp_table_from_heap2
(
thd
,
table
,
param
,
error
,
return
create_internal_tmp_table_from_heap2
(
thd
,
table
,
start_recinfo
,
recinfo
,
error
,
ignore_last_dupp_key_error
,
ignore_last_dupp_key_error
,
myisam_hton
,
myisam_hton
,
"converting HEAP to MyISAM"
);
"converting HEAP to MyISAM"
);
...
...
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