Git Product home page Git Product logo

tokutek / mariadb-5.5 Goto Github PK

View Code? Open in Web Editor NEW
85.0 32.0 23.0 71.4 MB

TokuDB for MariaDB 5.5

Home Page: http://www.tokutek.com/products/tokudb-for-mysql/

License: GNU Lesser General Public License v2.1

Shell 0.78% CMake 0.64% C 50.34% C++ 43.36% Perl 2.88% R 0.04% Objective-C 0.50% Pascal 0.10% Puppet 0.01% SQLPL 0.07% Perl 6 0.01% Visual Basic 0.01% XS 0.02% Groff 0.04% PLSQL 0.87% Bison 0.04% Makefile 0.03% Awk 0.01% C# 0.26% HTML 0.01%

mariadb-5.5's Issues

MDEV-5405 partitions-99-hash fails on safe_mutex_unlock at mariadb/mysys/thr_mutex.c:420

During a non-combinations run of partitions-99-hash.yy, a crash occurs. The stack trace appears as shown below:

#0  0x00007f3dcedd3f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#0  0x00007f3dcedd3f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000000000b91c63 in my_write_core (sig=6) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/mysys/stacktrace.c:457
#2  0x00000000006f78ca in handle_fatal_signal (sig=6) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/signal_handler.cc:264
#3  <signal handler called>
#4  0x00007f3dce42df77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5  0x00007f3dce4315e8 in __GI_abort () at abort.c:90
#6  0x0000000000b984ba in safe_mutex_unlock (mp=<optimized out>, file=file@entry=0xcfaaa8 "/home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/myisam/mi_keycache.c", line=line@entry=87) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/mysys/thr_mutex.c:420
#7  0x00000000009155c9 in mi_assign_to_key_cache (info=0x7f3d88b5e260, key_map=<optimized out>, key_cache=0x7f3db3b2fae0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/myisam/mi_keycache.c:87
#8  0x00000000008f931c in ha_myisam::assign_to_keycache (this=0x7f3d8422b078, thd=0x7f3db3fec060, check_opt=<optimized out>) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/myisam/ha_myisam.cc:1237
#9  0x0000000000b6b969 in ha_partition::handle_opt_part (this=this@entry=0x7f3d95caa678, thd=thd@entry=0x7f3db3fec060, check_opt=check_opt@entry=0x7f3db13f9660, part_id=part_id@entry=0, flag=flag@entry=5) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/ha_partition.cc:1091
#10 0x0000000000b6bc2f in ha_partition::handle_opt_partitions (this=this@entry=0x7f3d95caa678, thd=thd@entry=0x7f3db3fec060, check_opt=check_opt@entry=0x7f3db13f9660, flag=flag@entry=5) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/ha_partition.cc:1246
#11 0x0000000000b6be02 in ha_partition::assign_to_keycache (this=0x7f3d95caa678, thd=0x7f3db3fec060, check_opt=0x7f3db13f9660) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/ha_partition.cc:1018
#12 0x00000000006773cc in mysql_admin_table(THD *, TABLE_LIST *, HA_CHECK_OPT *, const char *, thr_lock_type, bool, bool, uint, int (*)(THD *, TABLE_LIST *, HA_CHECK_OPT *), struct {...}, int (*)(THD *, TABLE_LIST *)) (thd=thd@entry=0x7f3db3fec060, tables=tables@entry=0x7f3d8d0ac1a0, check_opt=check_opt@entry=0x7f3db13f9660, operator_name=operator_name@entry=0xcf8a48 "assign_to_keycache", lock_type=lock_type@entry=TL_READ_NO_INSERT, open_for_modify=open_for_modify@entry=false, repair_table_use_frm=repair_table_use_frm@entry=false, extra_open_options=extra_open_options@entry=0, prepare_func=prepare_func@entry=0x0, operator_func=&virtual table offset 512, view_operator_func=view_operator_func@entry=0x0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_admin.cc:654
#13 0x00000000006790be in mysql_assign_to_keycache (thd=thd@entry=0x7f3db3fec060, tables=tables@entry=0x7f3d8d0ac1a0, key_cache_name=key_cache_name@entry=0x7f3db3fefe58) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_admin.cc:997
#14 0x00000000005a0fbd in mysql_execute_command (thd=thd@entry=0x7f3db3fec060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:2352
#15 0x00000000005a84f7 in mysql_parse (thd=thd@entry=0x7f3db3fec060, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f3db13fa5f0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:5812
#16 0x00000000005a908a in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f3db3fec060, packet=packet@entry=0x7f3db3ff1061 "", packet_length=packet_length@entry=49) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:1082
#17 0x00000000005aaa16 in do_command (thd=0x7f3db3fec060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:797
#18 0x000000000066b82e in do_handle_one_connection (thd_arg=thd_arg@entry=0x7f3db3fec060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_connect.cc:1266
#19 0x000000000066b920 in handle_one_connection (arg=0x7f3db3fec060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_connect.cc:1181
#20 0x00007f3dcedcef6e in start_thread (arg=0x7f3db13fb700) at pthread_create.c:311
#21 0x00007f3dce4f19cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

temporal/temporal_replication.yy fails at keysrange_in_leaf_partition at tokudb/ft-index/ft/ft-ops.cc:5771

