- 24 Apr, 2016 7 commits
-
-
Sergei Golubchik authored
add a test case
-
Sergei Golubchik authored
let handler::check_if_supported_inplace_alter() (that detects frm-only changes) to work for partitioned tables too.
-
Sergei Golubchik authored
clarify Alter_inplace_info::ALTER_PARTITIONED
-
Sergei Golubchik authored
use get_current_user() to distinguish user name without a hostname and a role name. move privilege checks inside mysql_show_grants() to remove duplicate get_current_user() calls
-
-
Andrew McDonnell authored
-
Sergei Golubchik authored
make storage engine RPMs require the exact server version RPM: "MariaDB = %{version}-%{release}", other plugins require simply "MariaDB", as before.
-
- 22 Apr, 2016 4 commits
-
-
Sergey Vojtovich authored
ha_oqgraph.so exit() was called by Judy error handler. This patch overrides Judy error handler so that it calls abort() instead of exit().
-
Sergey Vojtovich authored
There was a race condition between delayed insert thread and connection thread actually performing INSERT/REPLACE DELAYED. It was triggered by concurrent INSERT/REPLACE DELAYED and statements that flush the same table either explicitely or implicitely (like FLUSH TABLE, ALTER TABLE, ...). This race condition was caused by a gap in delayed thread shutdown logic, which allowed concurrent connection running INSERT/REPLACE DELAYED to change essential data consequently leaving table in semi-consistent state. Specifically query thread could decrease "tables_in_use" reference counter in this gap, causing delayed insert thread to shutdown without releasing auto increment and table lock. Fixed by extending condition so that delayed insert thread won't shutdown until there're locked tables. Also removed volatile qualifier from tables_in_use and stacked_inserts since they're supposed to be protected by mutexes.
-
Jan Lindström authored
try to use space->name instead.
-
Jan Lindström authored
Problem was that in-place online alter table was used on a table that had mismatch between MySQL frm file and InnoDB data dictionary. Fixed so that traditional "Copy" method is used if the MySQL frm and InnoDB data dictionary is not consistent.
-
- 21 Apr, 2016 1 commit
-
-
Igor Pashev authored
Due to a typo, the wrong grant_table was used when fetching privileges for roles. Signed-off-by: Vicențiu Ciorbaru <vicentiu@mariadb.org>
-
- 20 Apr, 2016 1 commit
-
-
Sergey Vojtovich authored
MDEV-9278 - Debian: the Lintian complains about "shlib-calls-exit" in ha_spider.so Handlersocket handles errors in a way that it aborts program execution. In most cases it is done via abort(). One exception was host/service resolution failure, which was aborted with exit(). As a workaround replaced this exit() with abort() for symmetry with other error handling.
-
- 04 Apr, 2016 1 commit
-
-
Elena Stepanova authored
Previous fix using wait condition did not work because of MDEV-9867, so we have to use conditional sleep instead. Sleep will only happen if the test is executed after another one which also ran buffer pool dump without server restart between two tests
-
- 24 Mar, 2016 1 commit
-
-
Oleksandr Byelkin authored
Fixed calculating pointer to memory allocated for names in numeric format in unpacking procedure.
-
- 21 Mar, 2016 11 commits
-
-
Sergei Golubchik authored
10.0 part of the fix
-
Sergei Golubchik authored
-
Sergei Golubchik authored
update main.delayed test after 38b89a61 ALTER TABLE ... COMMENT is no longer blocking, use a different ALTER TABLE variant.
-
Sergei Golubchik authored
Fixed more cases for MDEV-6282
-
Sergei Golubchik authored
don't strcpy a string to itself
-
Sergei Golubchik authored
s/Execute/Query/ to account for --ps-protocol
-
Sergei Golubchik authored
-
Sergei Golubchik authored
typo. the code was not matching the comment
-
Sergei Golubchik authored
fix a buffer overflow in extension_based_table_discovery (that only happens in debug builds)
-
Bernard Spil authored
Remove Linuxism. Works fine with a POSIX-compat shell
-
Sergei Golubchik authored
don't crash in debug builds. issue an error message on corrupt event
-
- 18 Mar, 2016 1 commit
-
-
Sergei Golubchik authored
5.5 part of the fix
-
- 17 Mar, 2016 3 commits
-
-
Elena Stepanova authored
-
Sergei Golubchik authored
don't allocate all the stack, leave some stack for function calls. To test I added the following line: alloca_size = available_stack_size() - X at X=4096 or less mysqld crashed, at 8192 mtr test passed.
-
Sergei Golubchik authored
remove erroneous free() call
-
- 16 Mar, 2016 1 commit
-
-
Sergey Vojtovich authored
Update sponsors
-
- 15 Mar, 2016 1 commit
-
-
iangilfillan authored
-
- 12 Mar, 2016 1 commit
-
-
Elena Stepanova authored
It could have happened that one of previous tests already executed buffer pool dump and set the status variable value, so when it's been checked, the check passes too early, before the dump starts and the dump file is created. See more detailed explanation in MDEV-9713. Fixed by waiting for the current time to change in case it equals to the timestamp in the status variable, and then checking that the status variable not only matches the expected pattern, but also differs from the previous value, whatever it was.
-
- 11 Mar, 2016 1 commit
-
-
Jan Lindström authored
In row_search_for_mysql function on XtraDB there was a old logic where null bytes were inited. This caused server to think that key value is null and continue on incorrect path.
-
- 10 Mar, 2016 1 commit
-
-
Sergey Vojtovich authored
Logrotate script assumed an error if mysqladmin failed to connect to server and there's mysqld process exists. However there can be non-system instance of mysqld running (e.g. in docker) making this assumption wrong. Check pid file existance instead.
-
- 09 Mar, 2016 1 commit
-
-
Sergey Vojtovich authored
Update AskMonty and Atlassian references to MariaDB
-
- 08 Mar, 2016 1 commit
-
-
iangilfillan authored
-
- 07 Mar, 2016 1 commit
-
-
Sergey Vojtovich authored
Fix spelling: occurred, execute, which etc
-
- 04 Mar, 2016 1 commit
-
-
Otto Kekäläinen authored
-
- 03 Mar, 2016 1 commit
-
-
Kristian Nielsen authored
There was a race between end_slave() and cleanup code at the end of handle_slave_sql(). This could cause access to master_info_index and global_rpl_thread_pool after they had been freed. Fix by skipping that cleanup if server shutdown is in progress, as is done in other parts of the code as well (the cleanup, which stops worker threads that are not needed anymore, is redundant anyway when the server is shutting down).
-