istruewing@chilla.local
344f33bb89
Bug#26996 - Update of a Field in a Memory Table ends with wrong result
...
Using a MEMORY table BTREE index for scanning for updatable rows
could lead to an infinite loop.
Everytime a key was inserted into a btree index, the position
in the index scan was cleared. The search started from the
beginning and found the same key again.
Now we do not clear the position on key insert an more.
2007-03-19 15:56:53 +01:00
kroki/tomash@moonlight.home
45e9762027
Merge moonlight.home:/home/tomash/src/mysql_ab/mysql-4.0-bug23443
...
into moonlight.home:/home/tomash/src/mysql_ab/mysql-4.1-bug23443
2007-01-09 12:39:05 +03:00
kroki/tomash@moonlight.home
5b4d9d8706
BUG#23443: user-defined variables can consume too much memory in the
...
server
The problem was that when memory was exhausted HEAP engine could crash
(GROUP BY uses HEAP TABLE). Alternatively, if SET was used, it could
report an error "You may only use constant expressions with SET" instead
of "Out of memory (Needed NNNNNN bytes)".
The solution is:
- pass MY_WME to (some) calls to my_malloc() to get correct message.
- fix heap_write() so that the first key is skipped during cleanup
on ENOMEM because it wasn't inserted and doesn't have to be
deleted.
No test case is provided because we can't test out-of-memory behaviour
in our current test framework.
2007-01-09 12:24:25 +03:00
serg@serg.mylan
367bcf8c40
limit HEAP table size with max_heap_table_size, better estimation for mem_per_row
2005-01-14 19:49:45 +01:00
sergefp@mysql.com
a0ba02d740
Fix for bug#5138 continued: added comments, removed extra debug printf calls, changed ha_heap::records_in_range to use table->rec_per_key.
2004-10-12 18:21:25 +04:00
sergefp@mysql.com
2c9d2cf671
Fix for bug#5138: hash indexes on heap tables support statistics.
...
KEY::rec_per_key is updated every time 1/HEAP_STATS_UPDATE_THRESHOLD part of table records has been changed.
2004-09-08 02:07:53 +04:00
vva@eagle.mysql.r18.ru
38a72a162a
fixed for BUG #2719 "Heap tables status shows wrong or missing data"
2004-02-20 00:33:16 +04:00
monty@mashka.mysql.fi
859b688476
Merge with 4.0.6
2002-12-05 19:38:42 +02:00
monty@mashka.mysql.fi
9d0f0402a7
Fixed bug when creating keys in temporary HEAP tables.
...
(This caused the DISTINCT test to fail)
Removed one inline as this caused compiler problems
2002-12-02 17:52:22 +02:00
monty@mashka.mysql.fi
6603d75213
New multi-table-update code
...
New (simpler) internal timestamp handling.
More debuging to heap tables.
Small cleanups to multi-table-delete
false -> 0 and true -> 1 (We should use TRUE and FALSE)
2002-11-29 16:40:18 +02:00
ram@mysql.r18.ru
2e1a0c031a
auto_increment for heap tables
...
test case
2002-10-07 17:49:03 +05:00
monty@hundin.mysql.fi
ab1a273198
Merge work:/my/mysql-4.1 into hundin.mysql.fi:/my/mysql-4.1
2002-06-04 11:39:33 +03:00
monty@hundin.mysql.fi
ee6bd84880
Changes for new binary .frm format
...
Fixes after last merge from 4.0.
(Code not yet complete, need anoter merge from 4.0)
2002-06-04 08:23:57 +03:00
ram@gw.udmsearch.izhnet.ru
479b3b3f03
Removed unnecessary key search in the hp_rb_write_key() function
2002-05-28 20:46:35 +05:00
ram@gw.udmsearch.izhnet.ru
3b43cb2960
BTREE heap key structure is now the same as MyISAM
...
_mi_compare_text -> mi_compate_text
Changes according Monty's suggestions
2002-05-21 21:54:08 +05:00
bar@gw.udmsearch.izhnet.ru
eab2893dac
RB-Tree indexes support in HEAP tables
...
Renamed _hp_func -> hp_func
mi_key_cmp moved to /mysys/my_handler.c
New tests for HEAP tables
2002-04-25 13:36:55 +05:00
monty@hundin.mysql.fi
4d10a0cb7e
Add support for NULL=NULL in keys (Used in GROUP BY optimization)
...
Add ISAM to Windows version
Fix of test results
Fixes for NULL keys in HEAP tables.
2002-01-16 00:42:52 +02:00
monty@tik.mysql.fi
7dd4eb71fe
Added support of null keys in HEAP tables
...
Added ORDER BY optimization
2002-01-12 15:42:54 +02:00
monty@hundin.mysql.fi
b658662ae4
Update copyright
...
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
5a14bb2a7e
Integrated table->ref_primary_key into table->part_of_key
...
Fixed bug in UNION
2001-09-21 03:38:35 +03:00
monty@hundin.mysql.fi
7a19987805
OS2 patch
2001-09-12 23:53:31 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00