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
79dde782
Commit
79dde782
authored
Jan 08, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0
into mysql.com:/windows/Linux_space/MySQL/mysql-5.0-ndb
parents
a881afd1
817ed402
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
mysql-test/r/ndb_index_ordered.result
mysql-test/r/ndb_index_ordered.result
+3
-4
mysql-test/t/ndb_index_ordered.test
mysql-test/t/ndb_index_ordered.test
+3
-5
No files found.
mysql-test/r/ndb_index_ordered.result
View file @
79dde782
...
...
@@ -662,8 +662,7 @@ create table nationaldish (DishID int(10) unsigned NOT NULL AUTO_INCREMENT,
CountryCode char(3) NOT NULL,
DishTitle varchar(64) NOT NULL,
calories smallint(5) unsigned DEFAULT NULL,
PRIMARY KEY (DishID)
PRIMARY KEY (DishID),
INDEX i USING HASH (countrycode,calories)
) ENGINE=ndbcluster;
create index i using hash on nationaldish(countrycode,calories);
ERROR HY000: Can't create table './test/#sql-3c51_2.frm' (errno: 138)
drop table nationaldish;
ERROR HY000: Can't create table './test/nationaldish.frm' (errno: 138)
mysql-test/t/ndb_index_ordered.test
View file @
79dde782
...
...
@@ -359,14 +359,12 @@ select count(*) from t1 where c<'bbb';
# bug#24820 CREATE INDEX ....USING HASH on NDB table creates ordered index, not HASH index
--
error
ER_CANT_CREATE_TABLE
create
table
nationaldish
(
DishID
int
(
10
)
unsigned
NOT
NULL
AUTO_INCREMENT
,
CountryCode
char
(
3
)
NOT
NULL
,
DishTitle
varchar
(
64
)
NOT
NULL
,
calories
smallint
(
5
)
unsigned
DEFAULT
NULL
,
PRIMARY
KEY
(
DishID
)
PRIMARY
KEY
(
DishID
),
INDEX
i
USING
HASH
(
countrycode
,
calories
)
)
ENGINE
=
ndbcluster
;
--
error
ER_CANT_CREATE_TABLE
create
index
i
using
hash
on
nationaldish
(
countrycode
,
calories
);
drop
table
nationaldish
;
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