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
713f8b70
Commit
713f8b70
authored
Mar 11, 2008
by
vasil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/5.1:
Merge changes from MySQL AB.
parent
4c24bf2c
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
5 deletions
+37
-5
CMakeLists.txt
CMakeLists.txt
+1
-0
handler/ha_innodb.cc
handler/ha_innodb.cc
+0
-4
mysql-test/have_innodb.inc
mysql-test/have_innodb.inc
+1
-1
mysql-test/innodb.result
mysql-test/innodb.result
+13
-0
mysql-test/innodb.test
mysql-test/innodb.test
+21
-0
mysql-test/innodb_bug34053.test
mysql-test/innodb_bug34053.test
+1
-0
No files found.
CMakeLists.txt
View file @
713f8b70
...
...
@@ -58,4 +58,5 @@ SET(INNOBASE_SOURCES btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea.c
IF
(
NOT SOURCE_SUBLIBS
)
ADD_LIBRARY
(
innobase
${
INNOBASE_SOURCES
}
)
ADD_DEPENDENCIES
(
innobase GenError
)
ENDIF
(
NOT SOURCE_SUBLIBS
)
handler/ha_innodb.cc
View file @
713f8b70
...
...
@@ -44,10 +44,6 @@ have disabled the InnoDB inlining in this file. */
/* This is needed because of Bug #3596. Let us hope that pthread_mutex_t
is defined the same in both builds: the MySQL server and the InnoDB plugin. */
extern
pthread_mutex_t
LOCK_thread_count
;
/* this is defined in mysql_priv.h inside #ifdef MYSQL_SERVER
but we need it here */
bool
check_global_access
(
THD
*
thd
,
ulong
want_access
);
#endif
/* MYSQL_SERVER */
/** to protect innobase_open_files */
...
...
mysql-test/have_innodb.inc
View file @
713f8b70
disable_query_log
;
--
require
r
/
true
.
require
select
(
support
=
'YES'
or
support
=
'DEFAULT'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'innodb'
;
select
(
support
=
'YES'
or
support
=
'DEFAULT'
or
support
=
'ENABLED'
)
as
`TRUE`
from
information_schema
.
engines
where
engine
=
'innodb'
;
enable_query_log
;
mysql-test/innodb.result
View file @
713f8b70
...
...
@@ -3231,6 +3231,19 @@ a
2
DROP TABLE t1;
DROP TABLE t2;
create table t1 (i int, j int) engine=innodb;
insert into t1 (i, j) values (1, 1), (2, 2);
update t1 set j = 2;
affected rows: 1
info: Rows matched: 2 Changed: 1 Warnings: 0
drop table t1;
create table t1 (id int) comment='this is a comment' engine=innodb;
select table_comment, data_free > 0 as data_free_is_set
from information_schema.tables
where table_schema='test' and table_name = 't1';
table_comment data_free_is_set
this is a comment 1
drop table t1;
CREATE TABLE t1 (
c1 INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
c2 VARCHAR(128) NOT NULL,
...
...
mysql-test/innodb.test
View file @
713f8b70
...
...
@@ -2414,6 +2414,27 @@ DROP TABLE t1;
DROP
TABLE
t2
;
DISCONNECT
c1
;
DISCONNECT
c2
;
CONNECTION
default
;
#
# Bug #29157 UPDATE, changed rows incorrect
#
create
table
t1
(
i
int
,
j
int
)
engine
=
innodb
;
insert
into
t1
(
i
,
j
)
values
(
1
,
1
),
(
2
,
2
);
--
enable_info
update
t1
set
j
=
2
;
--
disable_info
drop
table
t1
;
#
# Bug #32440 InnoDB free space info does not appear in SHOW TABLE STATUS or
# I_S
#
create
table
t1
(
id
int
)
comment
=
'this is a comment'
engine
=
innodb
;
select
table_comment
,
data_free
>
0
as
data_free_is_set
from
information_schema
.
tables
where
table_schema
=
'test'
and
table_name
=
't1'
;
drop
table
t1
;
#
# Bug 34920 test
...
...
mysql-test/innodb_bug34053.test
View file @
713f8b70
...
...
@@ -2,6 +2,7 @@
# Make sure http://bugs.mysql.com/34053 remains fixed.
#
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_innodb
.
inc
SET
storage_engine
=
InnoDB
;
...
...
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