Commit graph

168 commits

Author SHA1 Message Date
tomas@poseidon.ndb.mysql.com
9f606fcfd8 To get correct values in SHOW TABLE STATUS
Added pseudo column fragment memory
    changed ndb_get_table_statistics to take struct 
    and read row_size and fragment_memory
2005-01-13 18:24:19 +01:00
mskold@mysql.com
e43047d793 Condition pushdown, support for more types 2005-01-11 17:26:19 +01:00
mskold@mysql.com
b441ace700 Fixed nested conditions for condition pushdown to storage engine 2005-01-07 15:33:24 +01:00
tulin@build.mysql.com
cee870e9b5 Merge bk-internal:/home/bk/mysql-4.1
into build.mysql.com:/users/tulin/mysql-4.1-cluster-extra
2005-01-05 15:55:26 +01:00
mskold@mysql.com
0d72625cd0 Added support for different int sizes in condition pushdown 2005-01-04 20:56:04 +01:00
mskold@mysql.com
646f10030b Added support for different int sizes in condition pushdown 2005-01-04 16:01:24 +01:00
mskold@mysql.com
4351480898 Added support for different int sizes in condition pushdown 2005-01-04 14:20:18 +01:00
mskold@mysql.com
881b3a023f Merge 2005-01-03 15:20:06 +01:00
mskold@mysql.com
f304790638 Merge fix for condition pushdown to storage engine 2005-01-03 15:10:32 +01:00
mskold@mysql.com
9647a076a6 Merge 2005-01-03 14:33:00 +01:00
mskold@mysql.com
689748b548 Merge from fix for Bug #7480 Mysqld crash in ha_ndbcluster using Query Browser 2005-01-03 09:46:59 +01:00
joreland@mysql.com
8f2d0ec1a1 merge 2004-12-31 06:36:32 +01:00
mskold@mysql.com
76b2df6043 Merged bugfix 2004-12-30 21:36:16 +01:00
marty@linux.site
1ddb554b8b Fix for bug #7480 Mysqld crash in ha_ndbcluster using Query Browser 2004-12-30 19:56:09 +01:00
mskold@mysql.com
a5204f692b Merge 2004-12-29 10:02:03 +01:00
mskold@mysql.com
00c0a316ad Merge for condition pushdown 2004-12-29 09:54:48 +01:00
joreland@mysql.com
4ed658dee3 wl2126 - fix ndb part of "latest" ingo patch
(hopefully last :-))
2004-12-28 17:01:07 +01:00
mskold@mysql.com
86fda80fc9 Merge 2004-12-28 14:00:00 +01:00
tomas@poseidon.ndb.mysql.com
89c037b2a9 backwards compatible name change NdbConnectionto NdbTransaction
removed friend declarations from doxygen
updated some documentation in mgmapi
2004-12-23 11:21:01 +01:00
monty@mishka.local
4f4bbfc279 Merge with 4.1 2004-12-22 13:54:39 +02:00
mskold@mysql.com
e11647d184 Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into mysql.com:/usr/local/home/marty/MySQL/test/mysql-5.0-ndb
2004-12-20 16:17:15 +01:00
pekka@mysql.com
6463a6d7cd ndb: wl-1893: range scanning backwards, handler 2004-12-20 15:12:42 +01:00
mskold@mysql.com
3edf243875 Condition pushdown to storage engine 2004-12-17 21:13:22 +01:00
mysqldev@mysql.com
e127fc34c3 Merge 2004-12-16 09:37:29 +01:00
joreland@mysql.com
e36d064a71 wl2126 - ndb - merge and ifdef still waiting for inge 2004-12-15 13:30:45 +01:00
joreland@mysql.com
865eb873c2 wl2126 - ndb - bug fixes 2004-12-08 00:36:40 +01:00
mskold@mysql.com
3791170159 Fix for bug#6935 table rename does not work with ndb tables 2004-12-06 14:51:10 +01:00
joreland@mysql.com
ac9f30df68 wl2126 - ndb - set correct found_p using new pseudo column NDB$RANGE_NO 2004-12-06 09:05:30 +01:00
joreland@mysql.com
5832078015 wl#2126 - ndb - Fix handling of null values wrt read multi range 2004-12-01 12:43:30 +01:00
joreland@mysql.com
dee5a921a8 wl2126 - ndb - for for null in unique index wrt read_multi_range 2004-11-30 13:37:03 +01:00
joreland@mysql.com
6663f82ba9 wl2126 - ndb - Enable read_multi_range batching also for range scan(s)
+fix mysql code style
 +adopt to interface changes by ingo
