Commit graph

282 commits

Author SHA1 Message Date
Zardosht Kasheff
0e50f9e3d5 addresses #1619
add support for bitstreams

git-svn-id: file:///svn/mysql/tokudb-engine/src@10769 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
8de1f9b8ec addresses #1619
add functions for decimals

git-svn-id: file:///svn/mysql/tokudb-engine/src@10768 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
5575b68131 addresses #1619
poison use of two MySQL types that are dead. These types are obsolete
in 5.1

git-svn-id: file:///svn/mysql/tokudb-engine/src@10755 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
16cd4fe5c4 addresses #1619
add support for floats

git-svn-id: file:///svn/mysql/tokudb-engine/src@10751 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
d921b1dbd0 addresses #1619
add support for doubles
make some of these functions inline

git-svn-id: file:///svn/mysql/tokudb-engine/src@10750 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
a5bf8d6eb8 addresses #1619
silly bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@10746 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
25bacb835a addresses #1619
create pack_key_field for ::index_read calls

git-svn-id: file:///svn/mysql/tokudb-engine/src@10745 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
7c7623d4f7 addresses #1619
remove extraneous printfs that were meant only for debugging

git-svn-id: file:///svn/mysql/tokudb-engine/src@10744 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
ca1cf1da48 addresses #1619
create unpack_field, integrate it into unpack_key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10742 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:48 -04:00
Zardosht Kasheff
e3dddfc4b2 addresses #1619
fix bug in cmp_toku_int
create pack_field and integrate it into create_dbt_key_from_key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10741 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
57177ff886 addresses #1619
stupid stupid bug pt 2

git-svn-id: file:///svn/mysql/tokudb-engine/src@10736 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
59343fc8ea addresses #1619
get cmp function for ints working correctly

git-svn-id: file:///svn/mysql/tokudb-engine/src@10727 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
0c2ffe6cd2 addresses #1619
get cmp functions to use newly made integer comparison

git-svn-id: file:///svn/mysql/tokudb-engine/src@10726 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
8e343e91c9 addresses #1619
check in some comparison code for integers. It is not running yet, that is the next step

git-svn-id: file:///svn/mysql/tokudb-engine/src@10725 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
6d24224569 addresses #1619
clean up pack and unpack functions a bit before adding more stuff to them

git-svn-id: file:///svn/mysql/tokudb-engine/src@10721 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
3ddf25c9d7 addresses #1619, remove extraneous comment
git-svn-id: file:///svn/mysql/tokudb-engine/src@10720 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
5b2bf24197 addresses #1619
move cmp related functions to new files

git-svn-id: file:///svn/mysql/tokudb-engine/src@10719 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
74071e15a6 closes #1615
remove dead code

git-svn-id: file:///svn/mysql/tokudb-engine/src@10709 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
78bb5202bc addresses #1613
stupid stupid bug.

git-svn-id: file:///svn/mysql/tokudb-engine/src@10704 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
aedf3bfc18 addresses #1614
fix ::get_pos for hidden primary keys

git-svn-id: file:///svn/mysql/tokudb-engine/src@10703 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
aeaa8803c3 addresses #1610
make rnd_pos, get_pos, position, and cmp_ref simpler by storing the DBT length at the beginning of the ref_length

git-svn-id: file:///svn/mysql/tokudb-engine/src@10677 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
6b2694d632 addresses #1609
make ::cmp_ref use same comparison function as DBT's do

git-svn-id: file:///svn/mysql/tokudb-engine/src@10674 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
477163bf5d addresses #1400
abstract the conversion functions of the hidden primary key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10665 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
c694757d82 addresses #1400
change size of hidden primary key from 5 bytes to 8

git-svn-id: file:///svn/mysql/tokudb-engine/src@10664 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
d60e8ecef2 addresses #1593
after every 1000 inserts, check thd->killed to see if user has killed 
the add index. If so, gracefully exit

git-svn-id: file:///svn/mysql/tokudb-engine/src@10551 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
f9f4825a78 addresses #1405
show auto inc value on 'show create table'

git-svn-id: file:///svn/mysql/tokudb-engine/src@10023 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
a0f84bd0cc addresses #1517
make buffer that prints status message in 'show processlist' 
be a member variable instead of a local one

