monty@mysql.com
e05630b17f
Moved long running query to type_newdecimal-big.test
...
Removed warnings that depends on floating point comparisions in type_newdecimal.test which caused failures in some setups
2005-11-23 20:16:06 +02:00
holyfoot@mysql.com
bbc26a63b2
merging
2005-11-10 16:32:49 +04:00
holyfoot@deer.(none)
c5313e8d4f
Fix for bug #14268 (Bad FLOAT->DECIMAL conversion)
2005-11-03 13:49:37 +04:00
holyfoot@deer.(none)
4eea84268b
Additional fix for #13573
2005-11-02 18:46:13 +04:00
monty@mysql.com
17d7ba931d
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-10-08 03:37:23 +03:00
monty@mysql.com
78e828d32f
Review of code pushed since last 5.0 pull:
...
Ensure that ccache is also used for C programs
mysql: Ensure that 'delimiter' works the same way in batch mode as in normal mode
mysqldump: Change to use ;; (instead of //) as a stored procedure/trigger delimiter
Fixed test cases by adding missing DROP's and rename views to be of type 'v#'
Removed MY_UNIX_PATH from fn_format()
Removed current_db_used from TABLE_LIST
Removed usage of 'current_thd' in Item_splocal
Removed some compiler warnings
A bit faster longlong2str code
2005-10-06 17:54:43 +03:00
jani@a193-229-222-105.elisa-laajakaista.fi
bb57385f54
Added a cast. Fix for Metrowerks compiler.
2005-09-28 14:12:44 +03:00
hf@deer.(none)
3fb387766b
Fix for bug #12938 (decimal arithmetic in the loop fails)
2005-09-04 21:00:00 +05:00
hf@deer.(none)
ceb75aed65
Fix for bug #12173 (show create table crash)
2005-07-29 14:39:11 +05:00
monty@mysql.com
b3cbd0048f
Cleanups during review of new code
...
Ensure mysql_close() is called if mysql_set_character_set() fails
2005-07-28 16:10:14 +03:00
hf@deer.(none)
ba559d651e
Fix for bug #11557 (Error during rounding of the DEFAULT values)
2005-07-12 14:17:59 +05:00
hf@deer.(none)
bf7515c302
Fix for bug #10891 (string->decimal conversion crashes server)
2005-07-07 18:23:30 +05:00
monty@mysql.com
ec420bfb43
Fixes during review of new code
...
- Mostly indentation fixes
- Added missing test
- Ensure that Item_func_case() checks for stack overruns
- Use real_item() instead of (Item_ref*) item
- Fixed wrong error handling
2005-07-04 03:42:33 +03:00
hf@deer.(none)
38aa20d380
Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0
...
into deer.(none):/home/hf/work/mysql-5.0.10632
2005-06-15 19:56:01 +05:00
hf@deer.(none)
f1fb785b12
Fix for bug #10632 (CEILING returns wrong result)
2005-06-15 19:53:40 +05:00
hf@deer.(none)
f7cccd7ea8
Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0
...
into deer.(none):/home/hf/work/mysql-5.0.10337
2005-06-15 19:07:11 +05:00
hf@deer.(none)
971eaa189d
Fix for bug #10337 (cast(NULL DECIMAL) crashes the server)
2005-06-15 19:02:35 +05:00
georg@lmy002.wdf.sap.corp
b64e6db5a4
fixes for windows 64-bit compiler warnings
2005-06-13 12:41:15 +02:00
hf@deer.(none)
cc007a5c09
Fix for bug #8482 (Incorrect rounding)
2005-06-09 12:44:44 +05:00
monty@mysql.com
a69f432115
Code cleanups during code reviews
...
Ensure we get error if INSERT IGNORE ... SELECT fails
Fixed wrong key_part->key_length usage in index_merge
2005-06-01 16:35:09 +03:00
jani@ibmlab.site
0b5cedca79
Fixed Bug#10232: update with subquery, precision math,
...
another column gets rotten value.
2005-05-10 09:25:25 +03:00
holyfoot@hf-ibm.(none)
44ad7495bb
Fix for bug #9527 (negative zero is a nonsence)
2005-05-07 14:41:00 +05:00
holyfoot@mysql.com
3474ae5aac
merging
2005-05-06 20:31:50 +05:00
holyfoot@hf-ibm.(none)
ad863d40fa
Fix for bug #10004 (Decimal operation crashes server)
2005-05-06 20:06:25 +05:00
holyfoot@hf-ibm.(none)
5aa0edf34c
Trimmed fix for bug #9546 (Crashing with huge decimals)
2005-05-06 19:04:58 +05:00
ramil@ram-book.(none)
50579df606
A fix (bug #10404 : select 0/0 returns 0).
2005-05-06 13:31:48 +05:00
holyfoot@hf-ibm.(none)
2c8e9df232
A lot of fixes to Precision math
...
Mostly about precision/decimals of the results of the operations
2005-05-05 20:06:49 +05:00
monty@mysql.com
49e721677f
Fixed errors descovered by valgrind 2.4
...
Added suppression file for some valgrind warnings that are not real errors
2005-04-06 17:22:21 +03:00
serg@serg.mylan
e5a50e1927
decimal_div bug#9501
2005-03-31 17:46:36 +02:00
konstantin@mysql.com
d5af61b1a0
Rename decimal -> decimal_t, decimal_digit -> decimal_digit_t
2005-03-21 15:58:34 +03:00
konstantin@mysql.com
3e8045c662
Fix a valgrind warning in decimal.c:sanity()
2005-03-21 12:57:42 +03:00
hf@deer.(none)
b8e5df4b7d
Fix for bug #8464 (AVG returns incorrect result)
...
Actually problem was not in AVG function, but in SUM before the AVG in the
query.
2005-03-07 16:08:06 +04:00
serg@serg.mylan
6904398874
decimal format documented
2005-02-20 17:25:22 +01:00
serg@serg.mylan
9621ed85a0
underflow in decimal_round fixed
2005-02-20 16:55:11 +01:00
monty@mysql.com
218e00ac68
Fixed BUILD script to use --with-berkeley-db instead of --with-bdb
...
Lots of small fixes to multi-precision-math path
Give Note for '123.4e'
Added helper functions type 'val_string_from_real()
Don't give warnings for end space for string2decimal()
Changed storage of values for SP so that we can detect length of argument without strlen()
Changed interface for str2dec() so that we must supple the pointer to the last character in the buffer
2005-02-19 18:58:27 +02:00
hf@deer.(none)
5b3ea1ab89
Fix for bug 8416 (bigint test fails on PPC)
2005-02-13 01:36:35 +04:00
bell@sanja.is.com.ua
7df94d5e9b
fixed C++ syntax in C code
...
fixed end of string detection in string->decimal conversion to avoid false alarm about some string part left unconverted (string can be not null terminated)
ignore my_decimal.cc in libmysqld directory
2005-02-09 11:35:22 +02:00
hf@deer.(none)
b94a482ee9
Precision Math implementation
2005-02-09 02:50:45 +04:00
serg@serg.mylan
184cbf6d37
strings/decimal.c
...
test_d2b2d("123.4", 10, 2, "123.40");
2004-12-27 23:17:09 +01:00
monty@mysql.com
77207d19f2
Merge with new VARCHAR code
2004-12-06 19:18:35 +02:00
serg@serg.mylan
dc2e9d01d7
int decimal_is_zero(decimal *from);
2004-12-06 15:08:26 +01:00
serg@serg.mylan
15e4414c21
strings/decimal.c
...
handle test_ro(".999", 0, HALF_UP, "1");
2004-12-06 13:06:52 +01:00
monty@mysql.com
67ce247965
Add support for up to VARCHAR (size up to 65535)
...
Renamed HA_VAR_LENGTH to HA_VAR_LENGTH_PART
Renamed in all files FIELD_TYPE_STRING and FIELD_TYPE_VAR_STRING to MYSQL_TYPE_STRING and MYSQL_TYPE_VAR_STRING to make it easy to catch all possible errors
Added support for VARCHAR KEYS to heap
Removed support for ISAM
Now only long VARCHAR columns are changed to TEXT on demand (not CHAR)
Internal temporary files can now use fixed length tables if the used VARCHAR columns are short
2004-12-06 02:00:37 +02:00
serg@serg.mylan
c0a4183b0c
strings/decimal.c
...
decimal_round(d, -N) bug fixed
2004-12-03 13:23:58 +01:00
serg@serg.mylan
44dce2673e
strings/decimal.c
...
fixed broken d2ll
added checks for correct test results
2004-12-03 13:04:03 +01:00
serg@serg.mylan
835cf0f1e8
more decimail bugs fixed
2004-12-03 00:11:30 +01:00
serg@serg.mylan
e731dd9d05
fix for decimal.c
2004-11-28 16:58:05 +01:00
serg@serg.mylan
34c3ab708c
fix decimal2longlong too
2004-11-27 13:54:51 +01:00
serg@serg.mylan
57eb9f0021
better overflow checks in decimal2ulonglong
...
better truncation check in decimal2ulonglong
2004-11-27 12:35:21 +01:00
serg@serg.mylan
d74b5499d2
'5.4', -1, HALF_UP
...
fixed
2004-11-11 12:43:08 +01:00