kaa@polly.local
050c6723e8
Fix for bug #24912 "problems with bigint in abs() ceiling() round() truncate() mod()" and a number of related problems:
...
- unsigned flag was not handled correctly for a number of mathematical funcions, which led to incorrect results
- passing large values as the number of decimals to ROUND() resulted in incorrect results and even server crashes in some cases
- reverted the fix and the testcase for bug #10083 as it violates the manual
- fixed some testcases which relied on broken ROUND() behavior
2007-04-28 20:01:01 +04:00
kroki@mysql.com
08f192f81b
Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement
...
The problem was that we restored SQL_CACHE, SQL_NO_CACHE flags in SELECT
statement from internal structures based on value set later at runtime, not
the original value set by the user.
The solution is to remember that original value.
2006-06-27 21:28:32 +04:00
gluh@eagle.intranet.mysql.r18.ru
33e7d20f37
Fix for bug#16678 FORMAT gives wrong result if client run with default-character-set=utf8
...
calculate Item_func_format::max_length using charset->mbmaxlen
2006-03-06 12:52:38 +04:00
gunnar@mysql.com.
001224c09d
item_func.cc:
...
fix for bug#8461
BUG 8461 - TRUNCATE returns incorrect result if 2nd argument is negative
Reason: Both TRUNCATE/ROUND converts INTEGERS to DOUBLE and back to INTEGERS
Changed the integer routine to work on integers only.
This bug affects 4.1, 5.0 and 5.1
Fixing in 4.1 will need to change the routine to handle different types individually.
5.0 did had different routines for different types already just the INTEGER routine was bad.
2006-02-07 13:26:35 +01:00
jimw@mysql.com
009bcc7442
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-10-27 18:46:00 -07:00
jimw@mysql.com
31a79ee3d0
Fix Item_func_abs::fix_length_and_dec() to set maybe_null properly. (Bug #14009 )
2005-10-17 17:00:42 -07:00
hf@deer.(none)
15fbd07a22
Fix for bug #13820 (No warning on log(NEGATIVE))
2005-10-17 12:32:22 +05:00
bell@sanja.is.com.ua
352c7b9cbc
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-mrg-5.0
2005-09-06 20:51:15 +03:00
gluh@eagle.intranet.mysql.r18.ru
a5bd5e9af2
Bug #6172 RAND(a) should only accept constant values as arguments(2nd version)
...
Argument of RAND function can be constant value only
2005-09-06 16:19:59 +05:00
jimw@mysql.com
fb903c1e2c
Fix two test results that were merged out-of-order.
2005-08-01 19:21:56 -07:00
jimw@mysql.com
48d111c8c2
Merge mysql.com:/home/jimw/my/mysql-4.1-clean
...
into mysql.com:/home/jimw/my/mysql-5.0-clean
2005-08-01 17:54:57 -07:00
jimw@mysql.com
1fa7b95d98
Fix multiplication of abs() by a negative value. (Bug #11402 )
2005-06-22 20:00:21 -07:00
hf@deer.(none)
f1fb785b12
Fix for bug #10632 (CEILING returns wrong result)
2005-06-15 19:53:40 +05:00
holyfoot@hf-ibm.(none)
717d92f6a6
Fix for bug #10083 (round doesn't increase scale)
2005-06-09 15:27:26 +05:00
holyfoot@hf-ibm.(none)
ff9951f221
Fix for bug #8429 (FORMAT returns incorrect result)
2005-06-08 15:49:36 +05:00
ramil@mysql.com
b06181bccd
hf's fix for bug #9060 (FORMAT returns incorrect result)
...
we need proper rounding there
2005-05-20 01:04:08 +05:00
ramil@mysql.com
79f049f7b0
after-merge fix
2005-04-27 19:06:47 +05:00
ramil@mysql.com
775010a40d
A fix (bug #9837 : round(1, 6) delivers wrong value in create table context).
2005-04-19 14:44:54 +05:00
ram@gw.mysql.r18.ru
da562b7e02
A fix (bug #7281 : RAND(RAND) crashes server).
2004-12-20 13:47:38 +04:00
serg@serg.mylan
3f2210c064
after merge fixes
2004-08-19 03:02:09 +02:00
bell@sanja.is.com.ua
4c774e0c18
fixed flags of printed query
2004-05-13 23:47:20 +03:00
monty@mysql.com
82c79134b0
merge with 4.0 to get portability fixes
2004-03-19 18:35:49 +02:00
monty@mysql.com
9a1baf7d62
Portability fixes
...
Fixed some wrong column specifications in mysql_fix_privilege_tables
2004-03-19 18:26:02 +02:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
monty@mysql.com
91a8546112
Portability fixes & fixing of test suite
2004-03-12 09:15:08 +02:00
monty@mysql.com
98fb8ea4c7
Merge with 3.23 to get patch for floor()
2004-03-12 01:12:14 +02:00
vva@eagle.mysql.r18.ru
cba6ff7597
fixed Bug #3051 "FLOOR returns invalid"
2004-03-04 22:11:33 +04:00
monty@mysql.com
ce14578909
Merge with 4.0.18
2004-02-11 00:06:46 +01:00
konstantin@mysql.com
8090b61fcb
3.23 -> 4.0 merge: after merge fixes
2004-02-06 16:40:44 +03:00
konstantin@mysql.com
2a4cfe8b4f
merge 3.23 -> 4.0, 2003/02/06
2004-02-06 15:23:41 +03:00
vva@eagle.mysql.r18.ru
d7f6ced155
Fixed Bug #2338 Trigonometric arithmetic problem
...
by fixing optimizer bug with help of 'volatile' keyword
2004-01-12 22:47:26 -04:00
bell@sanja.is.com.ua
5ad2f38f5d
amall fix
2003-10-31 11:52:01 +02: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.mysql.com
78f492b112
do not force CONNECTION_ID(), FOUND_ROWS(), PI(), CURRENT_USER(),
...
and VERSION() to be uppercase in e.g. "select pi()"
2003-01-28 00:55:41 +01:00
monty@hundin.mysql.fi
8830eb4aa9
Change of internal key_field=NULL handling to avoid error messages.
...
Optimized SELECT DISTINCT ... ORDER BY ... LIMIT
Fixed reference to uninitalized variable
2002-12-03 13:08:25 +02:00
peter@mysql.com
684bf18e4d
Arjens LOG functions changes with small changes and tests added to mysql-test
2002-07-17 12:11:48 +04:00
monty@hundin.mysql.fi
4b1836ee36
Enable LOAD DATA LOCAL INFILE in mysql_test
...
Added syntax for column comments (for compability with 4.1)
Fix of ALTER TABLE RENAME
2002-06-04 00:40:27 +03:00
monty@hundin.mysql.fi
544f95c451
merge with 3.23
2002-06-02 20:46:03 +03:00
monty@hundin.mysql.fi
e2a116411e
Portability fixes for SCO and HPUX
...
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name
2002-05-31 15:22:38 +03: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@donna.mysql.com
6d0e529042
Fixed bug when having many binary log files
...
Fixed bug when deleting keys with possible NULL values
many changes to mysqltest
2001-01-08 00:04:30 +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