You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#27745526: DIFFERENCES BETWEEN WL#6379 AND ACTUAL DD TABLE DEFINITIONS
We need to modify the DD table definitions to be consistent with the
contents of WL#6379. The following changes are done in this patch:
1. The TIMESTAMP fields 'created' and 'last_altered' have had their
DEFAULT and ON UPDATE clauses removed, since these are obsolete
due to the DD tables not being updated with DML. The exception
is the table 'st_spatial_reference_systems'. Here, tha clauses
are kept since the table is populated by means of SQL DML.
2. The 'engine' field, which is present in various tables, now uses the
collation 'utf8_general_ci'.
3. The index on 'character_sets.default_collation_id' is changed from
non-unique to unique.
4. The type of 'collations.pad_attribute' is changed from VARCHAR to ENUM.
5. A non-unique index is added on 'table_partitions.parent_partition_id'.
6. A foreign key is added on 'table_partitions.parent_partition_id'.
7. The type of 'tables.options' is changed from 'MEDIUMBLOB' to
'MEDIUMTEXT'.
8. The ENUM type of 'tables.partition_type' is extended by an additional
entry 'AUTO_LINEAR'.
9. A non-unique index is added on 'tables.type'.
10. Non-unique indexes are added on 'tables.view_connection_collation_id'
and 'tables.view_client_collation_id'.
11. Foreign keys are added on 'tables.view_client_collation_id' and
'tables.view_connection_collation_id'.
Change-Id: I2f22423a1d0b2a3381fdea401f2acbcf8ea124a5
@@ -714,8 +714,8 @@ IS_DETERMINISTIC varchar(3) NO
714
714
SQL_DATA_ACCESS enum('CONTAINS SQL','NO SQL','READS SQL DATA','MODIFIES SQL DATA') NO NULL
715
715
SQL_PATH binary(0) YES NULL
716
716
SECURITY_TYPE enum('DEFAULT','INVOKER','DEFINER') NO NULL
717
-
CREATED timestamp NO CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP
718
-
LAST_ALTERED timestamp NO CURRENT_TIMESTAMP
717
+
CREATED timestamp NO NULL
718
+
LAST_ALTERED timestamp NO NULL
719
719
SQL_MODE set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','NOT_USED_9','NOT_USED_10','NOT_USED_11','NOT_USED_12','NOT_USED_13','NOT_USED_14','NOT_USED_15','NOT_USED_16','NOT_USED_17','NOT_USED_18','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NOT_USED_29','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH','TIME_TRUNCATE_FRACTIONAL') NO NULL
0 commit comments