Commit graph

129 commits

Author SHA1 Message Date
Elena Stepanova
5fb973b020 Increment the version number 2014-02-01 02:41:12 +04:00
laasya.moduludu@oracle.com
8e9bb710ba Raise version number after cloning 5.5.36 2014-01-06 11:43:05 +01:00
Elena Stepanova
2ddbe0ec81 Increment the version number 2013-12-28 20:36:57 +04:00
Elena Stepanova
eea310e498 Increment the version number 2013-11-22 20:03:36 +04:00
Elena Stepanova
888efa0654 Increment the version number 2013-11-19 16:26:40 +04:00
Michael Widenius
192678e7bf MDEV-5241: Collation incompatibilities with MySQL-5.6
- Character set code & tests from Alexander Barkov
- Integration with ALTER TABLE, REPAIR and open_table from Monty

The problem was that MySQL 5.6 added some croatian and vitanamese character set collations that are incompatible with MariaDB.

The fix is to move the MariaDB conflicting collation numbers out of the region that MySQL is likely to use.
mysql_upgrade, REPAIR TABLE or ALTER TABLE will fix the collations.
If one tries to access and old incompatible table, one will get the error "Table upgrade required...."
After this patch, MariaDB supports all the MySQL character set collations and the old MariaDB croatian collations, which are closer to the latest standard than the MySQL versions.

New character sets:
ucs2_croatian_mysql561_uca_ci
utf8_croatian_mysql561_uca_ci
utf16_croatian_mysql561_uca_ci
utf32_croatian_mysql561_uca_ci
utf8mb4_croatian_mysql561_uca_ci

Other things:
- Fixed some compiler warnings
- mysql_upgrade prints information about repaired tables.
- Increased version number

VERSION:
  Increased VERSION number
client/mysqlcheck.c:
  Print repaired table name when using --verbose
include/m_ctype.h:
  Add new MariaDB collation regions that are not likely to conflict with MySQL
include/my_base.h:
  Added flag to detect if table was opened for ALTER TABLE
mysql-test/r/ctype_ldml.result:
  Updated result
mysql-test/r/ctype_uca.result:
  Updated result
mysql-test/r/ctype_upgrade.result:
  Updated result
mysql-test/r/ctype_utf16_uca.result:
  Updated result
mysql-test/r/ctype_utf32_uca.result:
  Updated result
mysql-test/r/ctype_utf8mb4_uca.result:
  Updated result
mysql-test/std_data/ctype_upgrade:
  Test files for testing upgrading of conflicting collations
mysql-test/suite/engines/funcs/r/db_alter_collate_ascii.result:
  New collations added
mysql-test/suite/engines/funcs/r/db_alter_collate_utf8.result:
  New collations added
mysql-test/suite/innodb/r/innodb_ctype_ldml.result:
  Updated test result
mysql-test/suite/innodb/t/innodb_ctype_ldml.test:
  Updated test result
mysql-test/suite/plugins/r/show_all_plugins.result:
  Updated version number
mysql-test/suite/roles/create_and_drop_role_invalid_user_table.result:
  Updated version number
mysql-test/t/ctype_ldml.test:
  Updated test
mysql-test/t/ctype_uca.test:
  Testing of new collations
mysql-test/t/ctype_upgrade.test:
  Testing of upgrading tables with old collations
  The test ensures that:
  - We will get an error if we try to open a table with old collations.
  - CHECK TABLE will detect that the table needs to be upgraded.
  - ALTER TABLE and REPAIR will fix the table.
  - mysql_upgrade works as expected
mysql-test/t/ctype_utf16_uca.test:
  Testing of new collations
mysql-test/t/ctype_utf32_uca.test:
  Testing of new collations
mysql-test/t/ctype_utf8mb4_uca.test:
  Testing of new collations
mysys/charset-def.c:
  Added new character sets
mysys/charset.c:
  Always give an error, if requested, if a character set didn't exist
sql/handler.cc:
  - Added upgrade_collation() to check if collation is compatible with old version
  - check_collation_compatibility() checks if we are using an old collation from MariaDB 5.5 or MySQL 5.6
  - ha_check_for_upgrade() returns HA_ADMIN_NEEDS_ALTER if we have an incompatible collation