git-svn-id: file:///svn/mysql/tokudb-engine/src@10022 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
7aa5b23836 addresses #1522
fix add_index so that one can add a clustering index to a table with a hidden primary key

git-svn-id: file:///svn/mysql/tokudb-engine/src@10017 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
fffdc2b8ee addresses #1504
add ability in Makefile to pass in a version string

git-svn-id: file:///svn/mysql/tokudb-engine/src@9953 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Yoni Fogel
e6de22124c Addresses #1504 Made CMakeLists.txt Phony.
git-svn-id: file:///svn/mysql/tokudb-engine/src@9834 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Yoni Fogel
e0345dbc54 Addresses #1504 Add ability to generate CMakeLists.txt
with appropriate include directories
make -f Makefile.win TOKUDB_DIR=c:/.../..

git-svn-id: file:///svn/mysql/tokudb-engine/src@9833 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Barry Perlman
a69d659534 Addresses #1378
Accommodate 1378 changes in handlerton.

git-svn-id: file:///svn/mysql/tokudb-engine/src@9536 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Rich Prohaska
9b86fed4dc build a single tokumysql .so. closes #1480
git-svn-id: file:///svn/mysql/tokudb-engine/src@9502 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
07be78795e addresses #1428
remove bad flag for cursor->c_del

git-svn-id: file:///svn/mysql/tokudb-engine/src@9221 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
c7becea612 UNDO dlmalloc changes. addresses #1377
git-svn-id: file:///svn/mysql/tokudb-engine/src@9174 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
01868fd2c1 addresses #1396
write stuff to error log if fail to open file due to dirty bit

git-svn-id: file:///svn/mysql/tokudb-engine/src@9156 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
92850380ea addresses #1377
fixed a couple of free's to dlfree

git-svn-id: file:///svn/mysql/tokudb-engine/src@9152 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:47 -04:00
Zardosht Kasheff
d221aeac7c addresses #1428
use DB_DELETE_ANY for deletes

git-svn-id: file:///svn/mysql/tokudb-engine/src@9148 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
4a15e3a65f addresses #1396
change rmall so that it handles the fact that .clean or .dirty files exist

git-svn-id: file:///svn/mysql/tokudb-engine/src@9146 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
a05b5d4836 addresses #1283
fix windows compilation problems

git-svn-id: file:///svn/mysql/tokudb-engine/src@9104 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
d2809c4f44 addresses #1377
use dlmalloc in handlerton

git-svn-id: file:///svn/mysql/tokudb-engine/src@9100 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
b382af3bbf addresses #1420
add DB_RECOVER flag

git-svn-id: file:///svn/mysql/tokudb-engine/src@9099 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
4cb946351d addresses #1283
make it so that for MySQL, we can just check out a directory and have tokudb
compiled in

git-svn-id: file:///svn/mysql/tokudb-engine/src@9093 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
eb085d7a0e addresses #1418
show progress after every 1000 deletes, inserts, or updates

git-svn-id: file:///svn/mysql/tokudb-engine/src@9068 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
3fbfb160ab addresses #1404
modify state field of show process list so that user gets info on progress of index creation

git-svn-id: file:///svn/mysql/tokudb-engine/src@8976 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
65ceac5ae2 addresses #1395
pass in PRELOCKED flag for index_read

git-svn-id: file:///svn/mysql/tokudb-engine/src@8931 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
97a11e36a5 addresses #1391
make the transaction that estimates the number of rows be a
DB_READ_UNCOMMITTED transaction

git-svn-id: file:///svn/mysql/tokudb-engine/src@8810 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Zardosht Kasheff
497e07b7bf addresses #1392
enable binary logging for tokudb. Work is not done yet, need 
to do investigation to make sure that there are no unwanted side effects.

git-svn-id: file:///svn/mysql/tokudb-engine/src@8809 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Rich Prohaska
91fc05c940 change the default cache table size. closes #1387
git-svn-id: file:///svn/mysql/tokudb-engine/src@8749 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00
Yoni Fogel
1e389a88a5 Addresses #1311
Fix paths for headers

git-svn-id: file:///svn/mysql/tokudb-engine/src@8711 c7de825b-a66e-492c-adef-691d508d4ae1
2013-04-17 00:01:46 -04:00