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
91e79dff
Commit
91e79dff
authored
Apr 12, 2020
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: comments
parent
fcd84da5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
sql/sql_insert.cc
sql/sql_insert.cc
+0
-2
sql/sql_update.cc
sql/sql_update.cc
+1
-1
storage/myisam/myisamdef.h
storage/myisam/myisamdef.h
+4
-4
No files found.
sql/sql_insert.cc
View file @
91e79dff
...
...
@@ -1996,8 +1996,6 @@ int write_record(THD *thd, TABLE *table, COPY_INFO *info, select_result *sink)
tables which have ON UPDATE but have no ON DELETE triggers,
we just should not expose this fact to users by invoking
ON UPDATE triggers.
For system versioning wa also use path through delete since we would
save nothing through this cheating.
*/
if
(
last_uniq_key
(
table
,
key_nr
)
&&
!
table
->
file
->
referenced_by_foreign_key
()
&&
...
...
sql/sql_update.cc
View file @
91e79dff
...
...
@@ -2036,7 +2036,7 @@ int multi_update::prepare(List<Item> ¬_used_values,
DBUG_RETURN
(
1
);
/*
Save tables be
e
ing updated in update_tables
Save tables being updated in update_tables
update_table->shared is position for table
Don't use key read on tables that are updated
*/
...
...
storage/myisam/myisamdef.h
View file @
91e79dff
...
...
@@ -234,11 +234,11 @@ typedef struct st_mi_isam_share
struct
st_myisam_info
{
MYISAM_SHARE
*
s
;
/* Shared between open
:
s */
MYISAM_SHARE
*
s
;
/* Shared between opens */
MI_STATUS_INFO
*
state
,
save_state
;
MI_BLOB
*
blobs
;
/* Pointer to blobs */
MI_BIT_BUFF
bit_buff
;
/* accumulate indexfile changes between write
'
s */
/* accumulate indexfile changes between writes */
TREE
*
bulk_insert
;
DYNAMIC_ARRAY
*
ft1_to_ft2
;
/* used only in ft1->ft2 conversion */
MEM_ROOT
ft_memroot
;
/* used by the parser */
...
...
@@ -256,7 +256,7 @@ struct st_myisam_info
uint32
int_keytree_version
;
/* -""- */
int
(
*
read_record
)(
struct
st_myisam_info
*
,
my_off_t
,
uchar
*
);
invalidator_by_filename
invalidator
;
/* query cache invalidator */
ulong
this_unique
;
/* uniq filenumber or thread */
ulong
this_unique
;
/* uniq
ue
filenumber or thread */
ulong
last_unique
;
/* last unique number */
ulong
this_loop
;
/* counter for this open */
ulong
last_loop
;
/* last used counter */
...
...
@@ -269,7 +269,7 @@ struct st_myisam_info
my_off_t
dupp_key_pos
;
ha_checksum
checksum
;
/* Temp storage for row checksum */
/*
QQ: the folloing two xxx_length fields should be removed,
QQ: the follo
w
ing two xxx_length fields should be removed,
as they are not compatible with parallel repair
*/
ulong
packed_length
,
blob_length
;
/* Length of found, packed record */
...
...
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