Staale Smedseng
2b48caa42d
Bug #32223 SETting max_allowed_packet variable
...
Inconsistent behavior of session variable max_allowed_packet
(and net_buffer_length); only assignment to the global variable
has any effect, without this being obvious to the user.
The patch for Bug#22891 is backported to 5.0, making the two
session variables read-only. As this is a backport to GA
software, the error used when trying to assign to the read-
only variable is ER_UNKNOWN_ERROR. The error message is the
same as in 5.1+.
2009-06-19 11:27:19 +02:00
Alexey Kopytov
1341ab2347
Attempt #2 to fix PB failures introduced by the patch for bug #44796 .
...
Since max_allowed_packet is a read-only variable in 5.1 and up,
disable warnings to avoid unnecessary test case complication.
2009-05-21 21:50:17 +04:00
Alexey Kopytov
6077086cb4
Fixed a PB failure introduced by the patch for bug #44796 .
...
Set max_allowed_packet to get a consistent error message.
2009-05-21 19:14:56 +04:00
Alexey Kopytov
85645fe3f6
Bug #44796 : valgrind: too many my_longlong10_to_str_8bit
...
warnings after uncompressed_length
UNCOMPRESSED_LENGTH() did not validate its argument. In
particular, if the argument length was less than 4 bytes,
an uninitialized memory value was returned as a result.
Since the result of COMPRESS() is either an empty string or
a 4-byte length prefix followed by compressed data, the bug was
fixed by ensuring that the argument of UNCOMPRESSED_LENGTH() is
either an empty string or contains at least 5 bytes (as done in
UNCOMPRESS()). This is the best we can do to validate input
without decompressing.
2009-05-20 12:30:06 +04:00
ramil/ram@mysql.com/myoffice.izhnet.ru
84048dc763
Merge mysql.com:/usr/home/ram/work/bug23254/my41-bug23254
...
into mysql.com:/usr/home/ram/work/bug23254/my50-bug23254
2006-10-13 19:09:22 +05:00
ramil/ram@mysql.com/myoffice.izhnet.ru
31402835d4
Fix for bug #23254 : COMPRESS(NULL) makes all futher COMPRESS() calls on same Item return NULL
...
We don't set null_value to 0 in the Item_func_compress::val_str() for
not-NULL results.
2006-10-13 19:05:54 +05:00
jimw@rama.(none)
9c18b5752c
Bug #18539 : uncompress(d) is null: impossible?
...
The UNCOMPRESS() function was not marked as maybe_null, even though
it returns NULL on invalid data. This confused the optimizer.
2006-07-10 19:50:40 -07:00
aelkin@mysql.com
c5219d0d67
Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/4.1
...
into mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0
2006-04-23 12:32:39 +03:00
ramil@mysql.com
2398882097
Fix for bug #18643 : crazy UNCOMPRESS().
2006-04-13 16:19:21 +05:00
monty@mysql.com
15d48525af
Merge mysql.com:/home/my/mysql-4.1
...
into mysql.com:/home/my/mysql-5.0
2005-07-28 17:09:54 +03:00
monty@mysql.com
3c12d0ae54
Added end marker for tests to make future merges easier
2005-07-28 03:22:47 +03:00
monty@mysql.com
314cf993c6
Fixed memory reference errors found by valgrind
2005-01-12 03:38:53 +02:00
serg@serg.mylan
7eccc3107f
skip last compress test if we're short of RAM
2004-11-28 16:31:14 +01:00
ram@gw.mysql.r18.ru
80f6c7e9a9
Clean-up. The length of compress() may depend on zlib version, etc.
2004-09-16 15:01:12 +05:00
ram@gw.mysql.r18.ru
a3a6b7fa25
A fix (bug #5497 : COMPRESS() returns NULL for large strings).
2004-09-13 18:43:59 +05:00
antony@ltantony.rdg.cyberkinetica.homeunix.net
fcf96dbb18
WorkLog#1323
...
Deprecate the use of TYPE=... Preferred syntax is ENGINE=
2003-12-10 04:31:42 +00:00
bell@sanja.is.com.ua
33346e26af
added code covarage for functions convert(), nullif(), crc32(), is_used_lock(), char_lengtrh(), bit_xor()
...
added string length for more speed
made code covarage for print() method of Item
fixed printability of some items (SCRUM) (WL#1274)
2003-10-30 12:57:26 +02:00
serg@serg.mylan
32fed1e877
wrong ER_TOO_BIG_FOR_UNCOMPRESS error in UNCOMPRESS() fixed.
...
typo in error message text corrected.
new tests added
2003-10-12 15:16:45 +02:00
ram@gw.mysql.r18.ru
50254237de
Fix for the bug #1333 : COMPRESS(NULL) segfaults.
2003-09-19 12:25:03 +05:00
vva@eagle.mysql.r18.ru
11666b5281
small compress/uncompress modification after monty's review
2003-04-22 18:41:47 -04:00
vva@eagle.mysql.r18.ru
950fa7aa8a
added compress/uncompress function
2003-04-09 20:50:30 -04:00