[Maria-developers] How correctly allocate memory to avoid problems with 2nd execution (instruction)

2016-12-21 Thread Oleksandr Byelkin
Hi! It is for all who decide to write or already is writing something for server. There is 2 ways to execute query/statement: 1) conventional (one time) 2) with storing the statement and executing it many times (Prepared statements (PS)/ Stored Procedures(SP)) Also there is so called

Re: [Maria-developers] aria engine crash at recovery

2016-12-21 Thread Roberto Spadim
# /opt/mariadb/mariadb-10.1.20-linux-x86_64/bin/aria_read_log --aria-log-dir-path=/home/mysql/data/local/ --apply --silent --start-from-checkpoint Starting from checkpoint (68,0x5802896) TRACE of the last aria_read_log /opt/mariadb/mariadb-10.1.20-linux-x86_64/bin/aria_read_log: Aria engine:

Re: [Maria-developers] aria engine crash at recovery

2016-12-21 Thread Roberto Spadim
# aria_read_log --aria-log-dir-path=/home/mysql/data/local/ --apply --silent --start-from-checkpoint Starting from checkpoint (68,0x5802896) TRACE of the last aria_read_log aria_read_log: Aria engine: starting recovery recovered pages: 0% 3082852397% 0%Segmentation fault ​ 2016-12-22 4:19

Re: [Maria-developers] aria engine crash at recovery

2016-12-21 Thread Roberto Spadim
information at crash ​ 161222 2:52:15 [ERROR] mysqld got signal 11 ; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware.

[Maria-developers] aria engine crash at recovery

2016-12-21 Thread Roberto Spadim
hi guys i got a crash and aria engine don't startup, any help? 161222 03:41:13 mysqld_safe Starting mysqld daemon with databases from /home/mysql/data/local/ 2016-12-22 3:41:13 139878188566400 [Warning] 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release. 2016-12-22

[Maria-developers] Fwd: Update of RPM layout

2016-12-21 Thread Michal Schorm
Hello all, I went through an idea [1] to lighten the server package. I tested it, and I found out, I can save about 40MB of space, if I'd move all Perl utilites to a standalone subpackage. It would make sense to move them, so the users don't need to install Perl with the server package.

Re: [Maria-developers] Please review MDEV-10386 Assertion `fixed == 1' failed in virtual String* Item_func_conv_charset::val_str(String*)

2016-12-21 Thread Sergei Golubchik
Hi, Alexander! On Dec 21, Alexander Barkov wrote: > >> diff --git a/sql/item.cc b/sql/item.cc > >> index 53666aa..44bd620 100644 > >> --- a/sql/item.cc > >> +++ b/sql/item.cc > >> @@ -1164,7 +1164,9 @@ Item > >> *Item_cache::safe_charset_converter(CHARSET_INFO *tocs) > >>if (conv == example)