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
06077eb1
Commit
06077eb1
authored
Sep 23, 2005
by
osku@127.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Minor fixes.
parent
945ea8a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
innobase/include/trx0trx.h
innobase/include/trx0trx.h
+1
-1
sql/ha_innodb.cc
sql/ha_innodb.cc
+6
-6
No files found.
innobase/include/trx0trx.h
View file @
06077eb1
...
...
@@ -205,7 +205,7 @@ trx_recover_for_mysql(
XID
*
xid_list
,
/* in/out: prepared transactions */
ulint
len
);
/* in: number of slots in xid_list */
/***********************************************************************
This function is used to
commit
one X/Open XA distributed transaction
This function is used to
find
one X/Open XA distributed transaction
which is in the prepared state */
trx_t
*
trx_get_trx_by_xid
(
...
...
sql/ha_innodb.cc
View file @
06077eb1
...
...
@@ -1252,7 +1252,7 @@ innobase_init(void)
copy of it: */
internal_innobase_data_file_path
=
my_strdup
(
innobase_data_file_path
,
MYF
(
MY_
WM
E
));
MYF
(
MY_
FA
E
));
ret
=
(
bool
)
srv_parse_data_file_paths_and_sizes
(
internal_innobase_data_file_path
,
...
...
@@ -2386,7 +2386,7 @@ ha_innobase::open(
"how you can resolve the problem.
\n
"
,
norm_name
);
free_share
(
share
);
my_free
((
char
*
)
upd_buff
,
MYF
(
0
));
my_free
((
gptr
)
upd_buff
,
MYF
(
0
));
my_errno
=
ENOENT
;
DBUG_RETURN
(
HA_ERR_NO_SUCH_TABLE
);
...
...
@@ -2404,7 +2404,7 @@ ha_innobase::open(
"how you can resolve the problem.
\n
"
,
norm_name
);
free_share
(
share
);
my_free
((
char
*
)
upd_buff
,
MYF
(
0
));
my_free
((
gptr
)
upd_buff
,
MYF
(
0
));
my_errno
=
ENOENT
;
dict_table_decrement_handle_count
(
ib_table
);
...
...
@@ -2498,7 +2498,7 @@ ha_innobase::close(void)
row_prebuilt_free
((
row_prebuilt_t
*
)
innobase_prebuilt
);
my_free
((
char
*
)
upd_buff
,
MYF
(
0
));
my_free
((
gptr
)
upd_buff
,
MYF
(
0
));
free_share
(
share
);
/* Tell InnoDB server that there might be work for
...
...
@@ -5147,7 +5147,7 @@ ha_innobase::records_in_range(
mysql_byte
*
key_val_buff2
=
(
mysql_byte
*
)
my_malloc
(
table
->
s
->
reclength
+
table
->
s
->
max_key_length
+
100
,
MYF
(
MY_
WM
E
));
MYF
(
MY_
FA
E
));
ulint
buff2_len
=
table
->
s
->
reclength
+
table
->
s
->
max_key_length
+
100
;
dtuple_t
*
range_start
;
...
...
@@ -5206,7 +5206,7 @@ ha_innobase::records_in_range(
dtuple_free_for_mysql
(
heap1
);
dtuple_free_for_mysql
(
heap2
);
my_free
((
char
*
)
key_val_buff2
,
MYF
(
0
));
my_free
((
gptr
)
key_val_buff2
,
MYF
(
0
));
prebuilt
->
trx
->
op_info
=
(
char
*
)
""
;
...
...
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