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
d10a2256
Commit
d10a2256
authored
Dec 12, 2005
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port r95 and r96 from branches/5.0 to trunk:
Add tests for >1K keys on 32-bit platforms. Clean up innodb_gis.test.
parent
2d78585b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
2 deletions
+33
-2
mysql-test/innodb.result
mysql-test/innodb.result
+13
-0
mysql-test/innodb.test
mysql-test/innodb.test
+19
-0
mysql-test/innodb_gis.test
mysql-test/innodb_gis.test
+1
-2
No files found.
mysql-test/innodb.result
View file @
d10a2256
...
...
@@ -2862,3 +2862,16 @@ truncate t4;
truncate t1;
truncate t3;
drop table t4,t3,t2,t1;
create table t1 (a varchar(255) character set utf8,
b varchar(255) character set utf8,
c varchar(255) character set utf8,
d varchar(255) character set utf8,
key (a,b,c,d)) engine=innodb;
drop table t1;
create table t1 (a varchar(255) character set utf8,
b varchar(255) character set utf8,
c varchar(255) character set utf8,
d varchar(255) character set utf8,
e varchar(255) character set utf8,
key (a,b,c,d,e)) engine=innodb;
ERROR 42000: Specified key was too long; max key length is 3072 bytes
mysql-test/innodb.test
View file @
d10a2256
...
...
@@ -1849,3 +1849,22 @@ truncate t1;
truncate
t3
;
drop
table
t4
,
t3
,
t2
,
t1
;
#
# Test that we can create a large (>1K) key
#
create
table
t1
(
a
varchar
(
255
)
character
set
utf8
,
b
varchar
(
255
)
character
set
utf8
,
c
varchar
(
255
)
character
set
utf8
,
d
varchar
(
255
)
character
set
utf8
,
key
(
a
,
b
,
c
,
d
))
engine
=
innodb
;
drop
table
t1
;
--
error
ER_TOO_LONG_KEY
create
table
t1
(
a
varchar
(
255
)
character
set
utf8
,
b
varchar
(
255
)
character
set
utf8
,
c
varchar
(
255
)
character
set
utf8
,
d
varchar
(
255
)
character
set
utf8
,
e
varchar
(
255
)
character
set
utf8
,
key
(
a
,
b
,
c
,
d
,
e
))
engine
=
innodb
;
mysql-test/innodb_gis.test
View file @
d10a2256
source
include
/
have_geometry
.
inc
;
--
source
include
/
have_innodb
.
inc
--
source
include
/
have_innodb
.
inc
SET
storage_engine
=
innodb
;
--
source
include
/
gis_generic
.
inc
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