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
8e062962
Commit
8e062962
authored
Aug 09, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/dlenev/src/mysql-5.0-is
parents
48c12564
c4228519
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
+9
-11
mysql-test/r/heap.result
mysql-test/r/heap.result
+2
-2
mysql-test/t/heap.test
mysql-test/t/heap.test
+1
-0
sql/ha_innodb.cc
sql/ha_innodb.cc
+6
-9
No files found.
mysql-test/r/heap.result
View file @
8e062962
...
...
@@ -705,6 +705,6 @@ create table t1 (c char(10)) engine=memory;
create table t2 (c varchar(10)) engine=memory;
show table status like 't_';
Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment
t1 MEMORY 10 Fixed 0 11 0
720192
0 0 NULL NULL NULL NULL latin1_swedish_ci NULL
t2 MEMORY 10 Fixed 0 12 0
785664
0 0 NULL NULL NULL NULL latin1_swedish_ci NULL
t1 MEMORY 10 Fixed 0 11 0
#
0 0 NULL NULL NULL NULL latin1_swedish_ci NULL
t2 MEMORY 10 Fixed 0 12 0
#
0 0 NULL NULL NULL NULL latin1_swedish_ci NULL
drop table t1, t2;
mysql-test/t/heap.test
View file @
8e062962
...
...
@@ -443,6 +443,7 @@ drop table t1;
#
create
table
t1
(
c
char
(
10
))
engine
=
memory
;
create
table
t2
(
c
varchar
(
10
))
engine
=
memory
;
--
replace_column
8
#
show
table
status
like
't_'
;
drop
table
t1
,
t2
;
...
...
sql/ha_innodb.cc
View file @
8e062962
...
...
@@ -2146,15 +2146,12 @@ innobase_close_connection(
ut_a
(
trx
);
if
(
trx
->
conc_state
!=
TRX_NOT_STARTED
)
{
ut_print_timestamp
(
stderr
);
fprintf
(
stderr
,
" InnoDB: Warning: MySQL is closing a connection
\n
"
"InnoDB: that has an active InnoDB transaction. We roll back that
\n
"
"InnoDB: transaction. %lu row modifications to roll back.
\n
"
,
(
ulong
)
trx
->
undo_no
.
low
);
}
if
(
trx
->
conc_state
!=
TRX_NOT_STARTED
&&
global_system_variables
.
log_warnings
)
sql_print_warning
(
"MySQL is closing a connection that has an active "
"InnoDB transaction. %lu row modifications will "
"roll back."
,
(
ulong
)
trx
->
undo_no
.
low
);
innobase_rollback_trx
(
trx
);
...
...
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