2004-11-26 15:15:22 +01:00
tomas@poseidon.ndb.mysql.com
e57726b98e removed special ndb query cache variable
ndb will always return query cache type ASKTRANSACT
2004-11-25 18:56:10 +00:00
tomas@poseidon.ndb.mysql.com
68e4a0fe43 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/wl2126
2004-11-25 14:30:15 +00:00
joreland@mysql.com
029df2028d Merge mysql.com:/home/jonas/src/mysql-5.0-ndb
into mysql.com:/home/jonas/src/wl2126
2004-11-25 10:51:57 +01:00
brian@avenger.(none)
2b0b6ec20c Merging 4.1 to 5.0 2004-11-24 12:34:44 -08:00
tomas@poseidon.ndb.mysql.com
b53e083827 Merge 2004-11-24 12:04:17 +00:00
tomas@poseidon.ndb.mysql.com
ae471974ac sql/ha_innodb.cc
enabled query cache for ndb
    modified engine interface somewhat
sql/ha_innodb.h
    enabled query cache for ndb
    modified engine interface somewhat
sql/ha_ndbcluster.cc
    enabled query cache for ndb
    modified engine interface somewhat
    ndb will only allow caching and retrieval if running autocommit
      - return false, but do not invalidate
    commit count is used as engine data, i.e.
      - store commit count before store of cache
      - allow retrieval if commit count has not changed on a table
      - invalidate if commit count has changed
sql/ha_ndbcluster.h
    enabled query cache for ndb
    modified engine interface somewhat
sql/handler.cc
    enabled query cache for ndb
    modified engine interface somewhat
sql/handler.h
    enabled query cache for ndb
    modified engine interface somewhat
    new virtual handler method cached_table_registration called on each table before alowing store in query cache
      - return TRUE - ok to cache, FALSE - not allowed to cache, invalidate queries if engine_data below has changed
      - sets ulonglong (engine_data) that is stored in query cache for each table
      - sets callback to be called for each table before usage of cached query, callback = 0 -> no check later
sql/mysql_priv.h
    enabled query cache for ndb
    modified engine interface somewhat
    callcack prototype for callback to engine before query cache retrieval
sql/sql_cache.cc
    enabled query cache for ndb
    modified engine interface somewhat
    if callback is set on table in cache, do callback to check if allowed to use cache
    if not allowed to use cache, check if engine_data has changed, if so, invalidate all queries with that table
    + changes to store and pass callback and engine_data around
sql/sql_cache.h
    enabled query cache for ndb
    modified engine interface somewhat
    changes to store callback and engine_data
sql/table.h
    enabled query cache for ndb
    modified engine interface somewhat
    changes to store callback and engine_data
2004-11-24 11:56:51 +00:00
tomas@poseidon.ndb.mysql.com
ca61e54cd0 changed query cache type variable for ndb 2004-11-23 16:38:00 +00:00
tomas@poseidon.ndb.mysql.com
49b02a8f21 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
2004-11-23 09:51:39 +00:00
serg@serg.mylan
ee933cd198 merged 2004-11-22 21:33:15 +01:00
tomas@poseidon.ndb.mysql.com
2e63f22a71 Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1
into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-mysqladmin
2004-11-22 15:53:06 +00:00
tomas@poseidon.ndb.mysql.com
1d981111e0 added force send interface to scan
prepared for using query cache in ndb
2004-11-22 13:41:46 +00:00
mskold@mysql.com
f0e95c3704 Added checks for NOT NULL for all fields in UNIQUE INDEX (USING HASH) 2004-11-22 10:35:03 +01:00
joreland@mysql.com
74cc4fc06a merge 2004-11-22 08:12:49 +01:00
serg@serg.mylan
2d3dd65cc1 merged 2004-11-20 18:36:41 +01:00
tomas@poseidon.ndb.mysql.com
2ec794a970 Merge 2004-11-18 21:54:53 +00:00
mskold@mysql.com
a4d061a5d9 Fix for bug#4312 ndb table, wrong behaviour on insert .. on duplicate key .. 2004-11-18 12:11:56 +01:00
joreland@mysql.com
1c75becb7c wl#2126 - read_multi_range ndb part 2004-11-17 10:07:52 +01:00
tomas@poseidon.ndb.mysql.com
1700bf3844 Enabled usage of new system variables for ndb
- ndb_use_exact_count
  - ndb_autoincrement_prefetch_sz
  - ndb_use_transactions
  - ndb_force_send
moved "inlined" functions to .cc file since they are virtual anyways
enabled printout od ndb errors in warnings even if mapping existst to mysql error code
2004-11-17 08:15:53 +00:00
monty@mysql.com
1087186657 Merge with 4.1 to get new thd->mem_root handling 2004-11-08 17:53:32 +02:00