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
f379c9a8
Commit
f379c9a8
authored
Mar 26, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove Aria-only handler flag
parent
39865322
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
9 deletions
+2
-9
include/my_base.h
include/my_base.h
+1
-2
sql/sql_select.cc
sql/sql_select.cc
+0
-1
storage/maria/ha_maria.cc
storage/maria/ha_maria.cc
+0
-5
storage/maria/ma_create.c
storage/maria/ma_create.c
+1
-1
No files found.
include/my_base.h
View file @
f379c9a8
...
...
@@ -354,8 +354,7 @@ enum ha_base_keytype {
#define HA_CREATE_DELAY_KEY_WRITE 64
#define HA_CREATE_RELIES_ON_SQL_LAYER 128
#define HA_CREATE_INTERNAL_TABLE 256
#define HA_CREATE_ENCRYPTED 512
#define HA_PRESERVE_INSERT_ORDER 1024
#define HA_PRESERVE_INSERT_ORDER 512
/* Flags used by start_bulk_insert */
...
...
sql/sql_select.cc
View file @
f379c9a8
...
...
@@ -16987,7 +16987,6 @@ bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
{
/* encryption is only supported for BLOCK_RECORD */
file_type
=
BLOCK_RECORD
;
create_flags
|=
HA_CREATE_ENCRYPTED
;
if
(
table
->
used_for_duplicate_elimination
)
{
/*
...
...
storage/maria/ha_maria.cc
View file @
f379c9a8
...
...
@@ -3138,11 +3138,6 @@ int ha_maria::create(const char *name, register TABLE *table_arg,
ha_create_info
->
page_checksum
==
HA_CHOICE_YES
)
create_flags
|=
HA_CREATE_PAGE_CHECKSUM
;
mysql_mutex_lock
(
&
LOCK_global_system_variables
);
mysql_mutex_unlock
(
&
LOCK_global_system_variables
);
if
(
row_type
==
BLOCK_RECORD
&&
maria_encrypt_tables
)
create_flags
|=
HA_CREATE_ENCRYPTED
;
(
void
)
translog_log_debug_info
(
0
,
LOGREC_DEBUG_INFO_QUERY
,
(
uchar
*
)
thd
->
query
(),
thd
->
query_length
());
...
...
storage/maria/ma_create.c
View file @
f379c9a8
...
...
@@ -73,7 +73,7 @@ int maria_create(const char *name, enum data_file_type datafile_type,
my_bool
forced_packed
;
myf
sync_dir
=
0
;
uchar
*
log_data
=
NULL
;
my_bool
encrypted
=
MY_TEST
(
flags
&
HA_CREATE_ENCRYPTED
)
;
my_bool
encrypted
=
maria_encrypt_tables
&&
datafile_type
==
BLOCK_RECORD
;
my_bool
insert_order
=
MY_TEST
(
flags
&
HA_PRESERVE_INSERT_ORDER
);
uint
crypt_page_header_space
=
0
;
DBUG_ENTER
(
"maria_create"
);
...
...
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