- 03 Nov, 2015 3 commits
-
-
Daniel Black authored
Now this error out and refers to galera_new_cluster.
-
Daniel Black authored
Use galera_new_cluster instead. systemctl start mariadb@bootstrap will generate error message, use_galera_new_cluster.conf is the name of the file that will generate this error. Output: Job for mariadb@bootstrap.service failed. See "systemctl status mariadb@bootstrap.service" and "journalctl -xe" for details. ● mariadb@bootstrap.service - MariaDB database server Loaded: loaded (/usr/lib/systemd/system/mariadb@.service; disabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/mariadb@bootstrap.service.d └─use_galera_new_cluster.conf Active: failed (Result: exit-code) since Thu 2015-10-15 19:27:52 CEST; 5s ago Process: 24334 ExecStart=/usr/bin/false (code=exited, status=1/FAILURE) Process: 24330 ExecStart=/usr/bin/echo Please use galera_new_cluster to start the mariadb service with --wsrep-new-cluster (code=exited, status=0/SUCCESS) Main PID: 24334 (code=exited, status=1/FAILURE) Oct 15 19:27:52 spaceman systemd[1]: Starting MariaDB database server... Oct 15 19:27:52 spaceman systemd[1]: mariadb@bootstrap.service: main process exited, code=exited, status=1/FAILURE Oct 15 19:27:52 spaceman systemd[1]: Failed to start MariaDB database server. Oct 15 19:27:52 spaceman systemd[1]: Unit mariadb@bootstrap.service entered failed state. Oct 15 19:27:52 spaceman systemd[1]: mariadb@bootstrap.service failed.
-
Elena Stepanova authored
-
- 01 Nov, 2015 1 commit
-
-
Alexey Botchkov authored
we don't test for not-existing gis extra in FRM.
-
- 30 Oct, 2015 3 commits
-
-
Nirbhay Choubey authored
Add comment about bind-address mentioned under galera section.
-
Jan Lindström authored
Redo log encryption used too short buffer when getting encryption keys.
-
Jan Lindström authored
-
- 29 Oct, 2015 6 commits
-
-
Oleksandr Byelkin authored
Part 2: removed hack workaround for bug we do not have.
-
Oleksandr Byelkin authored
small sixes of used_tables() usage
-
Sergei Golubchik authored
* clarify the comment in the preset file * make boolean --aria-encrypt-tables option to work without an argument
-
Sergei Golubchik authored
Restore changes that were lost in a merge. Originally from commit 66fd45af Author: Sergei Golubchik <serg@mariadb.org> Date: Mon Jun 8 21:06:56 2015 +0200 MDEV-7398 mysqld segfaults on FreeBSD 10.1 i386 when built with clang 3.4
-
Jan Lindström authored
Problem is that we expect key_version to be increasing so before we reset debug_key_management plugin key_version disable encryption.
-
Jan Lindström authored
Add diagnostics when externally stored field is freed but rollback ctx is not what we expect.
-
- 28 Oct, 2015 2 commits
-
-
Jan Lindström authored
At least some of the failures where due to fact that TMPDIR contained old file.
-
Jan Lindström authored
Incorrect parameter type was used. Fixed by casting data types to correct ones.
-
- 22 Oct, 2015 5 commits
-
-
Michael Widenius authored
-
Michael Widenius authored
THD is already available in Protocol
-
Michael Widenius authored
-
Alexander Barkov authored
and ErrConvString::ErrConvString(String *).
-
Alexander Barkov authored
The fix for MDEV-8918 previously fixed the problem reported in MDEV-7195. Adding a test case from MDEV-7195 only.
-
- 15 Oct, 2015 3 commits
-
-
Alexander Barkov authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 14 Oct, 2015 7 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
create_embedded_thd() must reset current_thd before returning, otherwise client [de-]allocations will be happening in that stray THD context
-
Alexander Barkov authored
It was used only temporary, during udf_handler::fix_fields() time, and then copied to the owner Item_func_or_sum object. Changing the code to use the Used_tables_and_const_cache part of the owner Item_sum_or_func object directly.
-
Daniel Black authored
mariadb-service-convert during migration can create a file containing ExecStartPre=/usr/sbin/sysctl -q -w vm.drop_caches=3 if the users my.cnf contains [mysqld_safe] flush_caches. This sysctl entry change requires root access. No existing ExecStartPre requires execution requires execution as another user. There is a comment in the mariadb{,@}.service.in that indicates mysqld_install which would require -u mysql to explicity change user to mysql from root since PermissionsStartOnly=true. Otherwise the following error would be generated: Oct 14 07:38:38 spaceman systemd[1]: Starting MariaDB database server... -- Subject: Unit mariadb.service has begun start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit mariadb.service has begun starting up. Oct 14 07:38:38 spaceman sysctl[10089]: sysctl: permission denied on key 'vm.drop_caches' Oct 14 07:38:38 spaceman systemd[1]: mariadb.service: control process exited, code=exited status=255 Oct 14 07:38:38 spaceman systemd[1]: Failed to start MariaDB database server.
-
Daniel Black authored
Systemd config files need absolute paths. LimitCore was ment to be LimitCORE Oct 14 07:28:04 spaceman systemd[1]: [/etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf:7] Unknown lvalue 'LimitCore' in section 'Service' Oct 14 07:28:04 spaceman systemd[1]: [/etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf:9] Executable path is not absolute, ignoring: sync Oct 14 07:28:04 spaceman systemd[1]: [/etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf:10] Executable path is not absolute, ignoring: sysctl -q -w vm.drop_caches=3
-
Daniel Black authored
During the review process OPTIONS was converted to MYSQLD_OPTS. In the script mariadb-service convert, the ExecStart of the system also uses this setting.
-
Nirbhay Choubey authored
-
- 12 Oct, 2015 6 commits
-
-
Sergey Vojtovich authored
Since MariaDB packages have absolute paths, they are marked as not relocatable by setting CPACK_RPM_PACKAGE_RELOCATABLE. According to logics of recent CPackRPM it is not enough: one needs to set CPACK_PACKAGE_RELOCATABLE additionally.
-
Sergey Vojtovich authored
After review/QA fixes.
-
Daniel Black authored
-
Oleksandr Byelkin authored
Problem: Procedure which uses stack of views first executed without most deep view. It fails but one view cached (as well as whole procedure). Then simultaniusely create the second view we lack and execute the procedure. In the beginning of procedure execution the view is not yet created so procedure used as it was cached (cache was not invalidated). But by the time we are trying to use most deep view it is already created. The problem with the view is that thd->select_number (first view was not parsed) so second view will get the same number. The fix is in keeping the thd->select_number correct even if we use cached views. In the proposed solution (to keep it simple) counter can be bigger then should but it should not create problem because numbers are still unique and situation is very rare.
-
Sergei Golubchik authored
-
Alexander Barkov authored
and thus reusing Used_tables_and_const_cache for Item_sum instead of declaring the same members inside Item_sum.
-
- 11 Oct, 2015 3 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
- 10 Oct, 2015 1 commit
-
-
Sergei Golubchik authored
and move the error reporting where it belongs
-