bar@bar.mysql.r18.ru
4b9c7f8336
Item_func_field doesn't have a separate Item to store the first argument.
...
It's now passed as args[0]. This fix allowed to resuse a lot of code.
2003-07-15 17:33:00 +05:00
venu@myvenu.com
7d094db001
Add the support of 'SUBSTR' function compatible with Oracle and SAPDB (SCRUM #872 )
2003-07-11 18:55:03 -07:00
bar@bar.mysql.r18.ru
0c2041cfdf
New methods
...
Item_func::agg_arg_collations()
Item_func::arr_arg_collations_for_comparison()
to aggregate argument collations.
It helps to reuse a lot of code.
2003-07-04 18:12:23 +05:00
hf@deer.(none)
fd4a1d4e54
Fix for #739
...
check for negative count in RPAD added
2003-07-03 23:24:23 +05:00
bar@bar.mysql.r18.ru
d1607a11fe
FIELD() now takes in account arguments collations
2003-07-03 19:24:38 +05:00
bar@bar.mysql.r18.ru
07f94cb7cd
Row comparison now does compare field collations, e.g.
...
ROW('a','b','c) = ROW('A' collate latin1_bin,'b','c') returns 0
When a number is compared to a string, character sets and
collations are not aggregated. e.g. this returned error in 4.1.0:
SELECT 1=_latin2'1';
because character sets was aggregated, and 1 was considered as
a string of latin1 charset during this aggregation.
2003-07-03 17:00:01 +05:00
bar@bar.mysql.r18.ru
d31de69795
str0 IN (str1, str2, ...) now works according to collation rules
2003-06-27 13:52:38 +05:00
bar@bar.mysql.r18.ru
52a7f95678
BETWEEN now works according to collation rules
2003-06-27 12:02:08 +05:00
bar@bar.mysql.r18.ru
c6c4e8b8e1
LOCATE(), INSTR(), POSITION(), FIND_IN_SET(), SUBSTRING_INDEX()
...
now process arguments according to standard SQL collation determation
rules.
2003-06-25 15:07:20 +05:00
hf@deer.(none)
383d354c5c
Test case for bug #666
2003-06-24 17:07:43 +05:00
bar@bar.mysql.r18.ru
ebb88ec6ea
LPAD, RPAD, MAKE_SET and EXPORT_SET now works correctly with collations
2003-06-19 13:12:55 +05:00
bar@bar.mysql.r18.ru
69af692a5c
These functions now return a result of proper collation:
...
BIN
OCT
CONV
HEX
CHAR
FORMAT
REPLACE
2003-06-19 11:36:44 +05:00
bar@bar.mysql.r18.ru
5b9db52966
Function INSERT() now works according to coercibility rules
...
Test for INSERT() has been added
2003-06-10 16:41:42 +05:00
bar@bar.mysql.r18.ru
3d08cfecd4
Some more functions work according to coercibility now:
...
repeat, reverse, quote, soundex, substring
Test func_str has been extended to check them
2003-06-10 14:54:03 +05:00
monty@narttu.mysql.fi
7a54334443
Merge with 4.0.13
2003-06-05 17:33:38 +03: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
bar@bar.mysql.r18.ru
f696135c30
Collation & coercibility tests for LTRIM, RTRIM and TRIM
2003-06-03 17:13:19 +05:00
bar@bar.mysql.r18.ru
8514caa1da
CREATE TABLE t1 SELECT left(_latin2'a',1) didn't work, the charset got lost
...
Collation and coercibility tests for string functions
2003-05-23 11:32:35 +05:00
monty@narttu.mysql.fi
a7708c7904
Merge with 4.0
2003-04-03 21:19:12 +03:00
hf@deer.mysql.r18.ru
deca14ebde
truncating REPLACE result bug fix
2003-03-30 18:36:01 +05:00
monty@mashka.mysql.fi
fb1665200f
merge post fix
2003-01-06 02:41:53 +02:00
ram@mysql.r18.ru
8009c16a34
Fix for the QUOTE() function.
2003-01-03 19:46:15 +04:00
ram@mysql.r18.ru
aedd600401
Fix for QUOTE() function.
2003-01-01 15:59:35 +04:00
monty@mashka.mysql.fi
d783e18436
merge
2002-12-14 17:49:01 +02:00
monty@mashka.mysql.fi
d49167bae5
Fixes for binary protocol (complement to last push)
...
Changed timestamp to return string in YYYY-MM-DD HH:MM:SS format.
DATE_ADD() and related functions now returns correct DATE/DATETIME type depending on argument types.
Now all tests passes, still some work left to remove warnings in log files from mysql-test-run
2002-12-14 17:43:01 +02:00
vva@eagle.mysql.r18.ru
7050b5eb4d
add 'SOUNDS LIKE' syntax
2002-12-14 02:18:14 +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
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)
eb910c8d10
test case for the QUOTE() function
2002-08-09 17:58:30 +05:00
peter@linux.local
89b161d05d
This changeset is mostly new version of previous commit modified according
...
to Monty's code style and optimization comments
2002-06-11 13:37:48 +04:00
serg@serg.mysql.com
ef8436beff
BIT_LENGTH ODBC function
2002-01-03 19:47:14 +00:00
monty@hundin.mysql.fi
1d3e058c4b
Added FLUSH DES_KEY_FILE.
...
New HEX() function.
Final (?) cleanup of des_encrypt() / des_decrypt().
Added missing files to Makefiles.
2001-12-13 15:53:18 +02:00
monty@hundin.mysql.fi
9209210d30
Fix bug when repairing compressed MyISAM files
...
LOCATE() is now case sensitive
2001-11-22 13:50:50 +02:00
sasha@mysql.sashanet.com
bb66c80aeb
client/mysqlmanagerc.c
...
added support for quiet
increased line buffer size
client/mysqltest.c
fixed memory leak
added query logging to result file
added error message logging to result file
added enable_query_log/disable_query_log
mysql-test/mysql-test-run.sh
converted tests to use mysqlmanager
Updated test results
2001-09-27 23:05:54 -06:00
monty@tik.mysql.fi
3099c54d94
Test case for bug when updating on key
...
Fixed bug in CONCAT_WS()
Print the default ISOLATION level.
Change lock type for CREATE ... SELECT and INSERT/REPLACE ... SELECT
2001-03-23 20:38:42 +02:00
monty@donna.mysql.com
038fe2fc5c
Added MYSQL_SERVER_SUFFIX to mysqld
...
Fixed bug in TRIM
changed strnmov -> strmake
2001-01-19 04:57:29 +02:00
monty@donna.mysql.com
e05df20dc5
Fixed gethostname_r tests to be more portable
2001-01-01 14:17:10 +02:00
monty@donna.mysql.com
c0f40d14cc
Added support for hex strings to mysqlimport
...
A lot of new tests to mysqltest
Fixed bug with BDB tables and autocommit
2000-12-28 03:56:38 +02:00