- 11 Nov, 2009 2 commits
-
-
Alexey Botchkov authored
-
Alexey Botchkov authored
-
- 10 Nov, 2009 2 commits
-
-
Alexey Botchkov authored
In fact this crashes in normal (not embedded) run also. The problem is in the memory mapping. Handling the ha_myisammrg::extra(MMAP) the MERGE engine tries to mmap all the tables it unites. Though some can be empty and then in the mi_dynmap_file() we call the my_mmap(0). Normally this call returns MAP_FAILED, but not on FreeBSD. There it returns like a 'normal' value, and after the consequitive munmap systems gets unstable and crashes on some system call later. per-file comments: storage/myisam/mi_dynrec.c Bug #47139 Test "merge" crashes in "embedded" run don't try to mmap zero-length area, just return at once.
-
Alexey Botchkov authored
The additional patch. That 'loadxml.test' failure was actually about our testing system, not the code. Firstly we need a new mysqltest command, wich i called 'send_eval'. So the expression can be evaluated, then started in a parallel thread. We only have separane 'send' and 'eval' commands at the moment. Then we need to add the waiting code after the 'KILL' to our test, so the thread will be killed before the test goes further. The present 'reap' command doesn't handle the killed threads well. per-file comments: client/mysqltest.cc Bug#42520 killing load .. infile Assertion failed: ! is_set(), file .\sql_error.cc, line 8 The 'send_eval' command implemented. mysql-test/r/loadxml.result Bug#42520 killing load .. infile Assertion failed: ! is_set(), file .\sql_error.cc, line 8 test result updated. mysql-test/t/loadxml.test Bug#42520 killing load .. infile Assertion failed: ! is_set(), file .\sql_error.cc, line 8 test case added.
-
- 06 Nov, 2009 2 commits
-
-
Mikael Ronstrom authored
-
Mikael Ronstrom authored
-
- 05 Nov, 2009 2 commits
-
-
Mikael Ronstrom authored
BUG#48447, BUG#48161, fixed a regression from fix of BUG#6045, where binary collations can use indexes/partition pruning for cases using equality conditions, however it cannot be used for any other condition like <, >, <=, >=, <>, also added test case for verification of BUG#47774 in this patch
-
Alexander Nozdrin authored
-
- 04 Nov, 2009 1 commit
-
-
Mikael Ronstrom authored
Fixed a use of non-initialised variable, cannot use NULL flags if RANGE == NO_MAX_RANGE or NO_MIN_RANGE, so need to check NULL flags after checking the RANGE isn't NO_MAX_RANGE
-
- 03 Nov, 2009 4 commits
-
-
Sergei Golubchik authored
bug fixes for my_vsnprintf include/mysql/service_my_snprintf.h: typo fixed strings/my_vsnprintf.c: bugfixes: correct handling of %08p (%p with zero-padding) assert crash on .*$n (positional argument as precision)
-
Mikael Ronstrom authored
-
Sergei Golubchik authored
this also fixes a crash when plugin_init() uses ER() too early
-
Alexander Nozdrin authored
-
- 02 Nov, 2009 8 commits
-
-
Mikael Ronstrom authored
-
Sergei Golubchik authored
(mysql-next-mr backport)
-
Alexander Barkov authored
from mysql-next-mr-bar
-
Alexander Nozdrin authored
```--------------------------------------------------------- revno: 2599.178.12 revision-id: alik@mysql.com-20080812161845-we7cx9f22yrghob1 committer: Alexander Nozdrin <alik@mysql.com> branch nick: 6.0-rt-build timestamp: Tue 2008-08-12 20:18:45 +0400 message: Fix memory leak. ``` ---------------------------------------------------------
-
Mikael Ronstrom authored
Fixed a few bugs in hex string generation, in call to val_str for partition expressions, also made code reusable for DEFAULT handling to fix BUG#48464 by introducing function get_cs_converted_string_value, added partition_utf8 test case for UTF8 outputs
-
Alexander Nozdrin authored
-
Mikael Ronstrom authored
-
Mikael Ronstrom authored
-
- 31 Oct, 2009 5 commits
-
-
Mikael Ronstrom authored
-
Mikael Ronstrom authored
-
Alexander Nozdrin authored
-
Alexander Nozdrin authored
-
Sergei Golubchik authored
(instead of a C++ only thingy that was lost in a merge)
-
- 30 Oct, 2009 5 commits
-
-
Mikael Ronstrom authored
-
Mikael Ronstrom authored
Fixed such that we fail if using integer constants for character set fields, now need to have correct constant types
-
Mikael Ronstrom authored
Fixed so that character set constants are encoded as hex strings in frm file, but as utf8 strings in the same manner as default values in show create table and information schema tables
-
Sergei Golubchik authored
function/ syntax glob(7) wildcards unit tests
-
Mikael Ronstrom authored
-
- 29 Oct, 2009 9 commits
-
-
Mikael Ronstrom authored
-
Marc Alff authored
Backport for 5.5 In non debug builds, the statements: - SHOW PROCEDURE CODE - SHOW FUNCTION CODE used to fail with a "syntax error", which is misleading. These statements have been changed to return the following error for non debug builds: ERROR HY000: The 'SHOW PROCEDURE|FUNCTION CODE' feature is disabled; you need MySQL built with '--with-debug' to have it working For debug builds (./configure --with-debug), nothing is changed.
-
Kristofer Pettersson authored
-
Marc Alff authored
Backport for 5.5
-
Marc Alff authored
-
Marc Alff authored
Backport to 5.5
-
Alexander Nozdrin authored
-
Mikael Ronstrom authored
BUG#48397, set key_part->length to key_part->store_length isn't correct, store_length is a bit longer
-
Kristofer Pettersson authored
When the query cache is disabled, the server shouldn't attempt to take the query cache mutex. By using the command line option --query_cache_type=0, the user can disable (backport from mysql-pe) mysql-test/t/query_cache_disabled-master.opt: * added test case for bug38551 mysql-test/t/query_cache_disabled.test: * added test case for bug38551 sql/set_var.cc: * Added before-trigger to verify that query_cache_type wasn't turned off or on during runtime. sql/set_var.h: * Changed order on how the enumeration is processed. By first projecting the character representation of the variable to a temporary integer we can have one function instead of two to check if the value is valid. sql/share/errmsg-utf8.txt: * Added error message for query cache disabled state sql/sql_cache.cc: * If the query cache is disabled at start up, shorten the execution path and avoid grabbing the query cache mutex each time the invalidate interface methods are called. sql/sql_cache.h: * Added new methods to set the query cache into a disabled state.
-