mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 07:35:32 +02:00
Fixed LP bug #930814.
This bug was introduced into mariadb 5.2 in the December 2010 with the patch that added a new engine property: the ability to support virtual columns. As a result of this bug the information from frm files for tables that contained virtual columns did not appear in the information schema tables.
This commit is contained in:
parent
028523e94d
commit
8c08349882
3 changed files with 29 additions and 2 deletions
|
|
@ -2339,8 +2339,8 @@ partititon_err:
|
|||
|
||||
/* Check virtual columns against table's storage engine. */
|
||||
if (share->vfields &&
|
||||
!(outparam->file &&
|
||||
(outparam->file->ha_table_flags() & HA_CAN_VIRTUAL_COLUMNS)))
|
||||
(outparam->file &&
|
||||
!(outparam->file->ha_table_flags() & HA_CAN_VIRTUAL_COLUMNS)))
|
||||
{
|
||||
my_error(ER_UNSUPPORTED_ENGINE_FOR_VIRTUAL_COLUMNS, MYF(0),
|
||||
plugin_name(share->db_plugin)->str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue