diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-12-30 13:40:36 +0100 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2018-01-09 14:12:41 +0300 |
commit | e6a7457653f66c74cf8743d10be52352939bcbdc (patch) | |
tree | da1dde3e8c146878684d4191bf606876eb9bcb06 /sql/share/errmsg-utf8.txt | |
parent | b06b5c3eab074017dc4f49716de3a17137aaa168 (diff) | |
download | mariadb-git-e6a7457653f66c74cf8743d10be52352939bcbdc.tar.gz |
SQL: derived, hiding, error messages
Many related changes.
Note that AS OF condition must always be pushed down to physical tables,
it cannot be applied to a derived or a view. Thus:
* no versioning for internal temporary tables, they can never store
historical data.
* remove special versioning code from mysql_derived_prepare and
remove ER_VERS_DERIVED_PROHIBITED - derived can have no historical
data and cannot be prohibited for system versioning related reasons.
* do not expand select list for derived/views with sys vers fields,
derived/views can never have historical data.
* remove special invisiblity rules for sys vers fields, they are no
longer needed after the previous change
* remove system_versioning_hide, it lost the meaning after the
previous change.
* remove ER_VERS_SYSTEM_TIME_CLASH, it's no "clash", the inner
AS OF clause always wins.
* non-versioned fields in a historical query
reword the warning text, downgrade to note, don't
replace values with NULLs
Diffstat (limited to 'sql/share/errmsg-utf8.txt')
-rw-r--r-- | sql/share/errmsg-utf8.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt index 0cf913bfac8..90e22e5e25a 100644 --- a/sql/share/errmsg-utf8.txt +++ b/sql/share/errmsg-utf8.txt @@ -7828,8 +7828,8 @@ ER_VERS_ENGINE_UNSUPPORTED ER_VERS_RANGE_UNITS_MISMATCH eng "Range units mismatch" -ER_NON_VERSIONED_FIELD_IN_VERSIONED_QUERY - eng "Attempt to read non-temporal field %`s in historical query" +ER_NON_VERSIONED_FIELD_IN_HISTORICAL_QUERY + eng "Non-versioned field %`s in historical query" ER_PARTITION_WRONG_TYPE eng "Wrong partitioning type, expected type: %`s" @@ -7861,12 +7861,6 @@ ER_VERS_RANGE_PROHIBITED ER_VERS_VIEW_PROHIBITED eng "Creating VIEW %`s is prohibited!" -ER_VERS_DERIVED_PROHIBITED - eng "Derived table is prohibited!" - -ER_VERS_SYSTEM_TIME_CLASH - eng "SYSTEM_TIME is not allowed outside historical %`s" - ER_VERS_UNUSED_CLAUSE eng "Unused clause: '%s'" |