sql/handler.h:
  Added new prototypes
sql/sql_table.cc:
  - Mark that tables are opened for ALTER TABLE
  - If table needs to be upgraded, ensure we are not using online alter table.
sql/table.cc:
  - If we are using an old incompatible collation, change to use the new one and mark table as incompatible.
  - Give an error if we try to open an incompatible table.
sql/table.h:
  Added error that table needs to be rebuild
storage/connect/ha_connect.cc:
  Fixed compiler warning
strings/ctype-uca.c:
  New character sets
2013-11-09 00:20:07 +02:00
Sergei Golubchik
0c6a40f2d5 increase the version 2013-11-07 13:22:19 +01:00
Sergei Golubchik
555af7c7aa increment the version 2013-11-05 17:30:22 +01:00
Murthy Narkedimilli
98beacfd10 Cloning the branch and raising the version number for 5.5.35 build 2013-11-04 11:56:38 +01:00
Sergei Golubchik
28ec372744 5.5.33a 2013-09-19 22:24:59 +02:00
balasubramanian.kandasamy@oracle.com
48d942e273 Raise version number after cloning 5.5.34 2013-08-27 09:08:49 +02:00
Sergei Golubchik
51e2806661 raise a version 2013-08-14 18:56:41 +02:00
hery.ramilison@oracle.com
44fb161490 Raise version number after cloning 5.5.33 2013-07-08 19:41:40 +02:00
Sergei Golubchik
4749d40c63 5.5 merge 2013-06-06 17:51:28 +02:00
unknown
36f35e622b Raise version number after cloning 5.5.32 2013-05-06 09:51:25 +02:00
balasubramanian.kandasamy@oracle.com
4dcd8b961e Raise version number after cloning 5.5.32 2013-05-06 09:51:25 +02:00
unknown
c080dc826c Raise version number after cloning 5.5.31 2013-03-05 12:19:07 +01:00
ramesh.maddali@oracle.com
856a588410 Raise version number after cloning 5.5.31 2013-03-05 12:19:07 +01:00
Sergei Golubchik
0af4b6c6ee 5.5 merge 2013-01-29 15:10:47 +01:00
Sergei Golubchik
aca8e7ed6b 5.3 merge 2013-01-15 19:07:46 +01:00
Sunanda Menon
b2f7b7fcd3 Raise version number after cloning 5.5.30 2013-01-08 07:28:41 +01:00
Sunanda Menon
b09e6e407a Raise version number after cloning 5.5.30 2013-01-08 07:28:41 +01:00
Sergei Golubchik
7c5f62a313 5.5.28a 2012-11-27 12:26:15 +01:00
unknown
20ca730f56 Raise version number after cloning 5.5.29 2012-11-03 05:06:09 +01:00
hery.ramilison@oracle.com
76cb5677ab Raise version number after cloning 5.5.29 2012-11-03 05:06:09 +01:00
Sergei Golubchik
9ced8f2a17 increase the version 2012-10-01 16:12:15 +02:00
unknown
42827de491 Raise version number after cloning 5.5.28 2012-08-24 19:49:47 +02:00
hery.ramilison@oracle.com
3a88a768df Raise version number after cloning 5.5.28 2012-08-24 19:49:47 +02:00
unknown
425f07eace Raise version number after cloning 5.5.27 2012-07-11 18:51:07 +02:00
hery.ramilison@oracle.com
e7dd7ac58b Raise version number after cloning 5.5.27 2012-07-11 18:51:07 +02:00
Sunanda Menon
bd223999dc Raising the VERSION number after 5.5.26 clone-off 2012-06-15 10:34:18 +02:00
Sunanda Menon
36b2d459ba Raising the VERSION number after 5.5.26 clone-off 2012-06-15 10:34:18 +02:00
Michael Widenius
83c02f3237 Increased the version number to 10.0
- Fixed code that was not ready for a major version number > 9
- Fixed test cases that assumed max major version number could be 9
Updated version number for depricated options (will be removed in a later commit)

VERSION:
  Version number 10.0.0
client/mysqlbinlog.cc:
  Added support for major version numbers > 9