Program terminated with signal 6, Aborted.
#0  0x00007ff8c1d13f2c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#0  0x00007ff8c1d13f2c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000000000b91c63 in my_write_core (sig=6) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/mysys/stacktrace.c:457
#2  0x00000000006f78ca in handle_fatal_signal (sig=6) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/signal_handler.cc:264
#3  <signal handler called>
#4  0x00007ff8c136d037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5  0x00007ff8c1370698 in __GI_abort () at abort.c:90
#6  0x00007ff8bfd3b746 in toku_do_backtrace_abort () at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ft-index/portability/toku_assert.cc:191
#7  0x00007ff8bfd3b7dc in toku_do_assert_fail (expr_as_string=expr_as_string@entry=0x7ff8bfd8fb88 "left_child_number <= right_child_number", function=function@entry=0x7ff8bfd918d0 <keysrange_in_leaf_partition(ft_handle*, ftnode*, __toku_dbt*, __toku_dbt*, int, int, unsigned long, unsigned long*, unsigned long*, unsigned long*, unsigned long*, unsigned long*, bool*)::__FUNCTION__> "keysrange_in_leaf_partition", file=file@entry=0x7ff8bfd8cf68 "/home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ft-index/ft/ft-ops.cc", line=line@entry=5771, caller_errno=0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ft-index/portability/toku_assert.cc:212
#8  0x00007ff8bfcd6769 in keysrange_in_leaf_partition (single_basement_node=<optimized out>, greater=<optimized out>, equal_right=<optimized out>, middle=<optimized out>, equal_left=<optimized out>, less=<optimized out>, estimated_num_rows=<optimized out>, right_child_number=<optimized out>, left_child_number=<optimized out>, key_right=<optimized out>, key_left=<optimized out>, node=<optimized out>, brt=<optimized out>) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ft-index/ft/ft-ops.cc:5771
#9  toku_ft_keysrange_internal (brt=brt@entry=0x7ff88f0b1fb0, node=0x7ff88f276320, key_left=key_left@entry=0x7ff8a41f57a0, key_right=key_right@entry=0x7ff8a41f57c0, may_find_right=may_find_right@entry=true, less=less@entry=0x7ff8a41f54f8, equal_left=equal_left@entry=0x7ff8a41f5500, middle=middle@entry=0x7ff8a41f5508, equal_right=equal_right@entry=0x7ff8a41f5510, greater=greater@entry=0x7ff8a41f5518, single_basement_node=single_basement_node@entry=0x7ff8a41f54f6, estimated_num_rows=estimated_num_rows@entry=14555, min_bfe=min_bfe@entry=0x7ff8a41f5590, match_bfe=match_bfe@entry=0x7ff8a41f5610, unlockers=unlockers@entry=0x7ff8a41f5570, ancestors=ancestors@entry=0x0, bounds=bounds@entry=0x7ff8bfd916b0 <infinite_bounds>) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ft-index/ft/ft-ops.cc:5835
#10 0x00007ff8bfcd72bb in toku_ft_keysrange (brt=0x7ff88f0b1fb0, key_left=key_left@entry=0x7ff8a41f57a0, key_right=key_right@entry=0x7ff8a41f57c0, less_p=less_p@entry=0x7ff8a41f5770, equal_left_p=equal_left_p@entry=0x7ff8a41f5778, middle_p=middle_p@entry=0x7ff8a41f5780, equal_right_p=equal_right_p@entry=0x7ff8a41f5788, greater_p=greater_p@entry=0x7ff8a41f5790, middle_3_exact_p=middle_3_exact_p@entry=0x7ff8a41f576f) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ft-index/ft/ft-ops.cc:5953
#11 0x00007ff8bfc83d24 in toku_db_keys_range64 (db=0x7ff88f0b7240, txn=0x7ff8a6644b00, keyleft=0x7ff8a41f57a0, keyright=0x7ff8a41f57c0, less=0x7ff8a41f5770, left=0x7ff8a41f5778, between=0x7ff8a41f5780, right=0x7ff8a41f5788, greater=0x7ff8a41f5790, middle_3_exact=0x7ff8a41f576f) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ft-index/src/ydb_db.cc:747
#12 0x00007ff8bfc62536 in ha_tokudb::records_in_range (this=0x7ff88f985078, keynr=1, start_key=<optimized out>, end_key=0x7ff8a41f5880) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ha_tokudb.cc:7395
#13 0x0000000000697c09 in handler::multi_range_read_info_const (this=0x7ff88f985078, keyno=keyno@entry=1, seq=0x7ff8a41f59b0, seq_init_param=<optimized out>, n_ranges_arg=<optimized out>, bufsz=bufsz@entry=0x7ff8a41f590c, flags=flags@entry=0x7ff8a41f5908, cost=cost@entry=0x7ff8a41f5fc0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/multi_range_read.cc:94
#14 0x0000000000699d30 in DsMrr_impl::dsmrr_info_const (this=0x7ff88f9854e0, keyno=1, seq=<optimized out>, seq_init_param=<optimized out>, n_ranges=<optimized out>, bufsz=0x7ff8a41f5f9c, flags=flags@entry=0x7ff8a41f5f98, cost=cost@entry=0x7ff8a41f5fc0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/multi_range_read.cc:1451
#15 0x00007ff8bfc50061 in ha_tokudb::multi_range_read_info_const (this=<optimized out>, keyno=<optimized out>, seq=<optimized out>, seq_init_param=<optimized out>, n_ranges=<optimized out>, bufsz=<optimized out>, flags=0x7ff8a41f5f98, cost=0x7ff8a41f5fc0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ha_tokudb_mrr_maria.cc:120
#16 0x00000000007d3fcc in check_quick_select (param=param@entry=0x7ff8a41f7be0, idx=idx@entry=1, index_only=false, tree=<optimized out>, update_tbl_stats=update_tbl_stats@entry=true, mrr_flags=mrr_flags@entry=0x7ff8a41f5f98, bufsize=bufsize@entry=0x7ff8a41f5f9c, cost=cost@entry=0x7ff8a41f5fc0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/opt_range.cc:10073
#17 0x00000000007d6a84 in get_key_scans_params (param=param@entry=0x7ff8a41f7be0, tree=tree@entry=0x7ff88fa39d60, index_read_must_be_used=index_read_must_be_used@entry=false, update_tbl_stats=update_tbl_stats@entry=true, read_time=read_time@entry=2.6333333333333333) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/opt_range.cc:6746
#18 0x00000000007e71c0 in SQL_SELECT::test_quick_select (this=this@entry=0x7ff88fb253a0, thd=thd@entry=0x7ff8ad2ea060, keys_to_use=..., keys_to_use@entry=..., prev_tables=prev_tables@entry=0, limit=limit@entry=1, force_quick_range=<optimized out>, ordered_output=ordered_output@entry=false) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/opt_range.cc:3100
#19 0x000000000081061f in check_quick (limit=1, force_quick_range=false, thd=0x7ff8ad2ea060, this=0x7ff88fb253a0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/opt_range.h:1003
#20 mysql_delete (thd=thd@entry=0x7ff8ad2ea060, table_list=0x7ff88fb24280, conds=0x7ff88fb24f30, order_list=order_list@entry=0x7ff8ad2edc88, limit=1, options=0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_delete.cc:210
#21 0x00000000005a390b in mysql_execute_command (thd=thd@entry=0x7ff8ad2ea060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:3105

check main.func_time failed

main.func_time                           w7 [ pass ]   8353
1904    
1905    MTR's internal check of the test case 'main.func_time' failed.
1906    This means that the test case does not preserve the state that existed
1907    before the test case was executed.  Most likely the test case did not
1908    do a proper clean-up. It could also be caused by the previous test run
1909    by this thread, if the server wasn't restarted.
1910    This is the diff of the states of the servers before and after the
1911    test case was executed:
1912    mysqltest: Logging to '/data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/7/tmp/check-mysqld_1.log'.
1913    mysqltest: Results saved in '/data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/7/tmp/check-mysqld_1.result'.
1914    mysqltest: Connecting to server localhost:16140 (socket /tmp/ORbMEWwJmv/7/mysqld.1.sock) as 'root', connection 'default', attempt 0 ...
1915    mysqltest: ... Connected.
1916    mysqltest: Start processing test commands from './include/check-testcase.test' ...
1917    mysqltest: ... Done processing test commands.
1918    --- /data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/7/tmp/check-mysqld_1.result     2014-02-11 08:54:08.531105135 -0500
1919    +++ /data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/7/tmp/check-mysqld_1.reject     2014-02-11 08:54:17.158050605 -0500
1920    @@ -313,7 +313,7 @@
1921     SQL_LOG_OFF    OFF
1922     SQL_LOW_PRIORITY_UPDATES       OFF
1923     SQL_MAX_JOIN_SIZE      18446744073709551615
1924    -SQL_MODE       
1925    +SQL_MODE       NO_ENGINE_SUBSTITUTION
1926     SQL_NOTES      ON
1927     SQL_QUOTE_SHOW_CREATE  ON
1928     SQL_SAFE_UPDATES       OFF
1929    
1930    mysqltest: Result length mismatch
1931    
1932    not ok

tokudb_version is null

In version 5.5.30-tokudb-7.0.4-MariaDB-log:

MariaDB [(none)]> show variables like 'tokudb_version';
+----------------+-------+
| Variable_name | Value |
+----------------+-------+
| tokudb_version | |
+----------------+-------+
1 row in set (0.00 sec)

This was not the case with earlier engines.

replication_basic.yy fails on __GI___assert_fail at mariadb/sql/protocol.cc:518

Program terminated with signal 6, Aborted.
#0  0x00007f51a29a0f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#0  0x00007f51a29a0f0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000000000b91c63 in my_write_core (sig=6) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/mysys/stacktrace.c:457
#2  0x00000000006f78ca in handle_fatal_signal (sig=6) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/signal_handler.cc:264
#3  <signal handler called>
#4  0x00007f51a1ffaf77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5  0x00007f51a1ffe5e8 in __GI_abort () at abort.c:90
#6  0x00007f51a1ff3d43 in __assert_fail_base (fmt=0x7f51a214af58 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xcc4966 "0", file=file@entry=0xc101d8 "/home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/protocol.cc", line=line@entry=518, function=function@entry=0xc10b60 <Protocol::end_statement()::__PRETTY_FUNCTION__> "void Protocol::end_statement()") at assert.c:92
#7  0x00007f51a1ff3df2 in __GI___assert_fail (assertion=0xcc4966 "0", file=0xc101d8 "/home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/protocol.cc", line=518, function=0xc10b60 <Protocol::end_statement()::__PRETTY_FUNCTION__> "void Protocol::end_statement()") at assert.c:101
#8  0x0000000000524714 in Protocol::end_statement (this=0x7f51873cd628) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/protocol.cc:518
#9  0x00000000005aa0a5 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f51873cd060, packet=<optimized out>, packet@entry=0x7f51873d2061 "DELETE FROM `AA` WHERE `col_int_key` BETWEEN 'msjbuklzlflgzedxwghsobsyredqqvlcidsdxhwdtqqdccmktjutjdlfzqunozpqesuasdakamishcvyqiykigwffzmnjojoolfauwefmbugevzhrcqymngehqrrgctnwzbctbirrelhhkpwpoiuwyzzoghacpfocdhvjpmxqskvccxjigrslibtclymfbmlvdesrqurgidtouyeatixzmqbbubvipquvwxgptqitmnsxodqvotkdiqyyqiysk' AND 'have' OR ((`col_datetime_nokey` > REPEAT(232, 'had')) AND (`col_time_key` IN ( NULL, DATEDIFF(NOW(), '2000-10-08'), 'sjbuklzlflg', REPEAT(224, 'that'), NULL )))", packet_length=packet_length@entry=467) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:1475
#10 0x00000000005aaa16 in do_command (thd=0x7f51873cd060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:797
#11 0x000000000066b82e in do_handle_one_connection (thd_arg=thd_arg@entry=0x7f51873cd060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_connect.cc:1266
#12 0x000000000066b920 in handle_one_connection (arg=0x7f51873cd060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_connect.cc:1181
#13 0x00007f51a299bf6e in start_thread (arg=0x7f518e4a5700) at pthread_create.c:311
#14 0x00007f51a20be9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Here is a copy of the gentest.pl command as well:

