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
c0cb1faa
Commit
c0cb1faa
authored
Feb 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/bkroot/mysql-5.0 into mysql.com:/home/bk/mysql-5.0
parents
6f1a4fe4
4983a398
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
sql/ha_innodb.cc
sql/ha_innodb.cc
+9
-3
sql/sql_class.h
sql/sql_class.h
+2
-1
No files found.
sql/ha_innodb.cc
View file @
c0cb1faa
...
...
@@ -1698,7 +1698,9 @@ innobase_rollback_to_savepoint(
innobase_release_stat_resources
(
trx
);
/* TODO: use provided savepoint data area to store savepoint data */
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
(
ulong
)
savepoint
);
char
name
[
64
];
longlong2str
((
ulonglong
)
savepoint
,
name
,
36
);
error
=
trx_rollback_to_savepoint_for_mysql
(
trx
,
name
,
&
mysql_binlog_cache_pos
);
DBUG_RETURN
(
convert_error_code_to_mysql
(
error
,
NULL
));
...
...
@@ -1724,7 +1726,9 @@ innobase_release_savepoint(
trx
=
check_trx_exists
(
thd
);
/* TODO: use provided savepoint data area to store savepoint data */
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
(
ulong
)
savepoint
);
char
name
[
64
];
longlong2str
((
ulonglong
)
savepoint
,
name
,
36
);
error
=
trx_release_savepoint_for_mysql
(
trx
,
name
);
DBUG_RETURN
(
convert_error_code_to_mysql
(
error
,
NULL
));
...
...
@@ -1763,7 +1767,9 @@ innobase_savepoint(
DBUG_ASSERT
(
trx
->
active_trans
);
/* TODO: use provided savepoint data area to store savepoint data */
char
name
[
16
];
sprintf
(
name
,
"s_%08lx"
,
(
ulong
)
savepoint
);
char
name
[
64
];
longlong2str
((
ulonglong
)
savepoint
,
name
,
36
);
error
=
trx_savepoint_for_mysql
(
trx
,
name
,
(
ib_longlong
)
0
);
DBUG_RETURN
(
convert_error_code_to_mysql
(
error
,
NULL
));
...
...
sql/sql_class.h
View file @
c0cb1faa
...
...
@@ -1072,7 +1072,8 @@ class THD :public ilink,
MEM_ROOT
mem_root
;
// Transaction-life memory allocation pool
void
cleanup
()
{
changed_tables
=
0
;
changed_tables
=
0
;
savepoints
=
0
;
#ifdef USING_TRANSACTIONS
free_root
(
&
mem_root
,
MYF
(
MY_KEEP_PREALLOC
));
#endif
...
...
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