Commit graph

395 commits

Author SHA1 Message Date
bell@sanja.is.com.ua
7210195f1e now my_printf_error is not better then my_error, but my_error call is shorter
used only one implementation of format parser of (printf)
fixed multistatement
2004-11-13 19:35:51 +02:00
serg@serg.mylan
d74b5499d2 '5.4', -1, HALF_UP
fixed
2004-11-11 12:43:08 +01:00
monty@mysql.com
0ebc50b851 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
2004-11-09 21:47:46 +02:00
monty@mysql.com
87af3d9113 merge on pull 2004-11-09 04:06:44 +02:00
serg@sergbook.mylan
342fb28efa decimal.c:
test_ro("999999999999999999999.999", 0, CEILING);
    test_da("5", "-6.0");
ignore:
  added gdbinit
2004-11-08 10:06:32 +01:00
serg@serg.mylan
3d59f12af0 don't return intg=frac=0 from mod 2004-11-07 16:12:21 +01:00
serg@serg.mylan
c9292b8284 memory overrun in decimal_mod 2004-11-07 13:47:44 +01:00
monty@mysql.com
071001950e Merge with 4.1 to get in latest bug fixes 2004-11-04 15:06:24 +02:00
serg@serg.mylan
d117bf314f space-stripping in decimal2bin 2004-11-04 13:27:44 +01:00
serg@serg.mylan
9dfea75b3e Merge bk-internal:/home/bk/mysql-5.0/
into serg.mylan:/usr/home/serg/Abk/mysql-5.0
2004-11-03 19:08:29 +01:00
serg@serg.mylan
44ddca5399 error codes chaged to bitmap (for easier testing with masks)
two more round() modes - CEILING and FLOOR
2004-11-03 18:43:48 +01:00
monty@mysql.com
7d3be517a4 Merge on pull 2004-11-03 13:01:38 +02:00
serg@serg.mylan
16c5f3c59b allocate temp array big enough for not to worry about bound checking in look-aheads 2004-11-02 20:45:55 +01:00
serg@serg.mylan
e64d290b83 different (hopefully, correct) fix for bin2decimal bug
tests added
2004-11-02 13:55:44 +01:00
serg@serg.mylan
fd88351a38 s/sint/uint/ - no sign extend for signed bytes 2004-11-02 12:17:58 +01:00
serg@serg.mylan
ea69fe3072 ROUND_UP(negative_number) doesn't work 2004-11-02 09:45:03 +01:00
bar@mysql.com
bc6bbebbc8 ctype_sjis.result, ctype_sjis.test, ctype-sjis.c:
Bug #6223 Japanese half-width kana characters get truncated. Bytes 0xA1..0xDF were not treated as a single byte sequence in a mistake.
2004-11-02 09:00:46 +04:00
serg@serg.mylan
5dce4d78d5 one more pre-division bug 2004-11-01 23:44:05 +01:00
serg@serg.mylan
9bda96c5fd yet another s/>/>=/ typo 2004-11-01 14:47:18 +01:00
serg@serg.mylan
bc76b8233d correct test for 1/3
more tests
2004-11-01 13:58:28 +01:00
serg@serg.mylan
9820e00cba stript end zeros before comparison 2004-11-01 11:28:36 +01:00
serg@serg.mylan
b0045f9e00 compare with DIG_BASE corectly
rounding bugs fixed
2004-10-31 21:30:19 +01:00
serg@serg.mylan
afd18341ac new round mode - half_up 2004-10-31 13:15:44 +01:00
serg@serg.mylan
d35d010173 two more places with the same zero-stripping bug 2004-10-31 00:02:13 +02:00
serg@serg.mylan
54403b233a sanity checks for decimal result buffers 2004-10-30 19:27:54 +02:00
serg@serg.mylan
5c8155955b bugfix and test case 2004-10-30 18:31:35 +02:00
monty@mysql.com
afbe601302 merge with 4.1 2004-10-29 19:26:52 +03:00
serg@serg.mylan
1f7aa03e42 new api per hf request:
string2decimal_fixed
  decimal_round(from, to)
  decimal_make_zero
  decimal_string_size
  decimal_neg
