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
4aa5a91b
Commit
4aa5a91b
authored
Oct 27, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.1-new-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
parents
65ab78fe
c5960a98
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
21 deletions
+51
-21
BitKeeper/triggers/pre-outgoing.crash-protect.pl
BitKeeper/triggers/pre-outgoing.crash-protect.pl
+0
-4
BitKeeper/triggers/pre-resolve.crash-protect.pl
BitKeeper/triggers/pre-resolve.crash-protect.pl
+0
-4
mysql-test/include/mix1.inc
mysql-test/include/mix1.inc
+24
-7
mysql-test/r/innodb_mysql.result
mysql-test/r/innodb_mysql.result
+18
-6
storage/innobase/include/univ.i
storage/innobase/include/univ.i
+9
-0
No files found.
BitKeeper/triggers/pre-outgoing.crash-protect.pl
View file @
4aa5a91b
...
@@ -9,8 +9,6 @@ unless($event eq 'outgoing pull' || $event eq 'outgoing push' ||
...
@@ -9,8 +9,6 @@ unless($event eq 'outgoing pull' || $event eq 'outgoing push' ||
exit
0
;
exit
0
;
}
}
print
"
Checking for bad changesets from old crashed 5.1 tree...
\n
";
my
@bad_csets
=
my
@bad_csets
=
(
'
monty@mysql.com|ChangeSet|20060418090255|16983
',
(
'
monty@mysql.com|ChangeSet|20060418090255|16983
',
'
monty@mysql.com|ChangeSet|20060418090458|02628
',
'
monty@mysql.com|ChangeSet|20060418090458|02628
',
...
@@ -80,6 +78,4 @@ END
...
@@ -80,6 +78,4 @@ END
}
}
}
}
print
"
No bad changesets found, proceeding.
\n
";
exit
0
;
exit
0
;
BitKeeper/triggers/pre-resolve.crash-protect.pl
View file @
4aa5a91b
...
@@ -9,8 +9,6 @@ unless($event eq 'outgoing pull' || $event eq 'outgoing push' ||
...
@@ -9,8 +9,6 @@ unless($event eq 'outgoing pull' || $event eq 'outgoing push' ||
exit
0
;
exit
0
;
}
}
print
"
Checking for bad changesets from old crashed 5.1 tree...
\n
";
my
@bad_csets
=
my
@bad_csets
=
(
'
monty@mysql.com|ChangeSet|20060418090255|16983
',
(
'
monty@mysql.com|ChangeSet|20060418090255|16983
',
'
monty@mysql.com|ChangeSet|20060418090458|02628
',
'
monty@mysql.com|ChangeSet|20060418090458|02628
',
...
@@ -80,6 +78,4 @@ END
...
@@ -80,6 +78,4 @@ END
}
}
}
}
print
"
No bad changesets found, proceeding.
\n
";
exit
0
;
exit
0
;
mysql-test/include/mix1.inc
View file @
4aa5a91b
...
@@ -31,13 +31,6 @@ eval SET SESSION STORAGE_ENGINE = $engine_type;
...
@@ -31,13 +31,6 @@ eval SET SESSION STORAGE_ENGINE = $engine_type;
drop
table
if
exists
t1
,
t2
,
t1m
,
t1i
,
t2m
,
t2i
,
t4
;
drop
table
if
exists
t1
,
t2
,
t1m
,
t1i
,
t2m
,
t2i
,
t4
;
--
enable_warnings
--
enable_warnings
#
# Bug#17530: Incorrect key truncation on table creation caused server crash.
#
create
table
t1
(
f1
varchar
(
800
)
binary
not
null
,
key
(
f1
))
character
set
utf8
collate
utf8_general_ci
;
insert
into
t1
values
(
'aaa'
);
drop
table
t1
;
# BUG#16798: Uninitialized row buffer reads in ref-or-null optimizer
# BUG#16798: Uninitialized row buffer reads in ref-or-null optimizer
# (repeatable only w/innodb).
# (repeatable only w/innodb).
...
@@ -415,6 +408,28 @@ create table t1(f1 varchar(800) binary not null, key(f1))
...
@@ -415,6 +408,28 @@ create table t1(f1 varchar(800) binary not null, key(f1))
insert
into
t1
values
(
'aaa'
);
insert
into
t1
values
(
'aaa'
);
drop
table
t1
;
drop
table
t1
;
#
# Bug#22781: SQL_BIG_RESULT fails to influence sort plan
#
CREATE
TABLE
t1
(
a
INT
PRIMARY
KEY
,
b
INT
,
c
FLOAT
,
KEY
b
(
b
))
ENGINE
=
INNODB
;
INSERT
INTO
t1
VALUES
(
1
,
1
,
1
);
INSERT
INTO
t1
SELECT
a
+
1
,
MOD
(
a
+
1
,
20
),
1
FROM
t1
;
INSERT
INTO
t1
SELECT
a
+
2
,
MOD
(
a
+
2
,
20
),
1
FROM
t1
;
INSERT
INTO
t1
SELECT
a
+
4
,
MOD
(
a
+
4
,
20
),
1
FROM
t1
;
INSERT
INTO
t1
SELECT
a
+
8
,
MOD
(
a
+
8
,
20
),
1
FROM
t1
;
INSERT
INTO
t1
SELECT
a
+
16
,
MOD
(
a
+
16
,
20
),
1
FROM
t1
;
INSERT
INTO
t1
SELECT
a
+
32
,
MOD
(
a
+
32
,
20
),
1
FROM
t1
;
INSERT
INTO
t1
SELECT
a
+
64
,
MOD
(
a
+
64
,
20
),
1
FROM
t1
;
EXPLAIN
SELECT
b
,
SUM
(
c
)
FROM
t1
GROUP
BY
b
;
EXPLAIN
SELECT
SQL_BIG_RESULT
b
,
SUM
(
c
)
FROM
t1
GROUP
BY
b
;
DROP
TABLE
t1
;
--
echo
End
of
5.0
tests
# Fix for BUG#19243 "wrong LAST_INSERT_ID() after ON DUPLICATE KEY
# Fix for BUG#19243 "wrong LAST_INSERT_ID() after ON DUPLICATE KEY
# UPDATE": if the row is updated, it's like a regular UPDATE:
# UPDATE": if the row is updated, it's like a regular UPDATE:
# LAST_INSERT_ID() is not affected.
# LAST_INSERT_ID() is not affected.
...
@@ -466,3 +481,5 @@ select last_insert_id();
...
@@ -466,3 +481,5 @@ select last_insert_id();
select
*
from
t2
;
select
*
from
t2
;
drop
table
t2
;
drop
table
t2
;
--
echo
End
of
5.1
tests
mysql-test/r/innodb_mysql.result
View file @
4aa5a91b
SET SESSION STORAGE_ENGINE = InnoDB;
SET SESSION STORAGE_ENGINE = InnoDB;
drop table if exists t1,t2,t1m,t1i,t2m,t2i,t4;
drop table if exists t1,t2,t1m,t1i,t2m,t2i,t4;
create table t1(f1 varchar(800) binary not null, key(f1))
character set utf8 collate utf8_general_ci;
Warnings:
Warning 1071 Specified key was too long; max key length is 765 bytes
insert into t1 values('aaa');
drop table t1;
create table t1 (
create table t1 (
c_id int(11) not null default '0',
c_id int(11) not null default '0',
org_id int(11) default null,
org_id int(11) default null,
...
@@ -379,6 +373,23 @@ Warnings:
...
@@ -379,6 +373,23 @@ Warnings:
Warning 1071 Specified key was too long; max key length is 765 bytes
Warning 1071 Specified key was too long; max key length is 765 bytes
insert into t1 values('aaa');
insert into t1 values('aaa');
drop table t1;
drop table t1;
CREATE TABLE t1 (a INT PRIMARY KEY, b INT, c FLOAT, KEY b(b)) ENGINE = INNODB;
INSERT INTO t1 VALUES ( 1 , 1 , 1);
INSERT INTO t1 SELECT a + 1 , MOD(a + 1 , 20), 1 FROM t1;
INSERT INTO t1 SELECT a + 2 , MOD(a + 2 , 20), 1 FROM t1;
INSERT INTO t1 SELECT a + 4 , MOD(a + 4 , 20), 1 FROM t1;
INSERT INTO t1 SELECT a + 8 , MOD(a + 8 , 20), 1 FROM t1;
INSERT INTO t1 SELECT a + 16, MOD(a + 16, 20), 1 FROM t1;
INSERT INTO t1 SELECT a + 32, MOD(a + 32, 20), 1 FROM t1;
INSERT INTO t1 SELECT a + 64, MOD(a + 64, 20), 1 FROM t1;
EXPLAIN SELECT b, SUM(c) FROM t1 GROUP BY b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 index NULL b 5 NULL 128
EXPLAIN SELECT SQL_BIG_RESULT b, SUM(c) FROM t1 GROUP BY b;
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 128 Using filesort
DROP TABLE t1;
End of 5.0 tests
CREATE TABLE `t2` (
CREATE TABLE `t2` (
`k` int(11) NOT NULL auto_increment,
`k` int(11) NOT NULL auto_increment,
`a` int(11) default NULL,
`a` int(11) default NULL,
...
@@ -447,3 +458,4 @@ k a c
...
@@ -447,3 +458,4 @@ k a c
11 15 1
11 15 1
12 20 1
12 20 1
drop table t2;
drop table t2;
End of 5.1 tests
storage/innobase/include/univ.i
View file @
4aa5a91b
...
@@ -40,12 +40,21 @@ if we are compiling on Windows. */
...
@@ -40,12 +40,21 @@ if we are compiling on Windows. */
#
undef
VERSION
#
undef
VERSION
/* Include the header file generated by GNU autoconf */
/* Include the header file generated by GNU autoconf */
#
ifndef
__WIN__
#
include
"config.h"
#
include
"config.h"
#
endif
#
ifdef
HAVE_SCHED_H
#
ifdef
HAVE_SCHED_H
#
include
<
sched
.
h
>
#
include
<
sched
.
h
>
#
endif
#
endif
/* When compiling for Itanium IA64, undefine the flag below to prevent use
of the 32-bit x86 assembler in mutex operations. */
#
if
defined
(
__WIN__
)
&
&
!defined(WIN64)
&
&
!defined(_WIN64)
#
define
UNIV_CAN_USE_X86_ASSEMBLER
#
endif
/* We only try to do explicit inlining of functions with gcc and
/* We only try to do explicit inlining of functions with gcc and
Microsoft Visual C++ */
Microsoft Visual C++ */
...
...
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