gentest.pl --gendata= --threads=64 --queries=10000000 --duration=300 --dsn=dbi:mysql:host=127.0.0.1:port=19300:user=root:database=test --grammar=conf/replication/replication_basic.yy

main.mysqld--help failed

+ --tokudb-alter-print-error 
+ Print errors for alter table operations
  --tokudb-analyze-time=# 
  analyze time
  --tokudb-backup-throttle=# 
@@ -884,6 +886,7 @@ The following options may be given as the first argument:
  TokuDB path to gdb for extra debug info on fatal signal
  --tokudb-hide-default-row-format 
  hide the default row format
+ (Defaults to on; use --skip-tokudb-hide-default-row-format to disable.)
  --tokudb-init-flags=# 
  Sets TokuDB DB_ENV->open flags
  --tokudb-last-lock-timeout=name 
@@ -1191,6 +1194,7 @@ time-format %H:%i:%s
 timed-mutexes FALSE
 tmp-table-size 16777216
 tokudb ON
+tokudb-alter-print-error FALSE
 tokudb-analyze-time 5
 tokudb-backup-throttle 18446744073709551615
 tokudb-block-size 4194304
@@ -1214,7 +1218,7 @@ tokudb-fs-reserve-percent 5
 tokudb-fsync-log-period 0
 tokudb-gdb-on-fatal TRUE
 tokudb-gdb-path /usr/bin/gdb
-tokudb-hide-default-row-format FALSE
+tokudb-hide-default-row-format TRUE

MDEV-5551 lots of killed mysqld connections

we have a customer that has observed problems related to the
interaction of the thread pools in mariadb 5.5.30 and tokudb 7.1.0.
the problem is that connections that stuck for 100's of seconds in the
Killed state when a big tokudb transaction commit is in progress. the
customer claims that this problem was resolved by turning the thread
pool OFF. have there been any fixes to the thread pool implementation
post the 5.5.30 release?

here is some information that may be useful.

the processlist showed 2838 client connections of which:

851 Killed
483 Sleep
1467 Connect
1 show processlist
1 processing a commit on a big delete from a tokudb table
35 blocked on a row lock held by the big delete

the Killed connections look like:
84847752 sfi_mysql 10.0.0.60:1814 sfi Killed 93 NULL 0.000
with the connection address and time slightly different

a gdb snapshot of the system at the time of the failure:
291 total threads
130 threads waiting on fil_aio_wait
52 threads waiting on tokudb's work_on_kibbutz
16 thread tokudb deserialization thread waiting
36 mysql update thread blocked on the tokudb lock tree
1thread executing a big tokudb delete transaction
40 threads in the thread pool get_event function
1 tokudb checkpoint thread blocked waiting for the LP MO lock, which
is held by the big txn commit thread
that leaves 15 misc worker threads that are not doing anything interesting

the gdb stacks for the thread pool threads are:
Thread 78 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 71 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 70 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 69 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 68 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 62 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 57 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 52 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 51 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 49 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 45 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 44 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 43 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 42 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 41 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 39 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 37 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 36 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 35 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 33 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 32 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 31 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 26 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 24 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 22 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 21 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 20 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 19 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 18 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 17 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 16 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 13 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 12 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 11 : epoll_wait , io_poll_wait , listener , get_event ,
worker_main , start_thread , clone
Thread 8 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 7 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 5 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 4 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 3 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone
Thread 2 : pthread_cond_timedwait@@GLIBC_2.3.2 ,
inline_mysql_cond_timedwait , get_event , worker_main , start_thread ,
clone

MDEV-5396 optimizer_subquery_no_outer_join.yy fails on toku_hton_assert_fail at storage/tokudb/hatoku_hton.cc:198

#0  0x00007f4ecee8df0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#0  0x00007f4ecee8df0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000000000b91c63 in my_write_core (sig=6) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/mysys/stacktrace.c:457
#2  0x00000000006f78ca in handle_fatal_signal (sig=6) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/signal_handler.cc:264
#3  <signal handler called>
#4  0x00007f4ece4e7f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5  0x00007f4ece4eb5e8 in __GI_abort () at abort.c:90
#6  0x00007f4eccd3c0b6 in toku_do_backtrace_abort () at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/tokudb/ft-index/portability/toku_assert.cc:191
#7  0x00007f4eccd3c14c in toku_do_assert_fail (expr_as_string=<optimized out>, function=<optimized out>, file=<optimized out>, line=<optimized out>, caller_errno=0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/tokudb/ft-index/portability/toku_assert.cc:212
#8  0x00007f4eccc7b0f0 in env_crash (db_env=<optimized out>, msg=<optimized out>, fun=<optimized out>, file=<optimized out>, line=<optimized out>, caller_errno=<optimized out>) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/tokudb/ft-index/src/ydb.cc:2236
#9  0x00007f4eccc566e6 in toku_hton_assert_fail (expr_as_string=expr_as_string@entry=0x7f4eccd7b4ce "r==0", fun=fun@entry=0x7f4eccd80f12 <ha_tokudb::index_end()::__FUNCTION__> "index_end", file=file@entry=0x7f4eccd7c710 "/home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/tokudb/ha_tokudb.cc", line=line@entry=4672, caller_errno=0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/tokudb/hatoku_hton.cc:198
#10 0x00007f4eccc62038 in ha_tokudb::index_end (this=0x7f4e914a7078) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/storage/tokudb/ha_tokudb.cc:4672
#11 0x00000000005db6cf in ha_index_end (this=0x7f4e914a7078) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/handler.h:2142
#12 ha_index_or_rnd_end (this=0x7f4e914a7078) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/handler.h:2186
#13 st_join_table::cleanup (this=this@entry=0x7f4e966dd0a0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_select.cc:10378
#14 0x00000000005e4097 in JOIN::cleanup (this=this@entry=0x7f4e966db078, full=full@entry=true) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_select.cc:10780
#15 0x00000000005e5017 in JOIN::destroy (this=0x7f4e966db078) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_select.cc:2918
#16 0x000000000062f980 in st_select_lex::cleanup (this=this@entry=0x7f4e96630468) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_union.cc:995
#17 0x000000000062fb4f in st_select_lex_unit::cleanup (this=this@entry=0x7f4e966307d0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_union.cc:860
#18 0x000000000062fa28 in st_select_lex::cleanup (this=this@entry=0x7f4eb39c3a60) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_union.cc:1002
#19 0x000000000062fb4f in st_select_lex_unit::cleanup (this=this@entry=0x7f4eb39c3388) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_union.cc:860
#20 0x00000000005a7335 in mysql_execute_command (thd=thd@entry=0x7f4eb39c0060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:4592
#21 0x00000000005a84f7 in mysql_parse (thd=thd@entry=0x7f4eb39c0060, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f4eaefb35f0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:5812

leak172 test fails

mariadb and mysql use a different debug variable.

 LOAD DATA INFILE 'leak172_t1.data' INTO TABLE `t1` fields terminated by ',';
 set session debug="+d,tokudb_end_bulk_insert_sleep";
+Warnings:
+Warning        1287    '@@debug' is deprecated and will be removed in a future release. Please use '@@debug_dbug' instead
 LOAD DATA INFILE 'leak172_t2.data' INTO TABLE `t2` fields terminated by ',';
 UPDATE t1, t2 SET t1.`c5` = 4 WHERE t1.`c6` <= 'o';
 ERROR HY000: Lock wait timeout exceeded; try restarting transaction

Dependency on GLIBCXX_3.4.15 breaks handlersocket on default RHEL6

Hello and thank you for TokuDB,

I also posted in the tokudb-user mailing list but just noticed that github is the place to report bugs.

On Red Hat Enterprise Linux Server release 6.X which has by default glibcxx 4.4 (glibc 2.12), when using mariadb-5.5.30-tokudb-7.0.1-linux-x86_64.tar.gz

INSTALL PLUGIN handlersocket SONAME 'handlersocket.so';
ERROR 1126 (HY000): Can't open shared library 'mariadb-5.5.30-tokudb-7.0.1-linux-x86_64/lib/plugin/handlersocket.so' (errno: 2 /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by mariadb-5.5.30-tokudb-7.0.1)

MariaDB have bintar downloads for GLIBC_2.14+ specifically - https://downloads.mariadb.org/mariadb/5.5.31/#os_group=linux_generic&file_type=tar_gz
The non GLIBC_2.14+ bintars from mariadb work on RHEL6 (including handlersocket) and I imagine on other OS versions with older versions of GLIBC(XX). I think mariadb are building on an OS with an older version of GLIBC(XX).

