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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b95560a8
Commit
b95560a8
authored
Nov 12, 2004
by
pem@mysql.comhem.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build fixes to make it compile.
parent
1d8a6a06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
sql/handler.cc
sql/handler.cc
+1
-1
sql/log_event.cc
sql/log_event.cc
+2
-1
No files found.
sql/handler.cc
View file @
b95560a8
...
@@ -656,7 +656,7 @@ int ha_rollback_trans(THD *thd, THD_TRANS *trans)
...
@@ -656,7 +656,7 @@ int ha_rollback_trans(THD *thd, THD_TRANS *trans)
}
}
thd
->
variables
.
tx_isolation
=
thd
->
session_tx_isolation
;
thd
->
variables
.
tx_isolation
=
thd
->
session_tx_isolation
;
if
(
operation_done
)
if
(
operation_done
)
statistic_increment
(
ha_rollback_count
,
&
LOCK_status
);
statistic_increment
(
thd
->
status_var
.
ha_rollback_count
,
&
LOCK_status
);
thd
->
proc_info
=
save_proc_info
;
thd
->
proc_info
=
save_proc_info
;
}
}
#endif
/* USING_TRANSACTIONS */
#endif
/* USING_TRANSACTIONS */
...
...
sql/log_event.cc
View file @
b95560a8
...
@@ -1362,7 +1362,8 @@ int Query_log_event::exec_event(struct st_relay_log_info* rli)
...
@@ -1362,7 +1362,8 @@ int Query_log_event::exec_event(struct st_relay_log_info* rli)
Thank you.
Thank you.
*/
*/
thd
->
catalog
=
(
char
*
)
catalog
;
thd
->
catalog
=
(
char
*
)
catalog
;
thd
->
db
=
(
char
*
)
rewrite_db
(
db
);
// thd->db_length is set later if needed
thd
->
db_length
=
db_len
;
thd
->
db
=
(
char
*
)
rewrite_db
(
db
,
&
thd
->
db_length
);
thd
->
variables
.
auto_increment_increment
=
auto_increment_increment
;
thd
->
variables
.
auto_increment_increment
=
auto_increment_increment
;
thd
->
variables
.
auto_increment_offset
=
auto_increment_offset
;
thd
->
variables
.
auto_increment_offset
=
auto_increment_offset
;
...
...
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