reggie@mdk10.(none)
1c0da6110e
BUG# 10687: Merge engine fails under Windows
...
This cset is to roll out the cset applied earlier from Ingo.
This bug has been fixed with a different cset.
2005-05-23 12:05:15 -05:00
monty@mysql.com
0b75f6e37b
compatibility issues
...
Fixed errors reported by valgrind (some errors in NDB remains)
2005-05-20 16:14:35 +03:00
reggie@mdk10.(none)
0e8e44e70d
BUG# 10687 - MERGE engine fails under Windows
...
This patch was submitted by Ingo and it appears to work correctly.
2005-05-19 16:02:14 -05:00
monty@mysql.com
9db45adb60
Merge with 4.1
2005-05-14 18:31:22 +03:00
konstantin@mysql.com
89bd09fed2
Manual merge (again)
2005-05-14 12:38:12 +04:00
monty@mysql.com
b54d7d04bd
Fixes during review
2005-05-13 14:04:32 +03:00
bar@noter.(none)
ab41ec313f
ctype-big5.c:
...
additional fix for bug@10493, for sjis
ctype-cp932.c:
additional fix for bug#10493, for cp932
2005-05-10 17:00:54 +05:00
jani@ibmlab.site
e7c02801a0
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into ibmlab.site:/home/my/bk/mysql-5.0
2005-05-10 13:34:17 +03:00
bar@noter.(none)
8a5c6502ca
bug#10344: some string function fail for UCS2
...
substr fix
2005-05-10 14:13:58 +05: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@mysql.com
32024bfc43
Merge mysql.com:/home/hf/work/mysql-4.1.ssj
...
into mysql.com:/home/hf/work/mysql-5.0.clean
2005-05-10 02:59:28 +05:00
holyfoot@hf-ibm.(none)
1851a38b2f
Fix for bug #10493 (SJIS fields are not correctly saved)
2005-05-10 02:15:59 +05: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
bar@mysql.com
b93385de8f
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/root/mysql-5.0
2005-05-06 11:48:54 +05:00
shuichi@mysql.com
2244ae8cef
Added cp932 character set
2005-05-05 11:37:52 -07:00
shuichi@mysql.com
720418fe46
Added cp932 character set
2005-05-05 10:36:17 -07:00
bar@noter.(none)
153b928c10
Bug#9509 Optimizer: wrong result after AND with latin1_german2_ci
...
We cannot propagate constants with tricky collations.
2005-05-05 21:13:57 +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
joerg@mysql.com
198b6117f9
Proper handling of "utf8-general-cs" clollation: Missing parts in configuration.
2005-04-11 11:12:08 +02:00
joerg@mysql.com
55ee7b9253
Merge mysql.com:/M41/mysql-4.1 into mysql.com:/M41/clone-4.1.11
2005-04-08 16:04:37 +02:00
joerg@mysql.com
6bd1bea723
Add missing parts for the "Cybozu" custom build, to avoid future manual patches.
2005-04-08 13:56:48 +02:00
bar@mysql.com
b950bc210c
ctype-eucjpms.c:
...
After merge fix.
2005-04-07 16:14:45 +05:00
serg@serg.mylan
5cd866610d
after merge fix
2005-04-06 23:12:10 +02:00
serg@serg.mylan
e1e5b97dea
manually merged
...
Gluh's SESSION/GLOBAL for @variables fix in sql_yacc.yy and
Bar's well_formed_len() changes in ndb code
did not make it and should be re-applied manually
2005-04-06 21:19:20 +02: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
bar@mysql.com
1c46a02069
Minor clean-ups for the previous commit.
2005-04-06 15:12:44 +05:00
bar@mysql.com
0134a2b286
Adding a new parameter for well_formed_length to
...
return error. We'll use it for better warnign reporting.
2005-04-06 11:53:15 +05:00
bar@mysql.com
856378bdda
Merge mysql.com:/usr/home/bar/mysql-4.1
...
into mysql.com:/usr/home/bar/mysql-5.0
2005-04-04 18:04:29 +05:00
bar@mysql.com
d9f8b501db
ctype_uca.result:
...
fixing test results accordingly.
ctype-uca.c:
It appeared that in traditional Spanish collation
'RR' is not equal to 'R', as Unicode and Mimer state.
We'll go Oracle and IBM way instead:
No special rules to 'RR'.
2005-04-04 17:55:12 +05:00
serg@serg.mylan
e5a50e1927
decimal_div bug#9501
2005-03-31 17:46:36 +02:00
ramil@mysql.com
e9dbf09dfc
Merge
2005-03-30 17:07:40 +05:00
serg@serg.mylan
2d666071bc
typo fixed
2005-03-29 23:03:36 +02:00
bar@mysql.com
6d3f944d80
merge
2005-03-29 17:24:26 +05:00
bar@mysql.com
5085f368f8
ctype-utf8.c, ctype-sjis.c:
...
Safer and mode readable way.
2005-03-29 16:23:44 +05:00
bar@mysql.com
4a848d3675
ctype-big5.c:
...
More readable and safer way.
2005-03-29 16:19:31 +05:00
bar@mysql.com
2d1e9862bc
Adding Cybozu's patch.
...
Not active by default.
One need to pass -DHAVE_CYBOZU_COLLATION to
activate it.
2005-03-29 14:48:47 +05:00
bar@eagle.intranet.mysql.r18.ru
e76019bc42
Merge eagle.intranet.mysql.r18.ru:/home/bar/mysql-4.1
...
into eagle.intranet.mysql.r18.ru:/home/bar/mysql-5.0
2005-03-25 16:23:16 +04:00
bar@mysql.com
70abf0a046
Allow inserting of extra HKSCS and cp950 characters into a Big5 column.
2005-03-25 16:08:54 +04:00
ramil@mysql.com
00aaa80dbd
A fix (bug #9309 : Wrong order in INFORMATION_SCHEMA)
2005-03-23 17:39:20 +04:00
konstantin@mysql.com
d5af61b1a0
Rename decimal -> decimal_t, decimal_digit -> decimal_digit_t
2005-03-21 15:58:34 +03:00
dlenev@mysql.com
752a787342
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/dlenev/src/mysql-5.0-merges
2005-03-21 13:28:48 +03:00
konstantin@mysql.com
3e8045c662
Fix a valgrind warning in decimal.c:sanity()
2005-03-21 12:57:42 +03:00
dlenev@mysql.com
ea8adbff36
Manual merge of csets from -build tree into main 5.0 tree.
2005-03-21 11:39:47 +03:00
jimw@mysql.com
ee2b4ec959
Eliminate warnings noticed by VC7. This includes fixing my_mmap() on
...
Windows to call CreateFileMapping() with correct arguments, and
propogating the introduction of query_id_t to everywhere query ids are
passed around. (Bug #8826 )
2005-03-18 16:12:25 -08:00
brian@zim.(none)
473e1ffd3a
Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup).
2005-03-16 16:22:56 -08: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
jimw@mysql.com
f7c01cfb76
Merged from 4.1
2005-03-03 15:01:46 -08:00
bar@mysql.com
aaf4b11f11
Bug#8840 Empty string comparison and character set 'cp1250'
...
Secondary weight out of bounds was picked up in mistake when
the string is empty, instead of returning 0.
2005-03-03 14:15:37 +04:00
jani@ua141d10.elisa.omakaista.fi
62b9fc5da6
Merge
2005-03-01 14:50:59 +02:00
sergefp@mysql.com
b44f24000b
Merge
2005-02-28 14:52:35 +03:00
monty@mysql.com
3839e443a4
merge with 4.1
2005-02-28 12:18:39 +02:00
monty@mysql.com
253bfcf783
Fixed wrong memory references found by purify
...
(No really critical errors found, but a few possible wrong results)
2005-02-28 11:59:46 +02:00
sergefp@mysql.com
eb5d5de05f
Fix for BUG#8560: Set max_sort_char for any 8-bit charset with binary collation. max_sort_char is needed by
...
my_like_range_simple to produce upper bound constants for LIKE "str_%" and similar expressions.
2005-02-26 17:15:04 +03:00
monty@mysql.com
0a6b7aedb2
Remove compiler warnings and remove not used variables
...
(Found during build process)
2005-02-25 16:53:22 +02:00
monty@mysql.com
e2ea35ec67
Merge with 4.1
2005-02-22 15:47:00 +02:00
monty@mysql.com
e2dc9b4099
Backport my_strntod() from 5.0
...
Change string->float conversion to delay division as long as possible.
This gives us more exact integer->float conversion for numbers of type '123.45E+02' (Bug #7740 )
2005-02-22 12:51:23 +02:00
bar@mysql.com
1bd47888b3
ctype_utf8.result, ctype_utf8.test, ctype-utf8.c:
...
Bugs: #8385 : utf8_general_ci treats cyrillic letters I and SHORT I as the same
2005-02-21 17:17:30 +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
88d2e2973d
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-02-19 19:00:41 +02: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
bar@mysql.com
dcb0f52e9a
Merge: don't add this into configure in as it is already in
...
config/ac-macros/character_sets.m4
2005-02-18 13:21:30 +04:00
bar@mysql.com
c926e43f65
A way not to compile UCA collations
2005-02-18 12:58:16 +04:00
monty@mysql.com
38d1a42481
Merge with 4.1
2005-02-15 17:12:13 +02:00
hf@deer.(none)
5b3ea1ab89
Fix for bug 8416 (bigint test fails on PPC)
2005-02-13 01:36:35 +04:00
bar@mysql.com
9ba7392306
Bug#8235 Connection collation change & table create with default result in crash
2005-02-12 16:27:22 +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
monty@mysql.com
422c2eb868
4.1 -> 5.0 merge
2005-02-03 13:18:30 +02:00
monty@mysql.com
b87e0c52a7
Proper fix for comparision with ' '
...
(Bug #7788 "Table is full" occurs during a multitable update")
2005-02-01 16:27:08 +02:00
jimw@mysql.com
b7dda3f7c0
Merge
2005-01-31 16:27:17 -08:00
jimw@mysql.com
691cd6c50d
Fix error in string comparisons with CHAR(31) against the space-padding
...
of strings of unequal length. (Bug #8134 )
2005-01-28 17:18:35 -08:00
bar@mysql.com
8828884f4c
CSC#4385: slow sorting for UTF8 large table:
...
my_strnxfrm_utf8 now requires 2 bytes per character
in filesort key, instead of 3 bytes per character.
Shorter filesort keys make sorting faster.
2005-01-26 16:34:09 +04:00
dlenev@mysql.com
5f21e5ac47
Merge mysql.com:/home/dlenev/src/mysql-4.1-merges
...
into mysql.com:/home/dlenev/src/mysql-5.0-merges
2005-01-18 22:13:05 +03:00
konstantin@mysql.com
0e56df7572
Cleanups in Makefile.ams
2005-01-18 17:26:04 +03:00
monty@mysql.com
3b0f8cabaf
Merge with global tree
2005-01-15 14:39:16 +02:00
monty@mysql.com
0a1076a25f
Merge with 4.1
2005-01-15 14:09:45 +02:00
monty@mysql.com
a37e91e435
Changed interface for my_strntod() to make it more general and more portable
2005-01-15 12:28:38 +02:00
gluh@gluh.mysql.r18.ru
d28aa5cc15
Backport from 5.0
2005-01-14 16:23:32 +03:00
bar@mysql.com
71fe5f7e17
Bug#7284: strnxfrm generates different results for equal strings
...
additional fix for cp932 and eucjpms, recently implemented by
Shuichi.
2005-01-14 14:16:56 +04:00
konstantin@mysql.com
ebefcc616a
fix C++ comments in C file (fixed in 5.0 already)
2005-01-14 01:59:03 +03:00
konstantin@mysql.com
9e10645cff
Fix valgrind warning + post-merge fixes.
2005-01-13 19:03:21 +03:00
konstantin@mysql.com
a676498977
manual merge
2005-01-13 17:31:49 +03:00
bar@mysql.com
e3d6e6736b
bug#7284: strnxfrm returns different results for equal strings
2005-01-13 18:12:04 +04:00
gluh@gluh.mysql.r18.ru
b4e78f39c2
The function should exit from loop on invalid byte sequence
2005-01-13 16:53:10 +03:00
monty@mysql.com
073a8881ee
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-01-12 16:02:46 +02:00
shuichi@mysql.com
852d74a68e
renamed charset name 'eucjp_ms' to 'eucjpms'
2005-01-12 02:58:15 -08:00
monty@mysql.com
11c63eae01
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
...
into mysql.com:/home/my/mysql-5.0
2005-01-12 11:45:04 +02:00
shuichi@mysql.com
3126e82291
added new character set - cp932, eucjp_ms
2005-01-11 17:45:36 -08:00
monty@mysql.com
314cf993c6
Fixed memory reference errors found by valgrind
2005-01-12 03:38:53 +02:00
monty@mysql.com
34d5331cee
Merge with global tree
2004-12-31 00:50:30 +02:00
monty@mysql.com
d71c030587
After merge fixes
2004-12-31 00:44:00 +02: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@mishka.local
4f4bbfc279
Merge with 4.1
2004-12-22 13:54:39 +02:00
konstantin@mysql.com
7c369a240b
More work on truncations in libmysql: after-review fixes.
2004-12-18 03:42:28 +03:00
bar@mysql.com
0cfa0adda5
Bug #6819 Some ujis characters cannot be inserted into table
...
Allow to insert not-assigned UJIS codes.
2004-12-10 16:08:18 +04:00