ldd mariadb-5.5.30-tokudb-7.0.1-linux-x86_64/lib/plugin/handlersocket.so
mariadb-5.5.30-tokudb-7.0.1-linux-x86_64/lib/plugin/handlersocket.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by mariadb-5.5.30-tokudb-7.0.1-linux-x86_64/lib/plugin/handlersocket.so)
linux-vdso.so.1 => (0x00007fff05a55000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007ff735986000)
libm.so.6 => /lib64/libm.so.6 (0x00007ff735701000)
libc.so.6 => /lib64/libc.so.6 (0x00007ff735360000)
/lib64/ld-linux-x86-64.so.2 (0x0000003763e00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007ff73514a000)

readelf -d mariadb-5.5.30-tokudb-7.0.1-linux-x86_64/lib/plugin/handlersocket.so

Dynamic section at offset 0x24e08 contains 27 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000e (SONAME) Library soname: [handlersocket.so]
0x000000000000000c (INIT) 0xbac8
0x000000000000000d (FINI) 0x20314
0x0000000000000019 (INIT_ARRAY) 0x224600
0x000000000000001b (INIT_ARRAYSZ) 8 (bytes)
0x000000000000001a (FINI_ARRAY) 0x224608
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x0000000000000004 (HASH) 0x158
0x0000000000000005 (STRTAB) 0x3c10
0x0000000000000006 (SYMTAB) 0xd48
0x000000000000000a (STRSZ) 17768 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x225160
0x0000000000000002 (PLTRELSZ) 5424 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0xa598
0x0000000000000007 (RELA) 0x85d0
0x0000000000000008 (RELASZ) 8136 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0x8560
0x000000006fffffff (VERNEEDNUM) 2
0x000000006ffffff0 (VERSYM) 0x8178
0x000000006ffffff9 (RELACOUNT) 81
0x0000000000000000 (NULL) 0x0

ldd mariadb-5.5.31-linux-x86_64/lib/plugin/handlersocket.so
linux-vdso.so.1 => (0x00007fff133ff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa468161000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fa467e5a000)
libm.so.6 => /lib64/libm.so.6 (0x00007fa467bd6000)
libc.so.6 => /lib64/libc.so.6 (0x00007fa467835000)
/lib64/ld-linux-x86-64.so.2 (0x0000003763e00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fa46761e000)

readelf -d mariadb-5.5.31-linux-x86_64/lib/plugin/handlersocket.so

Dynamic section at offset 0x278e8 contains 25 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000e (SONAME) Library soname: [handlersocket.so]
0x000000000000000c (INIT) 0xb038
0x000000000000000d (FINI) 0x22d58
0x0000000000000004 (HASH) 0x158
0x000000006ffffef5 (GNU_HASH) 0xc60
0x0000000000000005 (STRTAB) 0x3f68
0x0000000000000006 (SYMTAB) 0x1610
0x000000000000000a (STRSZ) 15189 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x227c28
0x0000000000000002 (PLTRELSZ) 4488 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x9eb0
0x0000000000000007 (RELA) 0x7ed0
0x0000000000000008 (RELASZ) 8160 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0x7e30
0x000000006fffffff (VERNEEDNUM) 3
0x000000006ffffff0 (VERSYM) 0x7abe
0x000000006ffffff9 (RELACOUNT) 80
0x0000000000000000 (NULL) 0x0

rpm -qf /usr/lib64/libstdc++.so.6
libstdc++-4.4.6-3.el6.x86_64

strings /usr/lib64/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBC_2.2.5
GLIBC_2.3
GLIBC_2.4
GLIBC_2.3.2
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH

nm mariadb-5.5.30-tokudb-7.0.1-linux-x86_64/lib/plugin/handlersocket.so | grep 'GLIBCXX_3.4.15'
U ZNSt8__detail15_List_node_base7_M_hookEPS0@@GLIBCXX_3.4.15
U _ZNSt8__detail15_List_node_base9_M_unhookEv@@GLIBCXX_3.4.15

nm mariadb-5.5.31-linux-x86_64/lib/plugin/handlersocket.so | grep List_node_base
U ZNSt15_List_node_base4hookEPS@@GLIBCXX_3.4
U _ZNSt15_List_node_base6unhookEv@@GLIBCXX_3.4

Red Hat EL6 does not by default have version > 4.5 of libstdc++6 with GLIBCXX_3.4.15.

I did notice in https://github.com/Tokutek/ft-engine/blob/master/README.md that GCC >= 4.7 is recommended and that I will have to pass --cc and --cxx options as the default is 4.7. I also noticed in https://github.com/Tokutek/ft-engine/issues/7#issuecomment-17050811 CentOS 5 is used with 4.7 installed because a C++11-compatible compiler is needed (http://gcc.gnu.org/gcc-4.7/cxx0x_status.html), and I can get these RPMs for EL(5|6) from devtools. From what I have read it looks like building the mariadb src (with tokudb) on EL6 with the default GCC will not work, I imagine the mariadb buildbots would detect this. Hmm, looks like I'll be trying GCC 4.7.2 from RH devtools:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Developer_Toolset/1/html/1.1_Release_Notes/ch-Features.html

Thanks again.

https://lists.launchpad.net/maria-developers/msg04821.html
https://bugs.launchpad.net/maria/+bug/1049621
http://www.sourceware.org/bugzilla/show_bug.cgi?id=12518

grep -A 5 '^VERSION' mariadb-5.5.30-tokudb-7.0.1-linux-x86_64/bin/mysqlbug
VERSION="5.5.30-tokudb-7.0.1"
COMP_CALL_INFO="CC='/usr/local/gcc-4.7/bin/gcc47' CFLAGS='-Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' CXX='/usr/local/gcc-4.7/bin/g++47' CXXFLAGS='-Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' LDFLAGS='' ASFLAGS=''"
COMP_RUN_INFO="CC='/usr/local/gcc-4.7/bin/gcc47' CFLAGS='-Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' CXX='/usr/local/gcc-4.7/bin/g++47' CXXFLAGS='-Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' LDFLAGS='' ASFLAGS=''"

grep -A 5 '^VERSION' mariadb-5.5.31-linux-x86_64/bin/mysqlbug
VERSION="5.5.31"
COMP_CALL_INFO="CC='/usr/bin/gcc' CFLAGS='-Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' CXX='/usr/bin/c++' CXXFLAGS='-Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' LDFLAGS='' ASFLAGS=''"
COMP_RUN_INFO="CC='/usr/bin/gcc' CFLAGS='-Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' CXX='/usr/bin/c++' CXXFLAGS='-Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1' LDFLAGS='' ASFLAGS=''"

partitions_range_hash_key_less_rand.yy crashes (Rerun pending)

Thread pointer: 0x0x7f2719337060
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f2734f6de28 thread_stack 0x48000
(my_addr_resolve failure: fork)
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(my_print_stacktrace+0x2b) [0xb91d68]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(handle_fatal_signal+0x2d8) [0x6f7654]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0) [0x7f2734482bb0]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld() [0xb62d0b]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld() [0xb6c027]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld() [0xb6c33b]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld() [0x6f7db9]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(plugin_foreach_with_mask(THD*, char (*)(THD*, st_plugin_int**, void*), int, unsigned int, void*)+0x242) [0x5b13d2]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(ha_discover(THD*, char const*, char const*, unsigned char**, unsigned long*)+0xc4) [0x6ff31d]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(ha_check_if_table_exists(THD*, char const*, char const*, bool*)+0x5e) [0x6ff3bb]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(check_if_table_exists(THD*, TABLE_LIST*, bool, bool*)+0x1c9) [0x557026]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, Open_table_context*)+0x675) [0x56043e]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int, Prelocking_strategy*)+0x5af) [0x5619c7]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(open_and_lock_tables(THD*, TABLE_LIST*, bool, unsigned int, Prelocking_strategy*)+0x96) [0x5625c7]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(mysql_execute_command(THD*)+0x11bb) [0x5a153a]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(mysql_parse(THD*, char*, unsigned int, Parser_state*)+0x15d) [0x5a84f7]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0xa23) [0x5a908a]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(do_command(THD*)+0x263) [0x5aaa16]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(do_handle_one_connection(THD*)+0x12c) [0x66b82e]
/mnt/ssd/data/mariadb-5.5.34-tokudb-1386006533-debug-e-linux-x86_64/bin/mysqld(handle_one_connection+0x52) [0x66b920]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7f6e) [0x7f273447af6e]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2733b9d9cd]

tokudb.alter_table.mod_enum failed

