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
1692d2de
Commit
1692d2de
authored
Oct 16, 2003
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed sqlstate for ER_WRONG_INDEX_NAME
removed unnesessary code from create.test
parent
c74da8bb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
include/sql_state.h
include/sql_state.h
+1
-0
mysql-test/r/create.result
mysql-test/r/create.result
+1
-4
mysql-test/t/create.test
mysql-test/t/create.test
+0
-1
No files found.
include/sql_state.h
View file @
1692d2de
...
...
@@ -159,3 +159,4 @@ ER_WARN_TOO_MANY_RECORDS, "01000", "",
ER_WARN_NULL_TO_NOTNULL
,
"01000"
,
""
,
ER_WARN_DATA_OUT_OF_RANGE
,
"01000"
,
""
,
ER_WARN_DATA_TRUNCATED
,
"01000"
,
""
,
ER_WRONG_INDEX_NAME
,
"42000"
,
""
,
mysql-test/r/create.result
View file @
1692d2de
...
...
@@ -70,10 +70,7 @@ ERROR 42000: Incorrect table name ''
create table t1 (`` int);
ERROR 42000: Incorrect column name ''
create table t1 (i int, index `` (i));
ERROR HY000: Incorrect index name ''
drop table if exists t1;
Warnings:
Note 1051 Unknown table 't1'
ERROR 42000: Incorrect index name ''
create table t1 (a int auto_increment not null primary key, B CHAR(20));
insert into t1 (b) values ("hello"),("my"),("world");
create table t2 (key (b)) select * from t1;
...
...
mysql-test/t/create.test
View file @
1692d2de
...
...
@@ -74,7 +74,6 @@ drop table if exists ``;
create
table
t1
(
``
int
);
--
error
1279
create
table
t1
(
i
int
,
index
``
(
i
));
drop
table
if
exists
t1
;
#
# Test of CREATE ... SELECT with indexes
...
...
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