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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
57f32cf8
Commit
57f32cf8
authored
Jul 29, 2002
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
721928ca
7c9658ec
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
sql/sql_olap.cc
sql/sql_olap.cc
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+5
-2
No files found.
sql/sql_olap.cc
View file @
57f32cf8
...
@@ -46,7 +46,7 @@ static int make_new_olap_select(LEX *lex, SELECT_LEX *select_lex, List<Item> new
...
@@ -46,7 +46,7 @@ static int make_new_olap_select(LEX *lex, SELECT_LEX *select_lex, List<Item> new
{
{
THD
*
thd
=
current_thd
;
THD
*
thd
=
current_thd
;
Item
*
item
,
*
new_item
;
Item
*
item
,
*
new_item
;
Item_
string
*
constant
=
new
Item_string
(
"ALL"
,
3
);
Item_
null
*
constant
=
new
Item_null
(
"ALL"
);
SELECT_LEX
*
new_select
=
(
SELECT_LEX
*
)
thd
->
memdup
((
char
*
)
select_lex
,
sizeof
(
*
select_lex
));
SELECT_LEX
*
new_select
=
(
SELECT_LEX
*
)
thd
->
memdup
((
char
*
)
select_lex
,
sizeof
(
*
select_lex
));
if
(
!
new_select
)
if
(
!
new_select
)
...
...
sql/sql_select.cc
View file @
57f32cf8
...
@@ -4040,9 +4040,12 @@ static bool create_myisam_tmp_table(TABLE *table,TMP_TABLE_PARAM *param,
...
@@ -4040,9 +4040,12 @@ static bool create_myisam_tmp_table(TABLE *table,TMP_TABLE_PARAM *param,
}
}
MI_CREATE_INFO
create_info
;
MI_CREATE_INFO
create_info
;
bzero
((
char
*
)
&
create_info
,
sizeof
(
create_info
));
bzero
((
char
*
)
&
create_info
,
sizeof
(
create_info
));
if
((
options
&
(
OPTION_BIG_TABLES
|
SELECT_SMALL_RESULT
))
==
if
((
options
&
(
OPTION_BIG_TABLES
|
SELECT_SMALL_RESULT
))
!=
OPTION_BIG_TABLES
)
SELECT_SMALL_RESULT
)
{
create_info
.
data_file_length
=
~
(
ulonglong
)
0
;
create_info
.
data_file_length
=
~
(
ulonglong
)
0
;
create_info
.
max_rows
=
~
(
ulonglong
)
0
;
}
if
((
error
=
mi_create
(
table
->
real_name
,
table
->
keys
,
&
keydef
,
if
((
error
=
mi_create
(
table
->
real_name
,
table
->
keys
,
&
keydef
,
(
uint
)
(
param
->
recinfo
-
param
->
start_recinfo
),
(
uint
)
(
param
->
recinfo
-
param
->
start_recinfo
),
...
...
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