@ -26,7 +26,7 @@
3930     set tokudb_disable_hot_alter=0;
3931     set tokudb_disable_slow_alter=1;
3932     ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
3933    -ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this MySQL version
3934    +ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this MariaDB version
3935     set tokudb_disable_hot_alter=1;
3936     set tokudb_disable_slow_alter=0;
3937     ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value3');
3938    @@ -46,7 +46,7 @@
3939     set tokudb_disable_hot_alter=0;
3940     set tokudb_disable_slow_alter=1;
3941     ALTER TABLE test_enum MODIFY COLUMN col2 ENUM('value1','value2','value4');
3942    -ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this MySQL version
3943    +ERROR 42000: Table 'test_enum' uses an extension that doesn't exist in this MariaDB version

check rpl.rpl_stm_tokudb failed

rpl.rpl_stm_tokudb 'mix'                 w4 [ pass ]   1295
357 
358 MTR's internal check of the test case 'rpl.rpl_stm_tokudb' failed.
359 This means that the test case does not preserve the state that existed
360 before the test case was executed.  Most likely the test case did not
361 do a proper clean-up. It could also be caused by the previous test run
362 by this thread, if the server wasn't restarted.
363 This is the diff of the states of the servers before and after the
364 test case was executed:
365 mysqltest: Logging to '/data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/4/tmp/check-mysqld_2.log'.
366 mysqltest: Results saved in '/data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/4/tmp/check-mysqld_2.result'.
367 mysqltest: Connecting to server localhost:16101 (socket /tmp/ORbMEWwJmv/4/mysqld.2.sock) as 'root', connection 'default', attempt 0 ...
368 mysqltest: ... Connected.
369 mysqltest: Start processing test commands from './include/check-testcase.test' ...
370 mysqltest: ... Done processing test commands.
371 --- /data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/4/tmp/check-mysqld_2.result     2014-02-11 08:36:49.831672134 -0500
372 +++ /data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/4/tmp/check-mysqld_2.reject     2014-02-11 08:36:51.352662516 -0500
373 @@ -834,4 +834,4 @@
374  VARIABLE_NAME  VARIABLE_VALUE
375  DEBUG_SYNC     ON - current signal: ''
376  Variable_name  Value
377 -Slave_open_temp_tables 0
378 +Slave_open_temp_tables 1
379 
380 mysqltest: Result content mismatch
381 
382 not ok

main.join_outer_innodb failed

@@ -451,7 +451,7 @@
 1      SIMPLE  t14     eq_ref  PRIMARY PRIMARY 2       test.t1.a8      1       Using where
 1      SIMPLE  t15     eq_ref  PRIMARY PRIMARY 2       test.t1.a9      1       Using where; Using index
 1      SIMPLE  t16     ref     PRIMARY PRIMARY 2       test.t15.o1     1       Using where
-1      SIMPLE  t10     ALL     PRIMARY NULL    NULL    NULL    3       Using where; Using join buffer (flat, BNL join)
+1      SIMPLE  t10     index   PRIMARY PRIMARY 1       NULL    3       Using where; Using join buffer (flat, BNL join)
 explain select * from v1;
 id     select_type     table   type    possible_keys   key     key_len ref     rows    Extra
 1      SIMPLE  t1      ALL     a4,a6,a5,a7     NULL    NULL    NULL    3       Using where
@@ -473,7 +473,7 @@
 1      SIMPLE  t14     eq_ref  PRIMARY PRIMARY 2       test.t1.a8      1       Using where
 1      SIMPLE  t15     eq_ref  PRIMARY PRIMARY 2       test.t1.a9      1       Using where; Using index
 1      SIMPLE  t16     ref     PRIMARY PRIMARY 2       test.t15.o1     1       Using where
-1      SIMPLE  t10     ALL     PRIMARY NULL    NULL    NULL    3       Using where; Using join buffer (flat, BNL join)
+1      SIMPLE  t10     index   PRIMARY PRIMARY 1       NULL    3       Using where; Using join buffer (flat, BNL join)
 drop view v1;
 drop table t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16;

check rpl.rpl_ddl failed

rpl.rpl_ddl 'innodb_plugin,mix'          w2 [ pass ]   1370
91  
92  MTR's internal check of the test case 'rpl.rpl_ddl' failed.
93  This means that the test case does not preserve the state that existed
94  before the test case was executed.  Most likely the test case did not
95  do a proper clean-up. It could also be caused by the previous test run
96  by this thread, if the server wasn't restarted.
97  This is the diff of the states of the servers before and after the
98  test case was executed:
99  mysqltest: Logging to '/data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_2.log'.
100 mysqltest: Results saved in '/data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_2.result'.
101 mysqltest: Connecting to server localhost:16001 (socket /tmp/ORbMEWwJmv/2/mysqld.2.sock) as 'root', connection 'default', attempt 0 ...
102 mysqltest: ... Connected.
103 mysqltest: Start processing test commands from './include/check-testcase.test' ...
104 mysqltest: ... Done processing test commands.
105 --- /data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_2.result     2014-02-11 08:33:58.696754412 -0500
106 +++ /data/tokubuild/mysqls/mariadb-5.5.35-tokudb-7.1.5-rc.1-debug-e-linux-x86_64/mysql-test/var/2/tmp/check-mysqld_2.reject     2014-02-11 08:34:00.335744046 -0500
107 @@ -713,4 +713,4 @@
108  VARIABLE_NAME  VARIABLE_VALUE
109  DEBUG_SYNC     ON - current signal: ''
110  Variable_name  Value
111 -Slave_open_temp_tables 0
112 +Slave_open_temp_tables 1
113 
114 mysqltest: Result content mismatch
115 
116 not ok

cmdtrace163 crashes tokudb while running alter table add primary key with dup key error

the ft loader called the tokudb handler with an empty key. there are 2 bugs. the tokudb handler crashes if it tries to decode an empty key. the ft loader passes the tokudb handler an empty key.

Program terminated with signal 11, Segmentation fault.
(gdb) bt
#0  0x000000328bc0be32 in pthread_kill () from /lib64/libpthread.so.0
#1  0x0000000000b878b3 in my_write_core (sig=11) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/mysys/stacktrace.c:457
#2  0x00000000006ecdfa in handle_fatal_signal (sig=11) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/signal_handler.cc:264
#3  <signal handler called>
#4  unpack_toku_int (num_bytes=4, from_tokudb=0x1 <Address 0x1 out of bounds>, to_mysql=0x2aead044258b "") at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/hatoku_c\
mp.cc:400
#5  unpack_toku_key_field (key_part_length=4, field=0x2aead1bb2db8, from_tokudb=0x1 <Address 0x1 out of bounds>, to_mysql=0x2aead044258b "") at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mari\
adb-5.5.35/storage/tokudb/hatoku_cmp.cc:1514
#6  ha_tokudb::place_key_into_mysql_buff (this=this@entry=0x2aeadafc7078, key_info=<optimized out>, record=record@entry=0x2aead0442078 "\377\367\377", data=data@entry=0x1 <Address 0x1 out of bounds>) at \
/home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_tokudb.cc:2588
#7  0x00002aea9306644f in ha_tokudb::unpack_key (this=this@entry=0x2aeadafc7078, record=0x2aead0442078 "\377\367\377", key=key@entry=0x2aeabeab4828, index=0) at /home/tokubuild/builds/build-tokudb-7.1.5-\
rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_tokudb.cc:2608
#8  0x00002aea930664f2 in ha_tokudb::set_dup_value_for_pk (this=0x2aeadafc7078, key=key@entry=0x2aeabeab4828) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_to\
kudb.cc:8238
#9  0x00002aea93066573 in loader_dup_fun (db=<optimized out>, i=<optimized out>, err=-30996, key=0x2aeabeab4828, val=<optimized out>, error_extra=0x2aeadafc88b0) at /home/tokubuild/builds/build-tokudb-7.\
1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_tokudb.cc:518
#10 0x00002aea930bde47 in ft_loader_call_error_function (loader_error=0x2aeabeab4800) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ft-index/ft/ftloader-callback\
.cc:167
#11 0x00002aea930bd031 in toku_ft_loader_close (bl=0x2aeabeab4800, error_function=<optimized out>, error_extra=<optimized out>, poll_function=0x2aea9304d289 <loader_poll_fun(void*, float)>, poll_extra=0x\
2aeadafc88b0) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ft-index/ft/ftloader.cc:2858
#12 0x00002aea9308a7d2 in ft_loader_close_and_redirect (loader=0x2aeacffbab20) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ft-index/src/loader.cc:216
#13 0x00002aea9308b35b in toku_loader_close (loader=0x2aeacffbab20) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ft-index/src/loader.cc:469
#14 0x00002aea9306c070 in ha_tokudb::end_bulk_insert (this=0x2aeadafc7078, abort=abort@entry=false) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_tokudb.cc:33\
27
#15 0x00002aea9306c4dc in ha_tokudb::end_bulk_insert (this=<optimized out>) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_tokudb.cc:3391
#16 0x0000000000619248 in ha_end_bulk_insert (this=0x2aeadafc7078) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/handler.h:2220
#17 copy_data_between_tables (error_if_not_empty=false, keys_onoff=(unknown: 3330199904), deleted=<synthetic pointer>, copied=<synthetic pointer>, order=0x0, order_num=0, ignore=120, create=..., to=0x2ae\
ad0441260, from=0x2aead1bb5e60, thd=0x2aea8de87060) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/sql_table.cc:7737
#18 mysql_alter_table (thd=<optimized out>, new_db=<optimized out>, new_name=0x2aeabe85a1a8 "table100_tokudb_tokudb_small", create_info=0x2aeb2c846260, table_list=0x3e8, alter_info=0x2aeb2c8461c0, order_\
num=0, order=0x0, ignore=false, require_online=false) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/sql_table.cc:6941
#19 0x00000000006643c1 in Alter_table_statement::execute (this=<optimized out>, thd=0x2aea8de87060) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/sql_alter.cc:106
#20 0x000000000059c3d9 in mysql_execute_command (thd=thd@entry=0x2aea8de87060) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/sql_parse.cc:4526
#21 0x000000000059d7c5 in mysql_parse (thd=thd@entry=0x2aea8de87060, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x2aeb2c847870) at /home/tokubuild/builds/build-tokudb\
-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/sql_parse.cc:5813
#22 0x000000000059e356 in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x2aea8de87060, packet=packet@entry=0x2aea8de8c061 "ALTER TABLE `table100_tokudb_tokudb_small` ADD PRIMARY KEY (\
c2) USING HASH", packet_length=packet_length@entry=74) at /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/sql/sql_parse.cc:1082
(gdb) 
#9  0x00002aea93066573 in loader_dup_fun (db=<optimized out>, i=<optimized out>, err=-30996, key=0x2aeabeab4828, val=<optimized out>, error_extra=0x2aeadafc88b0) at /home/tokubuild/builds/build-tokudb-7.\
1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_tokudb.cc:518
518     in /home/tokubuild/builds/build-tokudb-7.1.5-rc.1-debug-e/mariadb-5.5.35/storage/tokudb/ha_tokudb.cc
(gdb) p *key
$1 = {data = 0x0, size = 0, ulen = 0, flags = 0}

