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
The file applications/dashboard/settings/structure.php defines tables including Media and Ban which define column types of usmallint and uint.
The file library/database/class.mysqlstructure.php defines $validColumnTypes which does not include usmallint or uint.
As a result, when you run utility/structure or utility/update you get an exception "The specified data type (smallint unsigned) is not accepted for the MySQL database."
Either usmallint should not be used, or it should be added to the valid column types, I am not sure what the rationale was for excluding it.
My current fix is to change these types to int.
The text was updated successfully, but these errors were encountered:
Are you using percona? On our setups it looks like usmallint gets passed in the table creation to percona, which creates a column like this smallint(5) unsigned. Our driver knows how to understand that.
The file applications/dashboard/settings/structure.php defines tables including Media and Ban which define column types of usmallint and uint.
The file library/database/class.mysqlstructure.php defines $validColumnTypes which does not include usmallint or uint.
As a result, when you run utility/structure or utility/update you get an exception "The specified data type (smallint unsigned) is not accepted for the MySQL database."
Either usmallint should not be used, or it should be added to the valid column types, I am not sure what the rationale was for excluding it.
My current fix is to change these types to int.
The text was updated successfully, but these errors were encountered: