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
c7291432
Commit
c7291432
authored
Mar 06, 2007
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge chilla.local:/home/mydev/mysql-5.0-bug26464
into chilla.local:/home/mydev/mysql-5.1-bug26464
parents
3eb44804
7cb031a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
mysql-test/r/merge.result
mysql-test/r/merge.result
+5
-0
mysql-test/t/merge.test
mysql-test/t/merge.test
+9
-0
storage/myisammrg/ha_myisammrg.h
storage/myisammrg/ha_myisammrg.h
+2
-2
No files found.
mysql-test/r/merge.result
View file @
c7291432
...
...
@@ -806,6 +806,11 @@ CREATE TABLE tm1(a SMALLINT, b SMALLINT, KEY(a)) ENGINE=MERGE UNION=(t1);
SELECT * FROM tm1;
ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
DROP TABLE t1, tm1;
CREATE TABLE t1(c1 INT) ENGINE=MyISAM;
CREATE TABLE t2(c1 INT) ENGINE=MERGE UNION=(t1);
INSERT DELAYED INTO t2 VALUES(1);
ERROR HY000: Table storage engine for 't2' doesn't have this option
DROP TABLE t1, t2;
create table t1 (b bit(1));
create table t2 (b bit(1));
create table tm (b bit(1)) engine = merge union = (t1,t2);
...
...
mysql-test/t/merge.test
View file @
c7291432
...
...
@@ -434,6 +434,15 @@ CREATE TABLE tm1(a SMALLINT, b SMALLINT, KEY(a)) ENGINE=MERGE UNION=(t1);
SELECT
*
FROM
tm1
;
DROP
TABLE
t1
,
tm1
;
#
# Bug#26464 - insert delayed + update + merge = corruption
#
CREATE
TABLE
t1
(
c1
INT
)
ENGINE
=
MyISAM
;
CREATE
TABLE
t2
(
c1
INT
)
ENGINE
=
MERGE
UNION
=
(
t1
);
--
error
1031
INSERT
DELAYED
INTO
t2
VALUES
(
1
);
DROP
TABLE
t1
,
t2
;
# End of 4.1 tests
#
...
...
storage/myisammrg/ha_myisammrg.h
View file @
c7291432
...
...
@@ -36,8 +36,8 @@ class ha_myisammrg: public handler
{
return
(
HA_REC_NOT_IN_SEQ
|
HA_AUTO_PART_KEY
|
HA_NO_TRANSACTIONS
|
HA_NULL_IN_KEY
|
HA_CAN_INDEX_BLOBS
|
HA_FILE_BASED
|
HA_
CAN_INSERT_DELAYED
|
HA_ANY_INDEX_MAY_BE_UNIQUE
|
HA_
CAN_BIT_FIELD
|
HA_
NO_COPY_ON_ALTER
);
HA_
ANY_INDEX_MAY_BE_UNIQUE
|
HA_CAN_BIT_FIELD
|
HA_NO_COPY_ON_ALTER
);
}
ulong
index_flags
(
uint
inx
,
uint
part
,
bool
all_parts
)
const
{
...
...
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