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
fc12800c
Commit
fc12800c
authored
Jan 12, 2011
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed dependency no longer correct
parent
77326755
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
storage/innobase/row/row0merge.c
storage/innobase/row/row0merge.c
+0
-2
storage/innobase/row/row0mysql.c
storage/innobase/row/row0mysql.c
+0
-14
storage/innobase/row/row0sel.c
storage/innobase/row/row0sel.c
+0
-1
No files found.
storage/innobase/row/row0merge.c
View file @
fc12800c
...
...
@@ -1929,7 +1929,6 @@ row_merge_lock_table(
sel_node_t
*
node
;
ut_ad
(
trx
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
ut_ad
(
mode
==
LOCK_X
||
mode
==
LOCK_S
);
heap
=
mem_heap_create
(
512
);
...
...
@@ -2366,7 +2365,6 @@ row_merge_rename_tables(
pars_info_t
*
info
;
char
old_name
[
MAX_TABLE_NAME_LEN
+
1
];
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
ut_ad
(
old_table
!=
new_table
);
ut_ad
(
mutex_own
(
&
dict_sys
->
mutex
));
...
...
storage/innobase/row/row0mysql.c
View file @
fc12800c
...
...
@@ -976,7 +976,6 @@ row_lock_table_autoinc_for_mysql(
ibool
was_lock_wait
;
ut_ad
(
trx
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
/* If we already hold an AUTOINC lock on the table then do nothing.
Note: We peek at the value of the current owner without acquiring
...
...
@@ -1056,7 +1055,6 @@ row_lock_table_for_mysql(
ibool
was_lock_wait
;
ut_ad
(
trx
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
trx
->
op_info
=
"setting table lock"
;
...
...
@@ -1130,7 +1128,6 @@ row_insert_for_mysql(
ins_node_t
*
node
=
prebuilt
->
ins_node
;
ut_ad
(
trx
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
if
(
prebuilt
->
table
->
ibd_file_missing
)
{
ut_print_timestamp
(
stderr
);
...
...
@@ -1364,7 +1361,6 @@ row_update_for_mysql(
trx_t
*
trx
=
prebuilt
->
trx
;
ut_ad
(
prebuilt
&&
trx
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
UT_NOT_USED
(
mysql_rec
);
if
(
prebuilt
->
table
->
ibd_file_missing
)
{
...
...
@@ -1532,7 +1528,6 @@ row_unlock_for_mysql(
trx_t
*
trx
=
prebuilt
->
trx
;
ut_ad
(
prebuilt
&&
trx
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
if
(
UNIV_UNLIKELY
(
!
srv_locks_unsafe_for_binlog
...
...
@@ -1834,7 +1829,6 @@ row_create_table_for_mysql(
ulint
table_name_len
;
ulint
err
;
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
#ifdef UNIV_SYNC_DEBUG
ut_ad
(
rw_lock_own
(
&
dict_operation_lock
,
RW_LOCK_EX
));
#endif
/* UNIV_SYNC_DEBUG */
...
...
@@ -2006,7 +2000,6 @@ row_create_index_for_mysql(
ut_ad
(
rw_lock_own
(
&
dict_operation_lock
,
RW_LOCK_EX
));
#endif
/* UNIV_SYNC_DEBUG */
ut_ad
(
mutex_own
(
&
(
dict_sys
->
mutex
)));
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
trx
->
op_info
=
"creating index"
;
...
...
@@ -2409,8 +2402,6 @@ row_discard_tablespace_for_mysql(
table->n_foreign_key_checks_running > 0, we do not allow the
discard. We also reserve the data dictionary latch. */
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
trx
->
op_info
=
"discarding tablespace"
;
trx_start_if_not_started
(
trx
);
...
...
@@ -2569,8 +2560,6 @@ row_import_tablespace_for_mysql(
ib_uint64_t
current_lsn
;
ulint
err
=
DB_SUCCESS
;
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
trx_start_if_not_started
(
trx
);
trx
->
op_info
=
"importing tablespace"
;
...
...
@@ -2754,7 +2743,6 @@ row_truncate_table_for_mysql(
redo log records on the truncated tablespace, we will assign
a new tablespace identifier to the truncated tablespace. */
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
ut_ad
(
table
);
if
(
srv_created_new_raw
)
{
...
...
@@ -3605,7 +3593,6 @@ row_drop_database_for_mysql(
int
err
=
DB_SUCCESS
;
ulint
namelen
=
strlen
(
name
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
ut_a
(
name
!=
NULL
);
ut_a
(
name
[
namelen
-
1
]
==
'/'
);
...
...
@@ -3775,7 +3762,6 @@ row_rename_table_for_mysql(
ibool
old_is_tmp
,
new_is_tmp
;
pars_info_t
*
info
=
NULL
;
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
ut_a
(
old_name
!=
NULL
);
ut_a
(
new_name
!=
NULL
);
...
...
storage/innobase/row/row0sel.c
View file @
fc12800c
...
...
@@ -3370,7 +3370,6 @@ row_search_for_mysql(
rec_offs_init
(
offsets_
);
ut_ad
(
index
&&
pcur
&&
search_tuple
);
ut_ad
(
trx
->
mysql_thread_id
==
os_thread_get_curr_id
());
if
(
UNIV_UNLIKELY
(
prebuilt
->
table
->
ibd_file_missing
))
{
ut_print_timestamp
(
stderr
);
...
...
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