Oleksandr Byelkin
65e26bc1ba
Merge branch '10.1' into 10.2
2020-10-28 10:56:38 +01:00
Sergei Golubchik
897ea21e57
MDEV-23358 main.upgrade_MDEV-19650 fails with result difference
...
When including a generated file, always use <...>.
We need the compiler to find it in the BINDIR, not in the SRCDIR.
But when including as "..." SRCDIR is always searched first.
The bug can only happen in out-of-source builds, if there was an
in-source build before.
2020-10-22 19:26:58 +02:00
Sujatha
3a5e719e00
Merge branch '10.1' into 10.2
2020-09-28 14:03:46 +05:30
Monty
e0f5e7bc9e
Reverted wrong patch for mysql_upgrade
...
The original code was correct. mysql_upgrade calls the mysql client to
talk with MariaDB. It doesn't call itself!
2020-09-26 08:57:56 +10:00
Marko Mäkelä
9d0ee2dcb7
Merge 10.1 into 10.2
2020-09-22 15:21:43 +03:00
Daniel Black
269f9c948c
mysql_upgrade: fix error text
2020-09-12 09:37:40 +10:00
Sergei Golubchik
0b218df072
MDEV-22483 mysql_upgrade does not use current user as default for connecting to server
...
correct the help text
2020-05-08 14:13:19 +02:00
Oleksandr Byelkin
cb4da5da74
MDEV-20604: Duplicate key value is silently truncated to 64 characters in print_keydup_error
...
Added indication of truncated string for "s" and "M" formats
2020-04-01 11:34:32 +02:00
Sujatha
d9d3c222ca
MDEV-10047: table-based master info repository
...
Problem:
=======
When we upgrade from "mysql" to "mariadb" if slave is using repositories as
tables their data is completely ignored and no warning is issued in error log.
Fix:
===
"mysql_upgrade" test should check for the presence of data in
"mysql.slave_master_info" and "mysql.slave_relay_log_info" tables. When tables
have some data the upgrade script should report a warning which hints users
that the data in repository tables will be ignored.
2020-03-13 14:00:03 +05:30
Marko Mäkelä
26a14ee130
Merge 10.1 into 10.2
2019-05-13 17:54:04 +03:00
Vicențiu Ciorbaru
cb248f8806
Merge branch '5.5' into 10.1
2019-05-11 22:19:05 +03:00
Vicențiu Ciorbaru
5543b75550
Update FSF Address
...
* Update wrong zip-code
2019-05-11 21:29:06 +03:00
Marko Mäkelä
84129fb1b5
After-merge fix for commit 98eb9518db
...
The merge only covered 10.1 up to
commit 4d248974e0
.
Actually merge the changes up to
commit 0a534348c7
.
Also, remove the unused InnoDB field trx_t::abort_type.
2018-03-16 15:49:53 +02:00
Sergey Vojtovich
0a534348c7
MDEV-14265 - RPMLint warning: shared-lib-calls-exit
...
Eliminated last exit() call from libmysqld.
2018-03-16 13:26:52 +04:00
Marko Mäkelä
ece9c54e10
Merge 10.1 into 10.2
2017-12-14 08:40:01 +02:00
Marko Mäkelä
ce07d09fd3
Merge 10.0 into 10.1
2017-12-12 19:28:26 +02:00
Ian Gilfillan
622466644d
mysql_uprade --help and man page fixes
2017-11-22 22:30:32 +08:00
Vladislav Vaintroub
7354dc6773
MDEV-13384 - misc Windows warnings fixed
2017-09-28 17:20:46 +00:00
Sergei Golubchik
9e11e055ce
Merge branch '10.0' into 10.1
2017-07-07 11:30:03 +02:00
Sergei Golubchik
4d21313549
coverity medium warnings
2017-07-06 23:46:28 +02:00
Marko Mäkelä
b61700c221
Merge 10.0 into 10.1
2017-05-23 08:59:03 +03:00
Sergei Golubchik
7c03edf2fe
MDEV-6262 analyze the coverity report on mariadb
...
uploaded 10.0, analyzed everything with the Impact=High
(and a couple of Medium)
2017-05-19 20:26:56 +02:00
Sergei Golubchik
e74f2e2b86
Merge branch '10.0' 10.1
2017-04-28 20:19:32 +02:00
Sergei Golubchik
8d75a7533e
Merge branch '5.5' into 10.0
2017-04-21 18:34:06 +02:00
Sergei Golubchik
663068c6ee
Merge remote-tracking branch 'mysql/5.5' into 5.5
2017-04-11 10:18:04 -04:00
Sergei Golubchik
3d06f0f72c
MDEV-11942 BLACKHOLE is no longer active in 10.1 by default, mysql_upgrade not handling the situation
...
fix the patch. add tests
2017-03-10 18:21:25 +01:00
Hartmut Holzgraefe
c372388e48
make mysql_upgrade try to install missing storage engine plugins (MDEV-11942)
2017-03-10 18:21:24 +01:00
Ramil Kalimullin
060b1eadf4
BUG#25575605: SETTING --SSL-MODE=REQUIRED SENDS CREDENTIALS BEFORE VERIFYING SSL CONNECTION
...
MYSQL_OPT_SSL_MODE option introduced.
It is set in case of --ssl-mode=REQUIRED and permits only SSL connection.
(cherry picked from commit 3b2d28578c526f347f5cfe763681eff365731f99)
2017-03-10 14:11:26 +05:30
klemens
7be541f281
spelling fixes
2017-03-07 13:38:06 +04:00
Sergei Golubchik
87e3e67f43
Merge branch '10.0' into 10.1
2016-05-04 15:23:26 +02:00
Sergei Golubchik
872649c7ba
Merge branch '5.5' into 10.0
2016-04-26 23:05:26 +02:00
Sergei Golubchik
b069d19284
Merge branch 'mysql/5.5' into 5.5
2016-04-20 15:25:55 +02:00
Sergei Golubchik
3b0c7ac1f9
Merge branch '10.0' into 10.1
2016-03-21 13:02:53 +01:00
Otto Kekäläinen
1777fd5f55
Fix spelling: occurred, execute, which etc
2016-03-04 02:09:37 +02:00
Sergei Golubchik
a5679af1b1
Merge branch '10.0' into 10.1
2016-02-23 21:35:05 +01:00
Ramil Kalimullin
b3e9211e48
WL#9072: Backport WL#8785 to 5.5
2016-02-19 23:31:10 +04:00
Sergei Golubchik
271fed4106
Merge branch '5.5' into 10.0
2016-02-15 22:50:59 +01:00
Vicențiu Ciorbaru
2a47817896
MDEV-9225 mysql_upgrade segfault due to missing /etc/my.cnf.d
...
In case of missing includedir file, we would attempt to free a NULL
pointer. Make sure to guard against that.
2016-02-14 18:33:20 +02:00
Sergei Golubchik
ad94790f46
MDEV-9453 mysql_upgrade.exe error when mysql is migrated to mariadb
...
mysqlcheck tool can be used even if opt_systables_only is true
(to upgrade views from mysql - that overrides opt_systables_only)
2016-02-06 11:45:23 +01:00
Sergei Golubchik
a2bcee626d
Merge branch '10.0' into 10.1
2015-12-21 21:24:22 +01:00
Sergei Golubchik
1623995158
Merge branch '5.5' into 10.0
2015-12-13 00:10:40 +01:00
Sergei Golubchik
abf9d35213
Merge branch 'mysql/5.5' into 5.5
2015-12-09 10:00:49 +01:00
Sergei Golubchik
50a796dcba
MDEV-8825 mysql_upgrade leaks the admin password when it spawns a shell process to execute mysqlcheck
...
don't put common arguments on the command-line,
use a config file instead
2015-12-08 10:16:41 +01:00
Sergei Golubchik
c21b927145
mysql_upgrade cleanup
2015-12-08 10:13:13 +01:00
Sergei Golubchik
beded7d9c9
Merge branch '10.0' into 10.1
2015-11-19 15:52:14 +01:00
Shishir Jaiswal
1942506b82
DESCRIPTION
...
===========
When doing an upgrade, you execute mysql_upgrade. If
mysql_upgrade fails to connect or it connects with a user
without the proper privileges, it will return the error:
FATAL ERROR: Upgrade failed
which is not very informative.
ANALYSIS
========
In main() and check_version_match(), the condition for
errors are clubbed together and throw the same error msg.
The functions need to be splitted up and the corresponding
error msgs have to be displayed.
FIX
===
Splitted the functions and added the specific error msg.
2015-10-29 13:35:32 +05:30
Michael Widenius
18f7dfed17
Allow mysql_upgrade to enable event after table is corrected
...
new features:
set event_scheduler=ON|OFF will now try to init event scheduler
if it's not enabled
set event_scheduler=default will try to enable it based on
the value of the event_scheduler when mysqld was started
2015-10-21 16:31:11 +03:00
Sergei Golubchik
530a6e7481
Merge branch '10.0' into 10.1
...
referenced_by_foreign_key2(), needed for InnoDB to compile,
was taken from 10.0-galera
2015-09-03 12:58:41 +02:00
Jan Lindström
9a5787db51
Merge commit '96badb16afcf' into 10.0
...
Conflicts:
client/mysql_upgrade.c
mysql-test/r/func_misc.result
mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result
mysql-test/suite/innodb/r/innodb-fk.result
mysql-test/t/subselect_sj_mat.test
sql/item.cc
sql/item_func.cc
sql/log.cc
sql/log_event.cc
sql/rpl_utility.cc
sql/slave.cc
sql/sql_class.cc
sql/sql_class.h
sql/sql_select.cc
storage/innobase/dict/dict0crea.c
storage/innobase/dict/dict0dict.c
storage/innobase/handler/ha_innodb.cc
storage/xtradb/dict/dict0crea.c
storage/xtradb/dict/dict0dict.c
storage/xtradb/handler/ha_innodb.cc
vio/viosslfactories.c
2015-08-03 23:09:43 +03:00
Sergey Vojtovich
bfe2689cf6
MDEV-8379 - SUSE mariadb patches
...
Let mysql_upgrade return zero exit status when installation is up to date.
2015-07-31 14:29:04 +04:00