cmiller@zippy.(none)
5039184e83
Bug#19006: 4.0 valgrind problems (in test func_str)
...
On exactly-sized Strings, the String::c_ptr() function peeked beyond the
end of the buffer, possibly into unititialized space to see whether the
buffer was NUL-terminated.
In a place that did peek improperly, we now use a c_ptr_safe() function,
which doesn't peek where it shouldn't.
2006-07-01 14:31:52 -04:00
ramil@mysql.com
97562d74c9
Fix for bug #12728 : Very strange behaviour of ELT
2006-06-13 16:01:54 +05:00
patg@krsna.patg.net
8109934e1d
BUG 11104 (same as changeset 1.1891 on the 5.0 tree, but realised this
...
needed to be fixed in earlier versions)
Fixed the iteration of how substrings are handled with negative indexes in
SUBSTRING_INDEX
2005-07-31 21:28:52 -07:00
igor@rurik.mysql.com
4559fb998b
func_str.result, func_str.test:
...
Added a test case for bug #8669 .
item_strfunc.cc:
Fixed bug #8669 .
Function AES_DECRYPT can return NULL value.
2005-03-09 00:15:51 -08:00
gluh@gluh.mysql.r18.ru
00449b8f9c
Fix for bug#8978 : Crash on 'select format ...'
2005-03-07 18:56:18 +03:00
jimw@mysql.com
e86457cef0
Fix QUOTE() to not reuse the input field for output, which resulted in
...
incorrect results when the input was a constant across a multi-row SELECT
statement. (Bug #8248 )
2005-02-01 18:29:10 -08:00
Sinisa@sinisa.nasamreza.org
3c5a325897
Fix for a bug #7495
2004-12-23 21:08:54 +02:00
Sinisa@sinisa.nasamreza.org
e409ebf143
A fix for the bug #7495
2004-12-22 21:31:17 +02:00
ram@gw.mysql.r18.ru
98df9313c0
A fix (bug #6564 : QUOTE(NULL) returns NULL, not the string 'NULL')
2004-11-11 18:20:40 +04:00
ram@gw.mysql.r18.ru
2488b827de
A fix (bug #5498 TRIM fails with LEADING or TRAILING if remstr = str).
2004-09-13 14:25:43 +05:00
ram@gw.mysql.r18.ru
e166036894
A fix (bug #3756 : ISNULL(QUOTE()) returns 1 for every row after 1st NULL)
2004-05-17 12:47:16 +05:00
serg@serg.mylan
2bcfab10ea
bug#3556 - soundex
2004-04-28 14:19:02 +02:00
monty@mysql.com
151b558e21
Mark that strings may change on index only reads (for BDB tables).
...
This fixed problem with index reads on character fields with BDB tables. (Bug #2509 )
2004-01-29 15:16:48 +01:00
vva@eagle.mysql.r18.ru
edf7a7b1d9
some ammendments (comments and code style)
2004-01-22 20:20:43 +04:00
vva@eagle.mysql.r18.ru
4a668f95ce
added test for bug #2290 "output truncated with ELT when using DISTINCT"
2004-01-21 02:18:51 +04:00
monty@mysql.com
f995a5f4aa
Fix autoincrement for signed columns (Bug #1366 )
...
Fixed problem with char > 128 in QUOTE() function. (Bug #1868 )
Disable creation of symlinks if my_disable_symlink is set
Fixed searching of TEXT with end space. (Bug #1651 )
Fixed caching bug in multi-table-update where same table was used twice. (Bug #1711 )
Fixed problem with UNIX_TIMESTAMP() for timestamps close to 0. (Bug #1998 )
Fixed timestamp.test
2003-12-12 22:26:58 +02:00
konstantin@mysql.com
124c4ca346
cleanup: if there is return from if-part, we don't need else statement
2003-12-10 22:26:31 +03:00
monty@mysql.com
6a95123971
Added checking of return value from my_once_alloc() in charset
...
Added checking of return value from malloc() in reg_init()
2003-12-10 00:00:20 +02:00
gluh@gluh.mysql.r18.ru
d626c313e5
Fix for bug#1944 'Function RPad() sometimes produce unexpected result'
2003-12-04 14:12:01 +04:00
dlenev@mysql.com
1c11077d60
Replaced deprecated since OpenSSL 0.9.7 des_ calls and types with
...
their newer DES_ versions.
Provided macros for backward compatibility.
2003-09-12 22:33:43 +04:00
monty@narttu.mysql.fi
4542d142d7
Portability fixes
2003-07-15 13:10:20 +03:00
monty@narttu.mysql.fi
a3fe7c0959
Remove compiler warnings
...
Simple cleanup of previous pull
2003-07-04 23:06:19 +03:00
hf@deer.(none)
fd4a1d4e54
Fix for #739
...
check for negative count in RPAD added
2003-07-03 23:24:23 +05:00
hf@deer.(none)
eb7ab936bf
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into deer.(none):/home/hf/work/mysql-4.0.628
2003-07-03 16:50:17 +05:00
monty@mashka.mysql.fi
9fb7e863ad
Optimized old patches
...
Don't set field to DEFAULT value when set to NULL
2003-07-01 14:38:38 +03:00
monty@mashka.mysql.fi
5dab55de73
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
...
into mashka.mysql.fi:/home/my/mysql-4.0
2003-07-01 13:30:55 +03:00
monty@mashka.mysql.fi
7655f05dc2
LEFT JOIN optimization: Change LEFT JOIN to normal join if possible
2003-06-26 05:38:19 +03:00
hf@deer.(none)
b24fd86a91
Fix for bug #628
2003-06-21 20:17:50 +05:00
hf@deer.(none)
27c67fbfe7
Fix for bug #666 (Nice number, yeah?)
2003-06-20 20:04:52 +05:00
jani@ua126d19.elisa.omakaista.fi
4b55fbe092
Fixed a bug in concat_ws(), which did not add concat separator
...
in case of an empty string. Bug ID 586.
2003-06-05 15:06:19 +03:00
monty@mashka.mysql.fi
4bde719df7
Safety fix to enable RAID in max binaries
...
Better fix for format('nan')
Fix for HAVING COUNT(DISTINCT...)
2003-05-13 10:54:07 +03:00
Sinisa@sinisa.nasamreza.org
b086445181
merge fix
2003-04-29 14:35:10 +03:00
monty@mashka.mysql.fi
51eed4b48c
Fix for openssl on Solaris
...
Fix for grant bug with SELECT *
2003-04-28 10:32:56 +03:00
monty@mashka.mysql.fi
bf6cfd2948
Fix for -fbranch-probabilites (bug 268)
...
Fix for LEFT/RIGHT/MID with multi-byte-character sets (bug 314)
Fix for new bison 1.875
max_insert_delayed_threads and delayed_insert_timeout now works as documented (bug 211)
Don't show port in SHOW PROCESSLIST for system threads
Fix problem with ORDER BY being discarded for some DISTINCT queries (bug 275)
Fixed bug with NATURAL LEFT JOIN, NATURAL RIGHT JOIN and RIGHT JOIN when
using many joined tables (Bug 212)
2003-04-26 20:43:28 +03:00
Sinisa@sinisa.nasamreza.org
0e76eab9d4
Fix for a NAN problem in FORMAT(...) string function ..
2003-04-14 21:46:24 +03:00
hf@deer.mysql.r18.ru
deca14ebde
truncating REPLACE result bug fix
2003-03-30 18:36:01 +05:00
guilhem@mysql.com
17537ba797
Fix for #178 Replicating INSERT VALUES(USER()) crashes (SEGV) the slave
...
Now it does not SEGV, but USER() is still badly replicated
(it is replicated to ""), which is a lower priority bug.
2003-03-22 15:22:59 +01:00
monty@mashka.mysql.fi
9e3fd09305
merge with 3.23.56 to get patches for --lower-case-table-names and
...
proper handling of SUM() in some functions.
2003-01-29 19:22:22 +02:00
bell@sanja.is.com.ua
c6beb583f6
fixed functions to be able work with group function as argument
...
made bisone 1.75 compatible code
2003-01-29 10:38:56 +02:00
ram@mysql.r18.ru
8009c16a34
Fix for the QUOTE() function.
2003-01-03 19:46:15 +04:00
monty@mashka.mysql.fi
7f55d92637
fixed so that --ssl and --skip-ssl works with the MySQL clients.
...
Fixed core dump bug when sending wrong string to AES_DECRYPT()
2002-09-17 23:46:53 +03:00
monty@hundin.mysql.fi
5aa46cafe3
Updated VC++ dsp files from windows build machine
...
Remove some compiler warnings when using VC++
Add InnoDB in normal MySQL binary for windows.
2002-08-29 18:20:04 +03:00
monty@hundin.mysql.fi
c99c1fd384
Changed IF(expr, column, NULL) to take type from column
...
Fixed some windows portability problems and removed some compiler warnings
Cleaned up QUOTE() function and fixed bug in \0 and \Z handling.
2002-08-12 03:33:46 +03:00
ram@ram.(none)
deaec7b0e0
QUOTE() code cleanup
2002-08-10 15:13:05 +05:00
ram@ram.(none)
390678905b
added NULLs check to the QUOTE() function
2002-08-09 19:36:36 +05:00
ram@ram.(none)
b43eb82b10
QUOTE() func changes according to monty's suggestions
2002-08-09 15:42:38 +05:00
ram@ram.(none)
b7403f3d84
new QUOTE() fuction has been added
2002-08-08 20:25:53 +05:00
monty@mashka.mysql.fi
dddc20d9d1
New SET syntax & system variables.
...
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
peter@linux.local
53ea45699b
Minor compilation fix
2002-06-22 11:44:46 +04:00
monty@hundin.mysql.fi
0d8e13979d
Made keyread (key scanning) a key specific attribute.
...
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
2002-06-19 00:22:30 +03:00