Commit graph

84463 commits

Author SHA1 Message Date
Leif Walsh
742fe76266 handle the error returned by open_logfile, if there is one, closes #24 2013-06-03 20:35:25 -04:00
Vladislav Vaintroub
33ef993773 Fix a compile warning on NetBSD 2013-06-01 21:33:26 +02:00
Vladislav Vaintroub
689c1b44a9 MDEV-4607 : libreadline-related compilation problems on NetBSD.
Problem : 
libreadline.so was already present on the machine, however the cmake check NEW_READLINE_INTERFACE was unsuccessfull indicating, thus bundled library had to be used instead of  system library.
The problem was that the value for HAVE_HIST_ENTRY cmake variable  was cached with incorrect  value (1 on NetBSD).

The fix is to change HAVE_HIST_ENTRY to 0 with  CACHE FORCE, after switching to bundled readline.
2013-06-01 21:30:33 +02:00
Yoni Fogel
dc7dd5a1c3 Merge branch 'master' of github.com:Tokutek/ft-index 2013-05-30 16:04:30 -07:00
Yoni Fogel
4c8c67048c Update .gitignore for tags and jemalloc symlink 2013-05-30 16:04:17 -07:00
Leif Walsh
8a3d908ba3 demangle partitioned counter functions, and export read_partitioned_counter, closes #23 2013-05-30 13:33:58 -04:00
unknown
22b60fa95c MDEV-4520: Assertion `0' fails in Query_cache::end_of_result on concurrent drop event and event executio
Fix for embedded library, where thd->net.vio is not set which efficently switched off QC in emmbedded server for previous patch.
2013-05-30 08:23:49 +03:00
Yoni Fogel
f703aa7062 Merge branch 'master' of github.com:Tokutek/ft-engine 2013-05-29 12:50:41 -07:00
Yoni Fogel
782daeacb8 Add valgrind and paranoid options to make.mysql.debug.env.bash 2013-05-29 12:50:27 -07:00
rich prohaska
13870542c5 get the build script get_ncpus function to work on more systems 2013-05-29 14:20:07 -04:00
rich prohaska
b7b688de48 remove make.mysql.old.bash 2013-05-29 13:52:21 -04:00
Rich Prohaska
d081cd6732 strip carriage returns 2013-05-29 13:35:50 -04:00
Yoni Fogel
159c39d673 Update make.mysql.debug.env.bash to include --local for cloning and added a comment. 2013-05-29 09:44:07 -07:00
Yoni Fogel
6a5b1ac292 Add local cache option to make.mysql.debug.env.bash 2013-05-29 09:34:21 -07:00
Leif Walsh
c64a51a2be remove overactive assert that in_memory_stats.numbytes is nonnegative #18 2013-05-28 16:31:15 -04:00
Sergei Golubchik
1db0c42e53 followup for revision 3751 "centos5 gcc 4.1 asm bug"
remove the workaround from cmake/os/FreeBSD.cmake
2013-05-28 21:25:59 +02:00
Rich Prohaska
138452e823 cleanup pmprof a bit 2013-05-28 11:29:54 -04:00
Rich Prohaska
ec0b0b4044 remove unused check.copyright.py 2013-05-28 11:29:25 -04:00
Rich Prohaska
1200ca6dad svn #6706 add GPL headers to the tokudb handlerton 2013-05-28 08:33:07 -04:00
Leif Walsh
77c7cdd7fe implement db->get_key_after_bytes closes #18
squashed commits:

create db->get_key_after_bytes() api down to the ft layer, and start a unit test
refs #18

setup/teardown for get_key_after_bytes test
refs #18

rename test because it really is going to be a small unit test
refs #18

implement a few initial checks
refs #18

adding actually_skipped parameter because we will want it in splitVector
refs #18

NULL -> nullptr, I'm rusty from mongo work
refs #18

fix some old apis to fit what get_key_after_bytes needs:

make keyrange_compare_s hold an FT instead of FT_HANDLE to prepare for reuse refs #18

make keyrange_compare_s hold a const dbt refs #18

fix const-correctness of fill_bfe functions refs #18

add unit test for an empty dictionary
refs #18

implement get_key_after_bytes for a single basement node, passes simple tests
refs #18

add test for multiple basement nodes
refs #18

fix usage of ft_search_t, we do need a full one after all
refs #18

check actually_skipped for correctness (even though it's an estimate)
refs #18

restructure test to be faster, and test keys before the beginning of the table
refs #18

don't try to read in the right basement node, just check the bns you have
refs #18

implement get_key_after_bytes for height > 0 trees
refs #18

return the amount skipped even if we hit the end of the table
refs #18

add inexact test for height > 0 trees, adjust constants so it's faster
refs #18

don't do I/O to bring in basement nodes just for get_key_after_bytes
refs #18

don't blindly check the first basement node, it's not guaranteed to be there anymore
refs #18

fix leak in get_key_after_bytes_unit.tdb
refs #18

add get_key_after_bytes to test_stress5
refs #18

switch to a callback API to save mallocs and memcpys
refs #18
2013-05-24 18:02:29 -04:00
Sergei Golubchik
34ebf981ab MDEV-4575 MySQL client doesn't strip off 5.5.5- prefix while connecting to 10.x server
extend 5.1 client library to read 4 byte capabilities from the first handshake packet.
two higher bytes are always zeros for 5.1 servers.
2013-05-24 17:35:30 +02:00
Rich Prohaska
d3f4822885 remove overactive assert in ha_tokudb::external_lock 2013-05-24 11:23:52 -04:00
Rich Prohaska
0fc1a96c4a Merge branch 'master' of github.com:Tokutek/ft-engine 2013-05-24 11:03:07 -04:00
rich prohaska
8a2ca75d39 #31 exit nicely when git ls-remote fails 2013-05-24 11:01:40 -04:00
Leif Walsh
883e96b685 fix examples 2013-05-24 11:01:40 -04:00
Rich Prohaska
2799e813f5 turn off -O for debug env builds 2013-05-24 11:01:40 -04:00
Rich Prohaska
1b737dfda0 support upsert x=x+values(x) expressions 2013-05-24 11:01:40 -04:00
Rich Prohaska
55acf8e827 #22 add a test for upsert values expr 2013-05-24 10:59:07 -04:00
Rich Prohaska
ef67626331 #20 cleanup some static analysis issues 2013-05-24 10:59:07 -04:00
Rich Prohaska
a998803825 compile on mysql 5.6 2013-05-24 10:59:07 -04:00
Rich Prohaska
0a51494aaa change version test to accept more version strings 2013-05-24 10:59:07 -04:00
Rich Prohaska
f00fd4ca5a dump out tree ids in make.mysql.bash usage 2013-05-24 10:59:07 -04:00
Rich Prohaska
f239e32078 handle cardinality with alter add drop 2013-05-24 10:59:07 -04:00
Rich Prohaska
f96da3de25 test cardinality with a single alter table drop add command 2013-05-24 10:59:07 -04:00
Rich Prohaska
2e821c11e7 test cardinality with add/drop key 2013-05-24 10:59:07 -04:00
Rich Prohaska
1b0261cc5c try to retain cardinality data after add/drop index 2013-05-24 10:59:07 -04:00
Rich Prohaska
e402a3ea18 build a debug mysql env 2013-05-24 10:59:07 -04:00
unknown
b9ce8572d9 MDEV-4520: Assertion `0' fails in Query_cache::end_of_result on concurrent drop event and event execution
If there is no net.vio then query cache cant't get data via net_real_write() so it is better just do not try to cache such query.
2013-05-23 17:05:31 +03:00
rich prohaska
38e8e581bf #31 exit nicely when git ls-remote fails 2013-05-22 15:17:34 -04:00
Vladislav Vaintroub
7ba2ff93ac MDEV-4548 - compile sphinx.so/dll and include into packages
replaced snippets_udf.cc with the latest version (2.0.8 from sphinxsource.com), fixed trivial errors on Windows.
It will be compiled and installed into plugins directory now.
2013-05-22 16:44:44 +02:00
Vladislav Vaintroub
ef1e767ae3 MDEV-4553 - Fixes for compilation under NetBSD. 2013-05-27 16:35:42 +02:00
Sergei Golubchik
9bc4c4183d MDEV-4516 SELECT from I_S.QUERY_CACHE_INFO produces ER_UNKNOWN_ERROR when query cache size is 0
if qc->try_lock() fails, it's not an error
2013-05-24 14:33:04 +02:00
Sergei Golubchik
cb246b20d6 fix for compiled-in FederatedX 2013-05-21 18:56:35 +02:00
Sergei Golubchik
d6315e29c8 MDEV-388 Creating a federated table with a non-existing server returns a random error code
(part 2)
2013-05-21 13:03:37 +02:00
Sergei Golubchik
ec043aced0 5.3 merge 2013-05-21 09:43:34 +02:00
Sergei Golubchik
fce7fc43ba fixes for buildbot 2013-05-21 09:42:10 +02:00
Sergei Golubchik
62ab6982a4 MDEV-388 Creating a federated table with a non-existing server returns a random error code 2013-05-20 23:58:44 +02:00
Leif Walsh
730d250606 fix examples 2013-05-20 13:44:03 -03:00
Sergei Golubchik
7e4150d7cd increase MAX_HA (number of simultaneously installed storage engines) to 64 2013-05-20 13:41:03 +02:00
Sergei Golubchik
d7a6c801ac 5.3 merge.
change maria.distinct to use a function that doesn't require ssl-enabled  builds
2013-05-20 12:36:30 +02:00