ICP desc bug

I've (Zardosht) noticed a scenario with index condition pushdown (ICP) in MariaDB
that leads to really bad performance in TokuDB. I don't know if it is
a bug in ICP or if TokuDB is misusing/misunderstanding the API.

Here is the problem. Suppose we run the following query on the following schema:

SELECT * FROM foo WHERE col1 = '7' ORDER BY b desc

| foo   | CREATE TABLE `foo` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `col1` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `b` int(11) DEFAULT NULL,
  `c` int(11) DEFAULT NULL,
  `d` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  CLUSTERING KEY `col1_2` (`col1`,`b`)
) ENGINE=TokuDB AUTO_INCREMENT=8001 DEFAULT CHARSET=utf8
COLLATE=utf8_unicode_ci ROW_FORMAT=TOKUDB_ZLIB |

The output of explain is:

MariaDB [test]> explain SELECT * FROM foo WHERE col1 = '7' ORDER BY b desc;
+------+-------------+-------+------+---------------+--------+---------+-------+------+-------------+
| id   | select_type | table | type | possible_keys | key    | key_len
| ref   | rows | Extra       |
+------+-------------+-------+------+---------------+--------+---------+-------+------+-------------+
|    1 | SIMPLE      | foo   | ref  | col1_2        | col1_2 | 302
| const | 1320 | Using where |
+------+-------------+-------+------+---------------+--------+---------+-------+------+-------------+
1 row in set (2.32 sec)

The query is doing a reverse range scan, as it should.

We get handler::idx_cond_push called, but end_range is not set. As a
result, TokuDB thinks it can use index condition pushdown to filter
rows. As we do this and get to the end, because end_range is not set,
we never get a result of ICP_OUT_OF_RANGE, and always get a result of
ICP_NO_MATCH. So, when we go to retrieve that first row past the end
of the range, the row that will tell MySQL it should stop searching,
TokuDB never finds a row and never gets ICP_NO_MATCH. It scans to the
beginning of the index (because it is running in reverse order),
getting ICP_NO_MATCH for every row it encounters.

Although my index is clustering, I've seen this with a normal key as well.

If col1 is an int instead of the funky varchar, handler::idx_cond_push
is never called, so this problem does not exist.

It seems to me that if end_range is not set and we cannot reliably
learn when we go out of range, we should not have
handler::idx_cond_push called, otherwise we can get bad performance
such as the example above.

MDEV-5743 RQG test alter_online.yy causes segmentation fault and crash

During an RQG suites run, alter_online.yy causes a seg fault and crash. Here is the command that causes the crash:

./runall.pl --grammar=conf/runtime/alter_online.yy --duration=300 --queries=100000000 --threads=64 --basedir=/mnt/ssd/mysql/mariadb-5.5.35-tokudb-7.1.5-rc.3-debug-e-linux-x86_64 --vardir=/mnt/ssd/mysql/vardir1 --mask-level=0 --mask=0 --seed=1 --mysqld=--general_log

warnings in the mtr error log

Completed: Failed 5/3128 tests, 99.84% were successful.

Failing test(s): main.join_outer_innodb main.func_time main.mysqld--help main.bad_frm_crash_5029

The log files in var/log may give you some hint of what went wrong.

If you want to report this error, please read first the documentation
at http://dev.mysql.com/doc/mysql/en/mysql-test-suite.html

Errors/warnings were found in logfiles during server shutdown after running the
following sequence(s) of tests:
    main.assign_key_cache-5405 main.alter_table funcs_1.is_tables_mysql main.aborted_clients main.query_cache funcs_1.is_tables_embedded funcs_1.is_cml_myisam main.bad_frm_crash_5029 funcs_1.myisam_trig_\
09 funcs_1.is_column_privileges_is_mysql_test funcs_1.is_engines_csv funcs_1.is_schemata_embedded funcs_1.myisam_storedproc_03 funcs_1.is_engines_memory funcs_1.memory_trig_08 funcs_1.myisam_storedproc_0\
8 funcs_1.memory_storedproc_03 funcs_1.is_table_constraints_mysql funcs_1.processlist_priv_ps funcs_1.is_tables_mysql_embedded funcs_1.memory_cursors funcs_1.is_views funcs_1.is_triggers main.almost_full\
 funcs_1.memory_trig_0407 jp.jp_create_db_utf8 main.auto_increment funcs_1.is_tables_myisam funcs_1.myisam_storedproc_07 main.ssl-big funcs_1.is_user_privileges funcs_1.is_tables_is main.alias funcs_1.me\
mory_storedproc_08 funcs_1.myisam_trig_0407 funcs_1.myisam_func_view funcs_1.is_columns_myisam funcs_1.is_columns_mysql funcs_1.is_key_column_usage_embedded funcs_1.processlist_val_ps funcs_1.myisam_bitd\
ata funcs_1.is_coll_char_set_appl funcs_1.memory_views funcs_1.is_table_constraints funcs_1.myisam_cursors funcs_1.is_table_constraints_is sys_vars.transaction_prealloc_size_bug27322 funcs_1.memory_store\
dproc_07 funcs_1.is_columns funcs_1.is_collations funcs_1.myisam_trig_03 main.auto_increment_ranges_myisam funcs_1.processlist_val_no_prot funcs_1.is_table_privileges funcs_1.is_routines_embedded funcs_1\
.is_statistics_is jp.jp_create_db_ujis funcs_1.is_events funcs_1.is_tables_is_embedded funcs_1.is_engines_myisam funcs_1.is_statistics_mysql funcs_1.is_column_privileges funcs_1.storedproc main.query_cac\
he_debug funcs_1.is_triggers_embedded funcs_1.is_table_constraints_mysql_embedded main.1st funcs_1.is_routines funcs_1.is_statistics_mysql_embedded jp.jp_create_db_ucs2 funcs_1.myisam_storedproc_06 funcs\
_1.is_schemata funcs_1.is_tables_memory main.adddate_454 funcs_1.is_tables funcs_1.is_basics_mixed funcs_1.processlist_priv_no_prot funcs_1.myisam_storedproc_10 funcs_1.memory_trig_03 funcs_1.is_statisti\
cs jp.jp_create_db_sjis funcs_1.myisam_storedproc_02 funcs_1.charset_collation funcs_1.memory_trig_03e funcs_1.is_cml_memory funcs_1.is_columns_myisam_embedded funcs_1.is_key_column_usage main.ansi funcs\
_1.memory_trig_0102 funcs_1.memory_trig_1011ext funcs_1.memory_func_view funcs_1.is_engines funcs_1.myisam_trig_0102 funcs_1.is_schema_privileges funcs_1.is_columns_memory funcs_1.memory_storedproc_02 fu\
ncs_1.myisam_trig_08 funcs_1.is_schemata_is_mysql_test funcs_1.memory_storedproc_06 funcs_1.myisam_trig_1011ext funcs_1.is_views_embedded funcs_1.is_schema_privileges_is_mysql_test funcs_1.is_engines_mer\
ge funcs_1.memory_bitdata funcs_1.memory_storedproc_10 main.type_newdecimal-big funcs_1.memory_trig_09 funcs_1.is_character_sets funcs_1.is_columns_mysql_embedded funcs_1.myisam_trig_03e main.analyze fun\
cs_1.is_tables_myisam_embedded
142 tests were skipped, 138 by the test itself.

