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
1a0b986e
Commit
1a0b986e
authored
Dec 27, 2017
by
Sergei Golubchik
Committed by
Aleksey Midenkov
Jan 09, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-14764 Confusing error message: Table `t1` must have at least one temporal column
compiler warning (mix of bool and enum in ?:)
parent
5dddbafa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/suite/versioning/r/alter.result
mysql-test/suite/versioning/r/alter.result
+1
-1
mysql-test/suite/versioning/r/create.result
mysql-test/suite/versioning/r/create.result
+1
-1
sql/share/errmsg-utf8.txt
sql/share/errmsg-utf8.txt
+1
-1
sql/sql_base.cc
sql/sql_base.cc
+1
-1
No files found.
mysql-test/suite/versioning/r/alter.result
View file @
1a0b986e
...
...
@@ -447,7 +447,7 @@ Warnings:
Warning 124 InnoDB rebuilding table to add column FTS_DOC_ID
create or replace table t (a int) with system versioning;
alter table t drop column a;
ERROR HY000: Table `t` must have at least one
temporal
column
ERROR HY000: Table `t` must have at least one
versioned
column
alter table t drop column a, drop column a;
ERROR 42000: Can't DROP COLUMN `a`; check that it exists
drop database test;
...
...
mysql-test/suite/versioning/r/create.result
View file @
1a0b986e
...
...
@@ -164,7 +164,7 @@ x21 int without system versioning
create or replace table t1 (
x22 int without system versioning
) with system versioning;
ERROR HY000: Table `t1` must have at least one
temporal
column
ERROR HY000: Table `t1` must have at least one
versioned
column
create or replace table t1 (a int) with system versioning;
create table tt1 like t1;
show create table tt1;
...
...
sql/share/errmsg-utf8.txt
View file @
1a0b986e
...
...
@@ -7880,7 +7880,7 @@ ER_VERS_DIFFERENT_TABLES
eng "Wrong parameters for %`s: system fields selected from different tables"
ER_VERS_TABLE_MUST_HAVE_COLUMNS
eng "Table %`s must have at least one
temporal
column"
eng "Table %`s must have at least one
versioned
column"
ER_VERS_NOT_VERSIONED
eng "Table %`s is not system-versioned"
...
...
sql/sql_base.cc
View file @
1a0b986e
...
...
@@ -7649,7 +7649,7 @@ insert_fields(THD *thd, Name_resolution_context *context, const char *db_name,
if
((
field
=
field_iterator
.
field
())
&&
(
field
->
vers_sys_field
()
?
field
->
vers_sys_invisible
(
thd
)
:
field
->
invisible
))
field
->
invisible
!=
VISIBLE
))
{
continue
;
}
...
...
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