Commit graph

422 commits

Author SHA1 Message Date
monty@mysql.com
563500994a Update results for new varchar handling
Fixed compiler warnings
String results in CREATE ... SELECT are now created as CHAR(0), VARCHAR(X) or TEXT() depending on item->max_length
2004-12-07 15:47:00 +02:00
monty@mysql.com
77207d19f2 Merge with new VARCHAR code 2004-12-06 19:18:35 +02:00
monty@mysql.com
e99d5fee82 Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
2004-12-06 17:16: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
0de4777187 Merge with 4.1 2004-12-06 11:38:56 +02: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
bar@mysql.com
a38160f370 Move common trailing space checks into an include file.
Check UCS2 trailing spaces.
2004-12-01 19:25:05 +04: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
brian@avenger.(none)
2b0b6ec20c Merging 4.1 to 5.0 2004-11-24 12:34:44 -08:00
bar@mysql.com
0f79f61480 Bug#6787 LIKE not working properly with _ and utf8 data 2004-11-24 20:09:54 +04:00
bar@mysql.com
16113e812a uca-dump.c:
Use less wide spaces on the primary level,
  to avoid big diff for ctype-uca.c.
2004-11-24 13:28:48 +04:00
serg@serg.mylan
ee933cd198 merged 2004-11-22 21:33:15 +01:00
bar@mysql.com
9f6d5a02ca uca-dump.c:
Better variable names in dump.
  Dump tertiary weight in reverse order, to sort upper letters before their lower counterparts.
2004-11-22 18:17:41 +04:00
bar@mysql.com
3082312fa8 uca-dump.c:
Mofidications to dump secondary and tertiary weigthts
  And some minor improvements
2004-11-22 13:02:27 +04:00
bar@mysql.com
e3b94d4ef5 Bug #6737: REGEXP gives wrong result with case sensitive collation:
- A new flag MY_CS_CSSORT was introduced for case sensitivity.
- Item_func_regexp doesn't substiture ICASE not only
  for binary collations but for case sensitive collations as well.
2004-11-22 11:58:40 +04:00
serg@serg.mylan
2d3dd65cc1 merged 2004-11-20 18:36:41 +01:00
bar@mysql.com
f9d1a5a1c6 Incorrect response with partial utf8 index 2004-11-19 14:25:25 +04:00
serg@serg.mylan
e68bd85b77 merged 2004-11-17 18:04:36 +01:00
bar@mysql.com
4e674084f6 ctype-tis620.c:
Space allocated didn't take in account trailing '\0' bytes.
2004-11-16 16:45:47 +04:00
guilhem@mysql.com
e38dae0bc1 Merge 2004-11-16 00:04:12 +01:00
bar@mysql.com
8a2ef0a2ca Bug#6608: MySQL server crash in some query with tis620 character set.
The bug was that the function allocates 'a', then changes the value
of 'a' with the operator ++, and then tries to free 'a'!
2004-11-15 21:26:16 +04:00
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