MDEV-5406 runtime/alter_online.yy fails on key_unpack at mariadb/sql/key.cc:430

Thread 1 (Thread 0x7ffc0d1fe700 (LWP 2033)):
#0  0x00007ffc2d21bf0c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=11) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000000000b91c63 in my_write_core (sig=11) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/mysys/stacktrace.c:457
#2  0x00000000006f78ca in handle_fatal_signal (sig=11) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/signal_handler.cc:264
#3  <signal handler called>
#4  key_unpack (to=to@entry=0x7ffc0d1f86c0, table=0x7ffbf2561c60, idx=idx@entry=2) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/key.cc:430
#5  0x00000000006fcfb5 in handler::print_keydup_error (this=this@entry=0x7ffc0e5f0078, key_nr=key_nr@entry=2, msg=0x7ffc2bff0c8b "Duplicate entry '%-.64s' for key '%-.192s'", errflag=errflag@entry=0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/handler.cc:2885
#6  0x00000000006fd527 in handler::print_error (this=0x7ffc0e5f0078, error=121, errflag=0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/handler.cc:2961
#7  0x000000000062405f in mysql_alter_table (thd=thd@entry=0x7ffc11d3c060, new_db=<optimized out>, new_name=0x7ffbf2cd4190 "t1", create_info=create_info@entry=0x7ffc0d1fbfe0, table_list=0x7ffbf2cd5800, table_list@entry=0x7ffbf2cd41c8, alter_info=alter_info@entry=0x7ffc0d1fbf40, order_num=0, order=0x0, ignore=false, require_online=false) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_table.cc:7018
#8  0x000000000066ed51 in Alter_table_statement::execute (this=<optimized out>, thd=0x7ffc11d3c060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_alter.cc:106
#9  0x00000000005a70a8 in mysql_execute_command (thd=thd@entry=0x7ffc11d3c060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:4525
#10 0x00000000005a84f7 in mysql_parse (thd=thd@entry=0x7ffc11d3c060, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7ffc0d1fd5f0) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:5812
#11 0x00000000005a908a in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7ffc11d3c060, packet=packet@entry=0x7ffc11d41061 "ALTER TABLE t1 ADD UNIQUE KEY uidx ( col3 ) , ADD PRIMARY KEY ( col4(10), col3 )", packet_length=packet_length@entry=80) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:1082
#12 0x00000000005aaa16 in do_command (thd=0x7ffc11d3c060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_parse.cc:797
#13 0x000000000066b82e in do_handle_one_connection (thd_arg=thd_arg@entry=0x7ffc11d3c060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_connect.cc:1266
#14 0x000000000066b920 in handle_one_connection (arg=0x7ffc11d3c060) at /home/tokubuild/builds/build-tokudb-1386006533-debug-e/mariadb/sql/sql_connect.cc:1181
#15 0x00007ffc2d216f6e in start_thread (arg=0x7ffc0d1fe700) at pthread_create.c:311
#16 0x00007ffc2c9399cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Warnings "Could not remove temporary table" on disconnect with a temporary table after a ROLLBACK

The following set of commands causes a warning in server error log after the connection disconnects:

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a INT, b INT) ENGINE=TokuDB;
BEGIN;
SELECT b FROM t1;
CREATE TEMPORARY TABLE tmp1 ( i INT ) ENGINE=TokuDB SELECT b FROM t1;
ROLLBACK;

The warning comes in different flavors.
With
SET GLOBAL log_output='TABLE';
SET GLOBAL general_log = ON;

131209 3:32:56 [Warning] Could not remove temporary table: '/home/elenst/bzr/10.0/data/tmp/#sql6b52_e_0', error: 175

With
SET GLOBAL log_output='FILE';

131209 3:34:13 [Warning] Could not remove temporary table: '/home/elenst/bzr/10.0/data/tmp/#sql6b52_f_0', error: 2

Reproducible on mariadb-5.5.30-tokudb-7.0.1 and mysql-5.5.30-tokudb-7.0.1.

I'm not sure whether it's related to #25 , since it doesn't contain details.

MDEV-5458 temporal/temporal_functions.yy fails at sec_since_epoch(int, int, int, int, int, int)::__PRETTY_FUNCTION__ in sql/tztime.cc:799

Program terminated with signal 6, Aborted.
#0  0x00007f6f9581cf2c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#0  0x00007f6f9581cf2c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000000000b91c63 in my_write_core (sig=6) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/mysys/stacktrace.c:457
#2  0x00000000006f78ca in handle_fatal_signal (sig=6) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/signal_handler.cc:264
#3  <signal handler called>
#4  0x00007f6f94e76037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5  0x00007f6f94e79698 in __GI_abort () at abort.c:90
#6  0x00007f6f94e6ee03 in __assert_fail_base (fmt=0x7f6f94fc6158 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0xc3c2a0 "mon > 0 && mon < 13", file=file@entry=0xc3c3a0 "/home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/tztime.cc", line=line@entry=799, function=function@entry=0xc3cbc0 <sec_since_epoch(int, int, int, int, int, int)::__PRETTY_FUNCTION__> "my_time_t sec_since_epoch(int, int, int, int, int, int)") at assert.c:92
#7  0x00007f6f94e6eeb2 in __GI___assert_fail (assertion=0xc3c2a0 "mon > 0 && mon < 13", file=0xc3c3a0 "/home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/tztime.cc", line=799, function=0xc3cbc0 <sec_since_epoch(int, int, int, int, int, int)::__PRETTY_FUNCTION__> "my_time_t sec_since_epoch(int, int, int, int, int, int)") at assert.c:101
#8  0x000000000064b7b6 in sec_since_epoch (year=2008, mon=0, mday=0, hour=7728, min=0, sec=0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/tztime.cc:799
#9  0x000000000064bb27 in TIME_to_gmt_sec (error_code=0x7f6f77ff817c, sp=0x7f6f7a6f6408, t=0x7f6f77ff81f0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/tztime.cc:942
#10 Time_zone_db::TIME_to_gmt_sec (this=<optimized out>, t=0x7f6f77ff81f0, error_code=0x7f6f77ff817c) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/tztime.cc:1261
#11 0x0000000000794f80 in Item_func_convert_tz::get_date (this=0x7f6f63e08910, ltime=0x7f6f77ff81f0, fuzzy_date=<optimized out>) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/item_timefunc.cc:1974
#12 0x0000000000729a86 in get_datetime_value (thd=thd@entry=0x7f6f80feb060, item_arg=item_arg@entry=0x7f6f77ff8298, cache_arg=cache_arg@entry=0x7f6f77ff8290, warn_item=0x7f6f63e08910, is_null=is_null@entry=0x7f6f77ff828f) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/item_cmpfunc.cc:902
#13 0x0000000000729e93 in Item_func_between::val_int (this=0x7f6f63e08a08) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/item_cmpfunc.cc:2265
#14 0x000000000070a437 in Item::val_bool (this=0x7f6f63e08a08) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/item.cc:215
#15 0x00000000007236bf in Item_cond_and::val_int (this=0x7f6f63dd0208) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/item_cmpfunc.cc:4692
#16 0x00000000006f5f17 in skip_record (this=<optimized out>, thd=<optimized out>) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/opt_range.h:1013
#17 find_all_keys (tempfile=0x7f6f77ff8680, buffpek_pointers=0x7f6f77ff8810, sort_keys_buf=0x7f6f63e78060 '\245' <repeats 4949 times>, "h4z\025", '\245' <repeats 3143 times>, 'Z' <repeats 32768 times>, "\200\032\310co\177", sort_keys=0x7f6f63e78060, select=0x7f6f63dd0348, param=0x7f6f77ff8600) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/filesort.cc:630
#18 filesort (thd=thd@entry=0x7f6f80feb060, table=table@entry=0x7f6f76d0d460, sortorder=0x7f6f00000000, s_length=1993397344, select=select@entry=0x7f6f63dd0348, max_rows=18446744069414584320, max_rows@entry=18446744073709551615, sort_positions=sort_positions@entry=false, examined_rows=examined_rows@entry=0x7f6f77ff8e58) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/filesort.cc:240
#19 0x00000000005e5abb in create_sort_index (thd=0x7f6f80feb060, join=join@entry=0x7f6f63e090c8, order=<optimized out>, filesort_limit=18446744073709551615, select_limit=18446744073709551615, is_order_by=false) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:19689
#20 0x00000000005f3a23 in JOIN::exec (this=this@entry=0x7f6f63e090c8) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:2829
#21 0x00000000005f4866 in mysql_select (thd=thd@entry=0x7f6f80feb060, rref_pointer_array=rref_pointer_array@entry=0x7f6f80feecc8, tables=0x7f6f63cb9b50, wild_num=0, fields=..., conds=0x7f6f63cbab18, og_num=2, order=0x7f6f63e08e40, group=0x0, having=0x0, proc_param=0x0, select_options=select_options@entry=2147748608, result=result@entry=0x7f6f63e090a8, unit=unit@entry=0x7f6f80fee388, select_lex=select_lex@entry=0x7f6f80feea60) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:3079
#22 0x00000000005f88a8 in handle_select (thd=thd@entry=0x7f6f80feb060, lex=lex@entry=0x7f6f80fee2d8, result=result@entry=0x7f6f63e090a8, setup_tables_done_option=setup_tables_done_option@entry=0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:318
#23 0x000000000059ac8a in execute_sqlcom_select (thd=thd@entry=0x7f6f80feb060, all_tables=0x7f6f63cb9b50) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:4701
#24 0x00000000005a0bb8 in mysql_execute_command (thd=thd@entry=0x7f6f80feb060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:2234
#25 0x00000000005a84f7 in mysql_parse (thd=thd@entry=0x7f6f80feb060, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f6f77ffa5f0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:5812
#26 0x00000000005a908a in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f6f80feb060, packet=packet@entry=0x7f6f80f75061 " SELECT `pk` AS c1 , TIMESTAMP( `col_date_nokey` ) AS c2 , `col_date_nokey` AS c3 , `col_datetime_nokey` AS c4 FROM `BB` WHERE FROM_DAYS( `col_int_nokey` ) IS NOT NULL AND `col_time_key` NOT IN ( TIMESTAMP( CURRENT_DATE() ) , UTC_DATE() , DATE( '2004-10-25' ) ) AND `col_date_nokey`  BETWEEN `pk` AND CONVERT_TZ( GREATEST( `col_varchar_key` , `col_time_nokey` , '2007-12-22' , '0000-00-00' , `col_date_key` ) , 'leap/Europe/Moscow' , 'Japan' ) AND LOCALTIME() IS NOT NULL ORDER BY `pk` , `col_varchar_nokey`", packet_length=packet_length@entry=507) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:1082
#27 0x00000000005aaa16 in do_command (thd=0x7f6f80feb060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:797
#28 0x000000000066b82e in do_handle_one_connection (thd_arg=thd_arg@entry=0x7f6f80feb060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_connect.cc:1266
#29 0x000000000066b920 in handle_one_connection (arg=0x7f6f80feb060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_connect.cc:1181
#30 0x00007f6f95817f8e in start_thread (arg=0x7f6f77ffb700) at pthread_create.c:311
#31 0x00007f6f94f39a0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

