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
563da78d
Commit
563da78d
authored
Jan 14, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed some old comments.
mysys/my_handler.c: Fixed typo
parent
ff7f5879
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
12 deletions
+2
-12
mysys/my_handler.c
mysys/my_handler.c
+1
-1
sql/opt_subselect.cc
sql/opt_subselect.cc
+0
-3
sql/sql_select.cc
sql/sql_select.cc
+1
-8
No files found.
mysys/my_handler.c
View file @
563da78d
...
...
@@ -659,7 +659,7 @@ void my_handler_error_register(void)
/*
If you got compilation error here about compile_time_assert array, check
that every HA_ERR_xxx constant has a corresponding error message in
handler_error_messages[] list (check mysys/m
a
_handler_errors.h and
handler_error_messages[] list (check mysys/m
y
_handler_errors.h and
include/my_base.h).
*/
compile_time_assert
(
HA_ERR_FIRST
+
array_elements
(
handler_error_messages
)
==
...
...
sql/opt_subselect.cc
View file @
563da78d
...
...
@@ -2741,9 +2741,6 @@ TABLE *create_duplicate_weedout_tmp_table(THD *thd,
field
->
set_table_name
(
&
table
->
alias
);
}
//param->recinfo=recinfo;
//store_record(table,s->default_values); // Make empty default record
if
(
thd
->
variables
.
tmp_table_size
==
~
(
ulonglong
)
0
)
// No limit
share
->
max_rows
=
~
(
ha_rows
)
0
;
else
...
...
sql/sql_select.cc
View file @
563da78d
...
...
@@ -38,12 +38,6 @@
#include <my_bit.h>
#include <hash.h>
#include <ft_global.h>
//#if defined(WITH_ARIA_STORAGE_ENGINE) && defined(USE_MARIA_FOR_TMP_TABLES)
//#include "../storage/maria/ha_maria.h"
//#define TMP_ENGINE_HTON maria_hton
//#else
//#define TMP_ENGINE_HTON myisam_hton
//#endif
const
char
*
join_type_str
[]
=
{
"UNKNOWN"
,
"system"
,
"const"
,
"eq_ref"
,
"ref"
,
"MAYBE_REF"
,
"ALL"
,
"range"
,
"index"
,
"fulltext"
,
...
...
@@ -12076,7 +12070,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
}
param
->
copy_field_end
=
copy
;
param
->
recinfo
=
recinfo
;
param
->
recinfo
=
recinfo
;
// Pointer to after last field
store_record
(
table
,
s
->
default_values
);
// Make empty default record
if
(
thd
->
variables
.
tmp_table_size
==
~
(
ulonglong
)
0
)
// No limit
...
...
@@ -12177,7 +12171,6 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
indexes on blobs with arbitrary length. Such indexes cannot be
used for lookups.
*/
//// psergey-merge: using_unique_constraint=1;
share
->
uniques
=
1
;
}
null_pack_length
-=
hidden_null_pack_length
;
...
...
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