cmake/mysql_version.cmake:
  Added support for version numbers that is 0
mysql-test/r/comments.result:
  Modified test to handle version number 100000
mysql-test/r/func_system.result:
  Modified test to handle version number 100000
mysql-test/r/log_state.result:
  Updated depricated error message
mysql-test/r/sp.result:
  Modified test to handle version number 100000
mysql-test/r/subselect4.result:
  Updated depricated error message
mysql-test/r/variables.result:
  Updated depricated error message
mysql-test/suite/rpl/r/rpl_conditional_comments.result:
  Modified test to handle version number 100000
mysql-test/suite/rpl/r/rpl_loaddatalocal.result:
  Modified test to handle version number 100000
mysql-test/suite/rpl/t/rpl_conditional_comments.test:
  Modified test to handle version number 100000
mysql-test/suite/rpl/t/rpl_loaddatalocal.test:
  Modified test to handle version number 100000
mysql-test/suite/sys_vars/r/debug_basic.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/engine_condition_pushdown_basic.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/log_basic.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/log_slow_queries_basic.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/multi_range_count_basic.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/rpl_recovery_rank_basic.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/sql_big_selects_func.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/sql_max_join_size_basic.result:
  Updated depricated error message
mysql-test/suite/sys_vars/r/sql_max_join_size_func.result:
  Updated depricated error message
mysql-test/t/comments.test:
  Modified test to handle version number 100000
mysql-test/t/file_contents.test:
  Modified test to handle version number 100000
mysql-test/t/func_system.test:
  Modified test to handle version number 100000
mysql-test/t/parser_not_embedded.test:
  Modified test to handle version number 100000
mysql-test/t/sp.test:
  Modified test to handle version number 100000
sql/mysqld.cc:
  Updated version number for depricated options (will be removed in a later commit)
sql/slave.cc:
  Modified test to handle version number 100000
  Better error messages
sql/sql_lex.cc:
  Modified test to handle version number 100000 in comment syntax
sql/sys_vars.cc:
  Updated version number for depricated options (will be removed in a later commit)
2012-05-31 22:39:11 +03:00
Joerg Bruehe
d8faf3f179 Raise version after cloning 5.5.25 2012-05-14 15:15:13 +02:00
Joerg Bruehe
0fbc7353ab Raise version after cloning 5.5.25 2012-05-14 15:15:13 +02:00
Joerg Bruehe
0af84363b1 Raise version number after cloning for the 5.5.24 build. 2012-04-16 12:36:21 +02:00
Joerg Bruehe
5bfa33da6e Raise version number after cloning for the 5.5.24 build. 2012-04-16 12:36:21 +02:00
Hery Ramilison
a4a5580ec4 Starting 5.5.23 build 2012-03-29 20:29:14 +02:00
Hery Ramilison
3865ce52e9 Starting 5.5.23 build 2012-03-29 20:29:14 +02:00
Hery Ramilison
409e2393cf cloning 5.5.22 2012-02-20 16:56:59 +01:00
Hery Ramilison
a7b4360086 cloning 5.5.22 2012-02-20 16:56:59 +01:00
Hery Ramilison
1bb15e78cf cloning 5.5.22 2012-02-20 16:54:54 +01:00
unknown
4f8bb56c63 starting 5.5.21 build 2012-01-30 18:33:55 +01:00
hery.ramilison@oracle
47365d4045 starting 5.5.21 build 2012-01-30 18:33:55 +01:00
Joerg Bruehe
0ab7ef6832 Raise version number after cloning 5.5.20 2011-12-16 19:42:58 +01:00
Joerg Bruehe
f2f0185a1d Raise version number after cloning 5.5.20 2011-12-16 19:41:35 +01:00
Joerg Bruehe
3116542403 Raise version number after cloning 5.5.20 2011-12-16 19:41:35 +01:00
Build Team
e065b124fd Bumped version number to 5.5.20 2011-11-23 12:33:59 +01:00
Build Team
a8a66874f5 Bumped version number to 5.5.20 2011-11-23 12:33:59 +01:00
Hery Ramilison
8b482e837b cloning 5.5.18 off 2011-10-26 20:44:18 +02:00