2004-10-29 00:22:54 +02:00
bar@mysql.com
59571ecf8e ctype-utf8.c:
Char is unsigned by defeault on some platforms. Cast t to a signed type.
2004-10-23 10:24:59 +05:00
monty@mysql.com
3afecef4df Fix compiler warnings (detected by Intel's C++ compiler)
Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094)
2004-10-22 18:44:51 +03:00
bar@mysql.com
701b646374 ctype-uca.c:
Optimization: move "space padding" code outside the loop
2004-10-21 19:17:04 +05:00
bar@mysql.com
90f81fb801 CHARSET_INFO.txt:
Typo.
2004-10-21 15:18:31 +05:00
bar@mysql.com
aec49dae4d CHARSET_INFO.txt:
New comments about ctype[].
2004-10-21 15:11:01 +05:00
bar@mysql.com
e28976e0ef Bug #5679 utf8_unicode_ci LIKE--trailing % doesn't equal zero characters 2004-10-21 14:48:37 +05:00
bar@mysql.com
e9fde8f54e Allow cp932 characters to be stored in a SJIS column 2004-10-21 12:17:59 +05:00
serg@serg.mylan
c593ab8e6e decimal_cmp() 2004-10-20 15:26:03 +02:00
bar@mysql.com
ed2a655a20 ctype-utf8.c:
A faster UTF8 null-terminated string implementation.
  It is used for identifier comparison, so it's quite critical.
2004-10-20 18:07:59 +05:00
monty@mishka.local
7af65592c7 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mishka.local:/home/my/mysql-4.1
2004-10-20 02:55:03 +03:00
monty@mishka.local
04c23808a8 Review of all code pushed since last review
Simple optimzations and cleanups
Removed compiler warnings and fixed portability issues
Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
Fixes for purify
2004-10-20 01:28:42 +03:00
serg@serg.mylan
0b7f26d74d decimal to/from bin, and utility functions 2004-10-19 14:38:54 +02:00
bar@mysql.com
fc13ab979f CHARSET_INFO.txt:
minor fixes
2004-10-19 13:00:01 +05:00
serg@serg.mylan
bd10f962f2 arbitrary precision decimal numbers 2004-10-18 14:06:46 +02:00
bar@mysql.com
67c9fc985f CHARSET_INFO.txt:
new file
2004-10-18 15:25:28 +05:00
bar@mysql.com
1596d46528 Bug #6040 can't retrieve records with umlaut characters in case insensitive manner 2004-10-18 15:23:24 +05:00
bar@mysql.com
96a731735c ctype-mb.c:
Remove unnesessary code: use_mb is always TRUE for the multibyte charsets.
2004-10-18 13:32:30 +05:00
bar@mysql.com
e827839619 Bug #6019 SELECT tries to use too short prefix index on utf8 data 2004-10-14 16:36:29 +05:00
bar@noter.intranet.mysql.r18.ru
ef7bdbf4b8 Activating the new string->number conversion functions 2004-09-25 17:20:50 +05:00
bar@noter.intranet.mysql.r18.ru
362de9467c Incorporating new faster string->number converter functions
into MY_CHARSET_INFO structure.
2004-09-25 15:29:33 +05:00
bar@mysql.com
737a0dbca1 ctype-ucs2.c:
Bug#5523 Test failure: 'ctype_uca'
  Type cast should have been applied to shift and bit-and operation results, not to min_sort_char/max_sort_char before the operation.
2004-09-14 13:02:20 +05:00
bar@mysql.com
134b5c7d75 Persian collation, contibuted by Jody McIntyre 2004-09-13 12:07:01 +05:00