check table does not update progress

| Id | User | Host | db | Command | Time | State | Info | Progress |
| 489 | tokubuild | localhost | tpch30G_tokudb | Query | 101 | ./tpch30G_tokudb/orders key=orders_dt_idx 2 | check table orders | 0.000 |

runtime/information_schema.yy causes failure at commit_txn(__toku_db_txn*, unsigned int)::__PRETTY_FUNCTION__ in storage/tokudb/hatoku_defines.h:368

Program terminated with signal 6, Aborted.
#0  0x00007f728e2a0f2c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#0  0x00007f728e2a0f2c in __pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ../nptl/sysdeps/unix/sysv/linux/pthread_kill.c:62
#1  0x0000000000b91c63 in my_write_core (sig=6) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/mysys/stacktrace.c:457
#2  0x00000000006f78ca in handle_fatal_signal (sig=6) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/signal_handler.cc:264
#3  <signal handler called>
#4  0x00007f728d8fa037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#5  0x00007f728d8fd698 in __GI_abort () at abort.c:90
#6  0x00007f728d8f2e03 in __assert_fail_base (fmt=0x7f728da4a158 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f728c1871b5 "r == 0", file=file@entry=0x7f728c17c460 "/home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/hatoku_defines.h", line=line@entry=368, function=function@entry=0x7f728c17f960 <commit_txn(__toku_db_txn*, unsigned int)::__PRETTY_FUNCTION__> "void commit_txn(DB_TXN*, uint32_t)") at assert.c:92
#7  0x00007f728d8f2eb2 in __GI___assert_fail (assertion=0x7f728c1871b5 "r == 0", file=0x7f728c17c460 "/home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/hatoku_defines.h", line=368, function=0x7f728c17f960 <commit_txn(__toku_db_txn*, unsigned int)::__PRETTY_FUNCTION__> "void commit_txn(DB_TXN*, uint32_t)") at assert.c:101
#8  0x00007f728c071c65 in commit_txn (flags=0, txn=0x7f7270106100) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/hatoku_defines.h:368
#9  ha_tokudb::external_lock (this=0x7f72703bd078, thd=0x7f7272b30060, lock_type=2) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/storage/tokudb/ha_tokudb.cc:6189
#10 0x0000000000700352 in handler::ha_external_lock (this=0x7f72703bd078, thd=thd@entry=0x7f7272b30060, lock_type=lock_type@entry=2) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/handler.cc:5142
#11 0x00000000007b101b in unlock_external (thd=thd@entry=0x7f7272b30060, table=table@entry=0x7f72700a1408, count=<optimized out>, count@entry=1) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/lock.cc:673
#12 0x00000000007b15af in mysql_unlock_read_tables (thd=0x7f7272b30060, sql_lock=0x7f72700a13e0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/lock.cc:432
#13 0x00000000005e46da in JOIN::join_free (this=this@entry=0x7f7270243040) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:10708
#14 0x00000000005e4d29 in do_select (join=join@entry=0x7f7270243040, fields=fields@entry=0x7f7272b33b70, table=table@entry=0x0, procedure=0x0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:16407
#15 0x00000000005f3b78 in JOIN::exec (this=this@entry=0x7f7270243040) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:2859
#16 0x00000000005f4866 in mysql_select (thd=thd@entry=0x7f7272b30060, rref_pointer_array=rref_pointer_array@entry=0x7f7272b33cc8, tables=0x7f72700b1ae8, wild_num=1, fields=..., conds=0x7f72700b2df8, og_num=0, order=0x0, group=0x0, having=0x0, proc_param=0x0, select_options=select_options@entry=2684619520, result=result@entry=0x7f7270243020, unit=unit@entry=0x7f7272b33388, select_lex=select_lex@entry=0x7f7272b33a60) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:3079
#17 0x00000000005f88a8 in handle_select (thd=thd@entry=0x7f7272b30060, lex=lex@entry=0x7f7272b332d8, result=result@entry=0x7f7270243020, setup_tables_done_option=setup_tables_done_option@entry=0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_select.cc:318
#18 0x000000000059ac8a in execute_sqlcom_select (thd=thd@entry=0x7f7272b30060, all_tables=0x7f72700b1ae8) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:4701
#19 0x00000000005a0bb8 in mysql_execute_command (thd=thd@entry=0x7f7272b30060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:2234
#20 0x00000000005a84f7 in mysql_parse (thd=thd@entry=0x7f7272b30060, rawbuf=<optimized out>, length=<optimized out>, parser_state=parser_state@entry=0x7f7279ea35f0) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:5812
#21 0x00000000005a908a in dispatch_command (command=command@entry=COM_QUERY, thd=thd@entry=0x7f7272b30060, packet=packet@entry=0x7f7272b35061 "", packet_length=packet_length@entry=240) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:1082
#22 0x00000000005aaa16 in do_command (thd=0x7f7272b30060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_parse.cc:797
#23 0x000000000066b82e in do_handle_one_connection (thd_arg=thd_arg@entry=0x7f7272b30060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_connect.cc:1266
#24 0x000000000066b920 in handle_one_connection (arg=0x7f7272b30060) at /home/tokubuild/builds/build-tokudb-1386719273-debug-e/mariadb-5.5.34/sql/sql_connect.cc:1181
#25 0x00007f728e29bf8e in start_thread (arg=0x7f7279ea4700) at pthread_create.c:311
#26 0x00007f728d9bda0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.