Commit graph

895 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
bell@sanja.is.com.ua
c6634707c4 Put Ramil patch to be able push me code (test suite already is included in query_cache.test) 2004-09-10 22:19:52 +03:00
bar@mysql.com
501954ddb5 Bug #3453 MySQL output formatting in multibyte character sets 2004-09-09 18:21:31 +05:00
bar@mysql.com
09f681ba7b Bug #5324 Bug in UCA collations with LIKE comparisons and INDEX 2004-09-06 20:04:22 +05:00
bar@mysql.com
3da2a24116 Bug #5397: Crash with varchar binary and LIKE 2004-09-06 15:03:43 +05:00
serg@serg.mylan
49d49e2fcb Merge bk-internal.mysql.com:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-08-30 16:32:10 +02:00
serg@serg.mylan
b60713c033 bug in my_strnncoll_utf8 (and friends) fixed
cleanups
better, charset-dependent, ft_max_len_for_sort value
2004-08-30 08:37:36 +02:00
joerg@mysql.com
36d93f402c Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/M41/mysql-4.1
2004-08-26 20:43:58 +02:00
joerg@mysql.com
10cf7f1f38 If the system has 64 bit "long", then "long long" does not add new
functionality. The existing code takes advantage of this when
"typedef"ing 'longlong' in 'my_global.h'. This holds for Alpha CPUs.
If the compiler then has prototypes for C99 functions 'strtoll()' and
'strtoull()' but no implementation, the existing code in 'strtoull.c'
collides with that prototype. These collisions are avoided now.
2004-08-26 17:30:53 +02:00
monty@mysql.com
ceba1429b7 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
2004-08-26 18:27:33 +03:00
monty@mysql.com
ea687ba5da Portability fixes
Fixed bug in end space handle for WHERE text_column="constant"
2004-08-26 18:26:38 +03:00
bar@mysql.com
9a6b76aa90 ctype-latin1.c:
Revert this change, it was done in a mistake.
2004-08-26 12:02:11 +05:00
bar@mysql.com
f81edf4afd A new function to meassure terminal screen cells number for a string. 2004-08-25 11:39:43 +05:00
bar@mysql.com
766eb867da utr11-dump.c:
new file
2004-08-25 10:15:46 +05:00
serg@serg.mylan
8f2d92c56a manually merged 2004-08-24 17:24:23 +02:00
bar@mysql.com
2496e85b84 Bug#4521: unique key prefix interacts poorly with utf8.
Fix for binary collations for MyISAM and HEAP BTREE.
This patch also changes trailing spaces behaviour for
binary collations. Binary collations now have PAD 
characteristic too.
2004-08-19 15:15:10 +05:00
serg@serg.mylan
3f2210c064 after merge fixes 2004-08-19 03:02:09 +02:00
bar@mysql.com
1cd108ff97 Many files:
LIKE crashed mysqld for binary collations in some cases
2004-08-18 12:07:54 +05:00
bar@mysql.com
0db8ff2eda Bug#5005 collation cp852_bin makes server crash
ctype-simple.c:
  Check that unicode map was loaded
cp852.xml:
  Missing cp852_bin was added.
2004-08-12 10:46:16 +05:00
bar@mysql.com
a554f7756d ctype_uca.test, ctype_uca.result, ctype-uca.c:
Slovak collation didn't work: typo fix in the tailoring rules
2004-08-11 18:06:20 +05:00
bar@mysql.com
d2076ae8d5 Minor fix: V is primary level, not U. 2004-07-08 15:19:26 +05:00
bar@mysql.com
aa679b62c0 Adding Roman (classical Latin) collation. 2004-07-07 15:20:23 +05:00
bar@mysql.com
a1aa3da96a ctype-uca.c:
mbminlen was wrong for UTF8.
2004-06-30 14:45:08 +05:00
bar@deer.(none)
92833475e7 ctype-uca.c:
Code optimization to make it look better and work faster.
2004-06-18 11:00:51 +05:00
bar@deer.(none)
efc2936e5e ctype-uca.c:
Fix for compilation failure when HAVE_CHARSET_ucs2 is not defined.
2004-06-18 10:24:31 +05:00
bar@mysql.com
f814d224f7 Critical fixes after review:
- mutex was unlocked before the end of the critical sesion,
- Portability issue: It's better to use (*alloc)(x) instead of alloc(x),
  if alloc is a function passed as an argument.
- Use {} around if() block, to avoid possible problems with some Windows compilers.
2004-06-16 19:06:45 +05:00
bar@mysql.com
7fd6503dfc ctype-uca.c:
Compilation failure fix.
2004-06-15 09:33:02 +05:00
bar@mysql.com
6342e06cb2 utf8 contraction fix.
Polish collation fix.
Slovak collation fix.
Testing all language orders.
2004-06-14 21:55:36 +05:00
bar@mysql.com
5dd2881f54 UTF8 UCA based collations. 2004-06-14 16:29:51 +05:00
bar@mysql.com
cbd3e61c8d Unicode collation algorithm: contraction support.
E.g. 'Ch' is treated as a separate letter in Czech,
not as a combination of C+h.
2004-06-12 20:36:58 +05:00
serg@serg.mylan
035e03c1f6 merged 2004-06-11 20:55:08 +02:00
bar@mysql.com
fc7ba0885e Move UCA language specific definitions into ctype-ucs.c. 2004-06-11 19:16:06 +05:00
bar@mysql.com
f8b15e8bb6 Initialize max_sort_char only if a character set is requested. 2004-06-11 17:50:20 +05:00
bar@mysql.com
c64d93b274 Allocate memory when a character set is requested:
- For simple character sets: from_uni convertion table.
- For UCA: alternative weight arrays.
Use mbminlen instead of MY_CS_NONTEXT
2004-06-11 16:29:16 +05:00
konstantin@mysql.com
f08bbd1f12 assert.h needed for my_dbug.h now is included in my_dbug.h, where it for
some reason wasn't included before.
A lot of files cleaned up from #include <assert.h>
2004-06-10 23:58:39 +04:00
serg@serg.mylan
78fa465b92 bug#3964 and related issues: FTB problems with charsets where one byte can match many
correct prefix compare with my_strnncoll
2004-06-10 21:18:57 +02:00
bar@mysql.com
34d413a6a0 Optimization to use less memory. 2004-06-10 19:10:21 +05:00
bar@bar.intranet.mysql.r18.ru
8962ed3c7d WL#916: Unicode collations for some languages 2004-06-08 17:56:15 +05:00
bar@bar.intranet.mysql.r18.ru
b30b1ccc6a Bug #3928 regexp [[:>:]] and UTF-8 2004-06-07 12:51:18 +05:00
paul@kite-hub.kitebird.com
2f0ca1ce42 Fix skipp -> skip once and for all.
(Note: This affects only comments, not variable names.)
2004-06-03 11:52:54 -05:00
bar@bar.intranet.mysql.r18.ru
23aee5621d Unicode collations: WL#916
XML and "collation customization" language parsers.
2004-06-03 17:45:53 +05:00
monty@mysql.com
ccc4171276 Portability fix (using 'char' as argument to C functions may give warnings) 2004-05-28 02:36:43 +03:00
dlenev@brandersnatch.localdomain
03b705ff44 Made my_snprintf() behavior snprintf() compatible when printing %x arguments (it should
produce hex digits in lower case). (fixed version)

Replaced _dig_vec array with two _dig_vec_upper/_dig_vec_lower arrays.
Added extra argument to int2str function which controls case of digits you get.
Replaced lot of invocations of int2str for decimal radix with more optimized int10_to_str()
function.
Removed unused my_itoa/my_ltoa functions.
2004-05-27 17:54:40 +04:00
monty@mysql.com
7d8f8bc77b Changed prototype of killed_ptr() to make it more portable
Applied patches for Netware
2004-05-26 19:12:49 +03:00
bar@bar.intranet.mysql.r18.ru
391d5629f6 Preparation for user-defined Unicode collations:
weights data now comes from a static variables
but from the charset structure.
2004-05-25 17:40:20 +05:00
monty@mysql.com
56c0258536 After merge fixes
Remove compiler warnings
Update windows project files
2004-05-24 14:42:34 +03:00
monty@mysql.com
a4b0ec1ede Merge with 4.0, mainly to get changes to windows project files 2004-05-20 00:54:52 +03:00
monty@mysql.com
86a966256b Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
Ensured that all projects compile
Removed compiler warnings
Better setting of server_version variable.
Fix that make_win_src_distribution creates the privilege tables.
2004-05-19 16:38:12 +03:00
monty@mysql.com
21f1bca789 Portability fixes
Fixed wrong number of warnings/duplicates for machines with high-byte-first
2004-05-19 05:09:10 +03:00
serg@serg.mylan
0d3b083800 compatibility fix for hp-ux 64bit (hpux compiler) and sun 64-bit (sun forte) 2004-05-14 01:24:17 +02:00
monty@mysql.com
894e8fca6e Portability fixes 2004-05-12 02:38:57 +03:00
monty@mysql.com
116f61c656 Don't automaticly generate a new key for a foreign key constraint if there is already a usable key.
Prefer not automatic keys before automatic keys. If there is two conf
2004-05-12 00:29:52 +03:00
bar@bar.intranet.mysql.r18.ru
f16dac0492 Use Windows code page 1252 instead of real ISO 8859-1 2004-05-11 13:32:01 +05:00
bar@bar.intranet.mysql.r18.ru
df8e3eac45 ctype-win1250ch.c, ctype-czech.c:
Czech collations were renamed to _cs
Index.xml:
  Czech collation were renamed to _cs
2004-05-07 10:24:12 +05:00
monty@mysql.com
939ea71ecd Portability fixes
Change strtoll -> my_strtoll10()
Fixed bug in my_strntoul() and my_strntol() where we got different values on 32 and 64 bit systems (Bug #3472)
2004-05-07 01:43:17 +03:00
monty@mysql.com
d21d49a32a Merge with 4.0.19 2004-05-05 17:05:24 +03:00
tim@sand.box
cfc019af6e Fix typos that resulted in adding names to the global namespace that
were never defined.  This potentially caused problems when trying to link
libmysqld with shared libraries.
2004-04-12 08:05:15 -06:00
monty@mysql.com
62fa4013ce Don't enable HA_EXTRA_WRITE_CACHE if too few rows
Revert main parts of patch for online index builds. Should be done differently
Added support for %lx in my_snprintf()
2004-04-08 17:56:45 +03:00
bar@bar.intranet.mysql.r18.ru
f84f6d5cdb Checking Thai sort order and trailing spaces handling 2004-03-29 16:38:38 +05:00
bar@bar.intranet.mysql.r18.ru
36e7f41d63 UTF8 now process space as PAD character correctly. 2004-03-26 18:14:39 +04:00
monty@mysql.com
eb91f7b478 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
2004-03-25 15:05:42 +02:00
monty@mysql.com
ebc3b3afac BTREE-indexes in HEAP tables can now be used to optimize ORDER BY
Don't read character set files if we are using only the default charset. In most cases the user will not anymore get a warning about missing character set files
Compare strings with space extend instead of space strip. Now the following comparisons holds:  "a" == "a " and "a\t" < "a". (Bug #3152).
Note: Because of the above fix, one has to do a REPAIR on any table that has an ascii character < 32 last in a CHAR/VARCHAR/TEXT columns.
2004-03-25 15:05:01 +02:00
bar@bar.intranet.mysql.r18.ru
ed33257c6e Bug #3290 [Ver]: Can't convert sjis&ujis half-width katakana correctly
UJIS part fix
2004-03-25 16:15:52 +04:00
bar@bar.intranet.mysql.r18.ru
1741cb88c0 #3290: Can't convert sjis&ujis half-width katakana correctly 2004-03-25 14:29:56 +04:00
bar@bar.intranet.mysql.r18.ru
aa4cd447d2 ctype-uca.c:
Conditional compilation
2004-03-24 16:18:56 +04:00
bar@bar.intranet.mysql.r18.ru
3827fa5589 Unicode Collation Algorithm subset implementation 2004-03-24 16:16:08 +04:00
bar@bar.intranet.mysql.r18.ru
403001ff1c uca-dump.c:
Don't dump default implicit weights
2004-03-23 18:29:07 +04:00
bar@bar.intranet.mysql.r18.ru
5c4b54f495 uca-dump.c:
new file
2004-03-22 15:14:12 +04:00
bar@bar.intranet.mysql.r18.ru
fc17aad767 min_sort_char was added, for the future UCA implementation.
UCS2 now has its own my_like_range function.
2004-03-19 10:00:46 +04:00
serg@serg.mylan
ceec63f18a EOVERFLOW moved to my_base.h - it is used not only in strtod.c
error message corrected
2004-03-16 16:35:47 +01:00
monty@mysql.com
eb8a9e275f Moved errno to strtod.c as one can use m_string.h without errno.h 2004-03-16 00:04:06 +02:00
monty@mysql.com
37390968e7 Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
2004-03-16 00:04:05 +02:00
gluh@gluh.mysql.r18.ru
9f22beb242 Fix for bug#2972 Problem the the CONV() function 2004-03-15 19:18:30 +04:00
monty@mysql.com
9e8938cbae merge & simple cleanup 2004-03-15 13:21:14 +02:00
monty@mysql.com
cf66e187e2 Optimizations 2004-03-15 12:53:27 +02:00
serg@serg.mylan
ded8fa56eb my_strtod fixes:
sigsegv protection (exp overflow)
don't return inf!
use errno=EOVERFLOW to signal an overflow (as my_strntod uses errno anyway)
if errno will be too slow, my_strtod can be changed to return overflow status in a parameter (like my_strntod does)
2004-03-14 17:25:20 +01:00
vva@eagle.mysql.r18.ru
a8bbcc52a9 - added commands --query_vertical and --query_horisontal to client/mysqltest.cc
- get my_strtod to return inf
- get Field_float::store(double) and Field_double::store(float) to set null for 
nan value 
(as extra serg's recomendations to fix for patch on 
 Bug #2082 'mysqldump converts "inf" to null')
2004-03-06 03:00:21 +04:00
serg@build.mysql.com
d0b0e5bf77 do not use static array of pastpoints in my_strtod - it is not portable
(that is, these numbers are converted to doubles by a local OS strtod,
and on different systems they get different values)
2004-02-27 14:40:08 +01:00
serg@serg.mylan
4f3062d95f minor omission that effectively disabled my_strtod fixed :) 2004-02-24 12:31:33 +01:00
lenz@kallisto.local
00e2668b87 - fixed C++-style comment in strings/strtod.c which caused a compile
error with the IBM xlc_r compiler
2004-02-18 00:23:16 +01:00
monty@mysql.com
e9315f984d Changed wellformedlen to well_formed_len
Fixed that blobs >16M can be inserted/updated
Fixed bug when doing CREATE TEMPORARY TABLE ... LIKE
2004-02-17 01:35:17 +02:00
monty@mysql.com
050af89dd8 Merge with public tree 2004-02-16 10:31:05 +02:00
monty@mysql.com
f43093ec0e After merge fixes
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
2004-02-16 10:03:25 +02:00
serg@serg.mylan
01c2ca5b8a Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
2004-02-13 15:30:00 +01:00
serg@serg.mylan
5914e5705c my_atof is deleted
strtod from mit-threads is restored and cleaned up
2004-02-13 15:27:21 +01:00
monty@mysql.com
ce14578909 Merge with 4.0.18 2004-02-11 00:06:46 +01:00
bar@bar.intranet.mysql.r18.ru
5219fc269b http://bugs.mysql.com/bug.php?id=2368
Multibyte charsets do not check that incoming data is well-formed
2004-02-10 15:42:46 +04:00
monty@mysql.com
cc78e2d97a Ensure that result from date_format() is binary
Removed warnings from test suite
2004-02-09 13:59:41 +01:00
bar@bar.intranet.mysql.r18.ru
d13ad0822e Problem fix:
http://bugs.mysql.com/bug.php?id=2366
Wrong utf8 behaviour when data is trancated
2004-02-06 16:59:25 +04:00
bar@bar.intranet.mysql.r18.ru
ed75a5da76 http://bugs.mysql.com/bug.php?id=2619
Bug #2619  	ucs2 LIKE comparison fails in some cases
Fixes
2004-02-04 18:16:28 +04:00
monty@mysql.com
f7e65a7620 Fixed problem with range optimization over overlapping ranges (#2448) 2004-02-04 09:51:13 +01:00
bar@bar.intranet.mysql.r18.ru
6a4e32d089 Thai tis620 crash problem in text comparison routines was fixed. 2004-02-03 14:03:01 +04:00
ram@gw.mysql.r18.ru
f231d9826b just tried to find all 'skipp' and replace it with 'skip'. 2004-02-02 20:25:39 +04:00
bar@bar.intranet.mysql.r18.ru
f802ec0215 UCS-2 aligning 0xAA -> 0x00AA 2004-01-19 19:16:30 +04:00
bar@bar.intranet.mysql.r18.ru
b63b7bff84 Fic for Bug 2367: INSERT() behaviour is different for different charsets. 2004-01-15 13:27:20 +04:00
bar@bar.intranet.mysql.r18.ru
1547a03c79 Bug 1552:
TIS620 to Unicode and Unicode to TIS620 conversion check.
2003-12-25 20:11:01 +04:00
bar@bar.intranet.mysql.r18.ru
105fae05c1 dump_map.c:
new file
2003-12-25 19:07:44 +04:00
bar@bar.intranet.mysql.r18.ru
e0e6aab6cc ctype-big5.c:
Like did not work in some cases
  ,
2003-12-24 17:01:48 +04:00
bar@bar.intranet.mysql.r18.ru
b15ea37fc7 "like" did not work in some cases with character set big5 2003-12-24 16:59:48 +04:00
monty@mysql.com
e0cc6799ec Merge with 4.0.17 2003-12-17 17:35:34 +02:00
monty@mysql.com
56f0abf7bb Portability fixes (mostly test suite)
Make ENGINE= an alias for TYPE= (Compabiltiy with 4.1)
Fix when using symlinked data files and realpath() is not working
2003-12-16 13:20:17 +02:00
monty@mysql.com
d47deebb58 Extend max_allowed_packet to 2G in mysql and mysqldump (Bug #2105)
Don't dump data for MRG_ISAM or MRG_MYISAM tables. (Bug #1846)
Ensure that 'lower_case_table_names' is always set on case insensitive file systems. (Bug #1812)
One can now configure MySQL as windows service as a normal user. (Bug #1802)
Database names is now compared with lower case in ON clause when lower_case_table_names is set. (Bug #1736)
IGNORE ... LINES option didn't work when used with fixed length rows. (Bug #1704)
Change INSERT DELAYED ... SELECT... to INSERT .... SELECT (Bug #1983)
Safety fix for service 'mysql start' (Bug #1815)
2003-12-14 06:39:52 +02:00
monty@mysql.com
ca953d5e7d Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/my/mysql-4.1
2003-12-08 12:26:10 +02:00
monty@mysql.com
e8aef44349 Portability fixes for Windows 2003-12-08 12:25:37 +02:00
serg@serg.mylan
b2e6b36487 fix for my_mbcharlen(charset, c) to return 1 for single-byte characters
(isn't it obvious ?)
2003-12-06 19:05:26 +01:00
monty@mysql.com
ede8169d24 Added missing SSL library (Should be in source distribution)
Fixed compiler warnings (a lot of hidden variables detected by the Forte compiler)
Added a lot of 'version_xxx' strings to 'show variables'
Prevent copying of TMP_TABLE_PARAM (This caused core dump bug on Solaris)
Fixed problem with printing sub selects to debug log
2003-11-28 12:18:13 +02:00
monty@mysql.com
7c725b2486 Fixed compiler warnings from Intel compiler in Win64
Added option --max-record-length=# to myisamchk
Don't try repair twice if doing myisamchk --repair --force
Shared memory handler didn't clean up things on errors or shutdown
2003-11-23 14:36:41 +02:00
monty@mysql.com
8aeb63dd3b Update VC++ files
Portability fixes
After merge fixes
2003-11-21 01:53:01 +02:00
monty@mysql.com
7c6113a39f Merge key cache structures to one
Fixed compiler warnings (IRIX C compiler and VC++)
2003-11-20 22:06:25 +02:00
monty@mashka.mysql.fi
ac76198330 Portability fixes for AIX43 2003-11-20 02:48:09 +02:00
greg@mysql.com
42e36fea12 Fixed minor compiler errors encountered during pre-final builds. 2003-11-12 03:38:46 -05:00
greg@mysql.com
82c0c6c42f Resolved build problem: undeclared macros 2003-11-12 02:25:01 -05:00
monty@narttu.mysql.fi
6b79cd5c23 Merge 2003-11-03 22:48:03 +02:00
monty@narttu.mysql.fi
a444a3449f Simplified 'wrong xxx name' error messages by introducing 'general' ER_WRONG_NAME error
Cleaned up (and disabled part of) date/time/datetime format patch. One can't anymore change default read/write date/time/formats.
This is becasue the non standard datetime formats can't be compared as strings and MySQL does still a lot of datetime comparisons as strings
Changed flag argument to str_to_TIME() and get_date() from bool to uint
Removed THD from str_to_xxxx functions and Item class.
Fixed core dump when doing --print-defaults
Move some common string functions to strfunc.cc
Dates as strings are now of type my_charset_bin instead of default_charset()
Introduce IDENT_QUOTED to not have to create an extra copy of simple identifiers (all chars < 128)
Removed xxx_FORMAT_TYPE enums and replaced them with the old TIMESTAMP_xxx enums
Renamed some TIMESTAMP_xxx enums to more appropriate names
Use defines instead of integers for date/time/datetime string lengths
Added to build system and use the new my_strtoll10() function.
2003-11-03 14:01:59 +02:00
serg@serg.mylan
f944fd4a65 merged 2003-10-21 11:58:43 +02:00
serg@serg.mylan
c60ef8160f FULLTEXT: correct charset support (UTF included, UCS2 - not)
code cleanup
2003-10-20 15:53:48 +02:00
bar@bar.mysql.r18.ru
a001b71f20 ctype-simple.c, ctype-mb.c:
Win compilation problem fix
ctype-bin.c:
  Win compilation problem fix
  ,
  ,
m_ctype.h:
  Win compilation problem fix
  ,
2003-10-15 17:34:28 +05:00
bar@bar.mysql.r18.ru
d1ae1a1f88 ctype-mb.c:
Stupid typo. Led to compilation failure with non-gcc compilers.
2003-10-01 11:04:19 +05:00
lenz@kallisto.local
58647aa92e - fixed yet another C++ comment inside a .c file 2003-09-29 22:45:00 +02:00
bar@bar.mysql.r18.ru
9b4b9f91de CHARSET_INFO::instr was extended to return more substring match results:
- offset of substr begining
- offset of substr end
- number of characters (MB compatible)
2003-09-25 13:35:21 +05:00
lenz@kallisto.local
5ce5a68b4e - Code cleanup: replaced C++-style comments with the proper syntax for
.c files (the IBM Visual Age C compiler aborts with a syntax error
   on these)
2003-09-24 08:35:02 +02:00
bar@bar.mysql.r18.ru
1faafac4fd Bug 1181 fix. LIKE didn't work with UCS2 character set. 2003-09-22 17:18:47 +05:00
bar@bar.mysql.r18.ru
3ff17e7dd5 xml.c:
Bug fix
2003-09-22 11:26:14 +05:00
bar@bar.mysql.r18.ru
e0a0790ebb Fixed that multibyte charsets didn't honor multibyte
sequence boundaries in functions LIKE and LOCATE in
the case of "binary" collation. Comparison was done
like if the strings were just a binary strings without
character set assumption.
2003-09-19 15:18:19 +05:00
bar@bar.mysql.r18.ru
83c6946232 Bug fix:
http://bugs.mysql.com/bug.php?id=1264
2003-09-16 15:43:17 +05:00
monty@mashka.mysql.fi
04c43fca8e Optimize thai character handling
Remove sel000xxxx tests
After merge fixes
2003-09-12 04:18:07 +03:00
monty@narttu.mysql.fi
77a70a0a24 merge with 4.0.15 2003-08-29 13:44:35 +03:00
serg@serg.mylan
3d41d57765 crash BUG#1116 fixed 2003-08-21 20:13:26 +02:00
monty@mashka.mysql.fi
10c4acfb4f merge 2003-08-19 00:10:21 +03:00
monty@mashka.mysql.fi
4f7512160b After merge fixes
Use server character set if --default-character-set is not used
Added convert_string() for more efficient alloc+character-set convert of strings
2003-08-19 00:08:08 +03:00
bar@bar.mysql.r18.ru
762ca8b6f8 Fix strnxfrm_multiplye from 0 to 1 for charsets that do not use strnxfrm 2003-08-18 17:24:50 +05:00
monty@mashka.mysql.fi
2263e3e51f Merge with 4.0.14 2003-08-11 22:44:43 +03:00
serg@serg.mylan
6714563186 my_strnncoll_latin1_de rewritten from scratch. Bug with overlapping combos went away. 2003-07-17 20:17:46 +02:00
bar@bar.mysql.r18.ru
c6ade13d8b ctype-utf8.c:
Stupid bug fix
2003-07-17 10:21:30 +05:00
monty@narttu.mysql.fi
f3af0d7ce4 Status query on killed mysql connection results in segmentation fault (Bug #738)
Added MAX_PASSWORD_LENGTH. This increased master-slave passwords to 32 bytes (Bug #766)
Fixed server crash on purge master logs or show master logs when binlog is off. (Bug #733)
2003-07-04 03:18:15 +03:00
monty@narttu.mysql.fi
e090f2d0cc Fixes for make_win_src_distributions
Removed compiler warnings
2003-06-15 23:24:37 +03:00
monty@narttu.mysql.fi
dad0664579 merge with public tree 2003-06-05 00:12:45 +03:00
monty@narttu.mysql.fi
23145cfed7 Added SQLSTATE to client/server protocol
bmove_allign -> bmove_align
Added OLAP function ROLLUP
Split mysql_fix_privilege_tables to a script and a .sql data file
Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
Added table_alias_charset, for easier --lower-case-table-name handling
Better SQL_MODE handling (Setting complex options also sets sub options)
New (faster) assembler string functions for x86
2003-06-04 18:28:51 +03:00
bar@bar.mysql.r18.ru
759214fa41 MY_CS_NONTEXT flag for sprintf() incompatible charsets (ucs2 if the only one now)
Some default_charset_info were removed
2003-06-03 14:59:17 +05:00
bar@bar.mysql.r18.ru
de6ad3abef ctype-ucs2.c:
define ILSEQ for platforms that do not define it themself
2003-06-02 14:12:46 +05:00
bar@bar.mysql.r18.ru
8254666d3c ctype-win1250ch.c:
bug #521 fix: ('3'='4')  was true in cp1250_czech_ci
2003-05-28 16:48:48 +05:00
bar@bar.mysql.r18.ru
6b1793d2aa ctype-win1250ch.c:
ifdef wrong structure has been fixed
2003-05-28 14:46:25 +05:00
mysql@home.(none)
63245b91c7 conf_to_src.c:
Changes according to CHARSET_INFO structure
2003-05-27 12:59:08 +05:00
bar@bar.mysql.r18.ru
31d0d44919 --with-charset was not up to date
ctype_ucs2 and ctype_ujis were skipped in mistake
2003-05-26 20:22:23 +05:00
bar@bar.mysql.r18.ru
78c7d40986 BINARY collations for every character set 2003-05-23 18:39:55 +05:00
bar@bar.mysql.r18.ru
8192d169a2 CHARSET_INFO structure reorganization for easier maintainance 2003-05-23 17:45:52 +05:00
bar@bar.mysql.r18.ru
2b1e1f6494 Variables were rename, binary collation names were added
Fixed that SHOW CHARACTER SET displayed non-dynamic charsets even if they were not really compiled
2003-05-22 17:20:19 +05:00
monty@mashka.mysql.fi
cb7061ebe4 merge 2003-05-22 02:57:27 +03:00
monty@mashka.mysql.fi
6aa8929cf3 After merge fixes
Added initialization of all important global variables
2003-05-21 21:39:58 +03:00
bar@bar.mysql.r18.ru
c03d807417 UCS2 and UTF8 are in separate files now 2003-05-21 15:29:44 +05:00
monty@narttu.mysql.fi
dd2b7918cd Merge with 4.0.13 2003-05-19 16:35:49 +03:00
monty@narttu.mysql.fi
04004534ea Fixed new bug in ORDER BY 2003-05-15 00:31:12 +03:00
hf@deer.mysql.r18.ru
aad71de100 Trimming code with Monty's suggestions 2003-04-25 21:28:11 +05:00
bar@bar.mysql.r18.ru
4c3f1baca9 ctype-tis620.c:
Don't allow access outside the string
2003-04-25 16:27:16 +05:00
bar@bar.mysql.r18.ru
5610c4dea6 my_vsnprintf.c:
The last character was not printed into out string
2003-04-21 12:44:29 +05:00
monty@mashka.mysql.fi
491589baf8 Add mysys specific error messages
Make RELAY_THREAD and alias for IO_THREAD
Added new interface for string -> (unsigned) long long.
2003-04-16 09:25:43 +03:00
bar@bar.mysql.r18.ru
11355b6795 All collation names are now fit into convension 2003-04-07 18:49:56 +05:00
monty@narttu.mysql.fi
4a4838059f Fixed bug in warning handling (Memory was allocated from wrong MEM_ROOT) 2003-04-03 21:19:14 +03:00
monty@narttu.mysql.fi
a7708c7904 Merge with 4.0 2003-04-03 21:19:12 +03:00
bar@bar.mysql.r18.ru
83cbc2838a Some collation have been renamed to fit into convension 2003-04-01 18:54:01 +05:00
bar@bar.mysql.r18.ru
ca1a736296 mbcharlen() is now used instead of ismbhead(). The last one has been removed. 2003-04-01 15:52:09 +05:00
bar@bar.mysql.r18.ru
0002beb7a4 my_strncasecmp() is not used anymore. Use my_strncoll() instead. 2003-04-01 14:17:28 +05:00
bar@bar.mysql.r18.ru
5b50426f8f Some optimization in CHARSET_INFO:
We don't need separate hash_sort() and hash_caseup()
  We don't need tosort(). strnxfrm will do the same.
2003-04-01 12:45:16 +05:00
bar@bar.mysql.r18.ru
4e06f1f5bd German Phone book collation is always compiled
Some collation names have been renamed
2003-03-26 13:27:19 +04:00
bar@bar.mysql.r18.ru
0f7c02f5fa SHOW CHARACTER SET now can display comments
Low case letters are used in charset names
2003-03-25 16:12:49 +04:00
bar@bar.mysql.r18.ru
1c5dd1f533 Collation names have been renamed to common style 2003-03-25 12:07:46 +04:00
monty@narttu.mysql.fi
11a810d710 Fixed reference to uninitialized memory 2003-03-21 11:49:17 +02:00
monty@narttu.mysql.fi
9f200ede0d Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into narttu.mysql.fi:/my/mysql-4.1
2003-03-20 02:06:08 +02:00
monty@narttu.mysql.fi
b883a9c01c Merge with 4.0.12 2003-03-19 22:25:44 +02:00
monty@narttu.mysql.fi
a916a03916 Fixes to avoid errors from valgrind
Fixed problem with 'wrong packet number' in union
2003-03-18 11:17:48 +02:00
monty@narttu.mysql.fi
c2fa342d53 Merge with 3.23 to get fix for halloween problem on Update of InnoDB tables 2003-03-18 03:19:20 +02:00
monty@narttu.mysql.fi
85de222334 Fix of 'halloween bug' with UPDATE of InnoDB tables. 2003-03-18 02:51:16 +02:00
bar@bar.mysql.r18.ru
04db86f22a 2003-03-17 21:56:34 +04:00
lenz@mysql.com
efbb9d45c1 - fixed C++-style comments to make IBM C compiler happy 2003-03-15 18:42:55 +01:00
serg@serg.mysql.com
15ff383e20 Merge bk-internal:/home/bk/mysql-4.1/
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2003-03-14 20:25:50 +01:00
bar@bar.mysql.r18.ru
b009386fa4 Every charset now have its own parser state arrays 2003-03-14 18:08:12 +04:00
lenz@mysql.com
a355f74bf7 - fixed C++-style comments in .c files to make IBM compiler happy
(it barfs on these with a syntax error)
2003-03-11 15:37:31 +01:00
serg@serg.mysql.com
cd3f3867ab trim spaces from CHAR() BINARY consistently 2003-03-06 14:58:37 +01:00
lenz@mysql.com
113e499b43 - Changed C++-style comments to C-style comments to make IBM compiler happy 2003-03-06 13:51:37 +01:00
bar@bar.mysql.r18.ru
f5d6b4952f New fields in CHARSET_INFO structure to optimize searching for
binary and primary collations in the future
2003-03-05 16:43:10 +04:00
bar@bar.mysql.r18.ru
c4dc670d61 Every character set now has binary collation 2003-03-04 11:04:19 +04:00
monty@narttu.mysql.fi
9147f8b522 Portability fixes 2003-02-28 14:32:40 +02:00
venu@myvenu.com
ee2b888696 Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM 2003-02-20 14:14:37 -08:00
monty@mashka.mysql.fi
e327393e9d Fixed a lot of wrong memory references as reported by valgrind
Portability fixes
Added new client function: mysql_get_server_version()
New server help code (From Victor Vagin)
Fixed wrong usage of binary()
Disabled RTREE usage for now.
2003-02-12 21:55:37 +02:00
bar@bar.mysql.r18.ru
4f62ac93f0 More use of new CHARSET_INFO functions and two bug fixes 2003-01-31 17:08:14 +04:00
bar@bar.mysql.r18.ru
24be8669a0 New functions in CHARSET_INFO structure 2003-01-31 16:22:22 +04:00
bar@bar.mysql.r18.ru
52c053ca9b New CHARSET_INFO function to compare strings regardless to trailing spaces 2003-01-31 13:48:35 +04:00
bar@bar.mysql.r18.ru
0a48aeb2c1 ctype-simple.c:
CC comments -> C comments
ctype-latin1_de.c:
  like_range was the same with like_range_simple
  so I've removed duplicated code
2003-01-31 11:43:46 +04:00
bar@bar.mysql.r18.ru
0420f6914e Optimization of unicode conversion 2003-01-30 10:47:15 +04:00
bar@bar.mysql.r18.ru
dfdf088803 2003-01-30 10:19:14 +04:00
bar@bar.mysql.r18.ru
984fb30f2a conf_to_src.c:
Getting closer
2003-01-29 17:56:18 +04:00
bar@bar.mysql.r18.ru
735399a850 Move latin1 into a separarte file 2003-01-29 17:31:20 +04:00
bar@bar.mysql.r18.ru
ff3eaaebe7 conf_to_src.c:
Restoring conf_to_src. Now it loads XML.
2003-01-29 16:33:16 +04:00
bar@bar.mysql.r18.ru
08129eea2b Reorganization to restore generating charset C files from conf files 2003-01-29 15:08:09 +04:00
bar@bar.mysql.r18.ru
a292d4f632 New "fill" function in charset_info_st structure 2003-01-28 14:58:06 +04:00
bar@bar.mysql.r18.ru
b92ed69491 wb_wc and wc_mb now checks length inside 2003-01-27 16:46:03 +04:00
monty@mashka.mysql.fi
25c393a12e Portability fixes (for windows)
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
monty@mashka.mysql.fi
8acc22296c Change client_flag to unsigned long (16 -> 32 bits) to handle more options.
Don't use new password format if mysql.user has old format
tables_priv was not reset on FLUSH PRIVILEGES if tables_priv was empty
Portability fixes for Windows
2003-01-18 16:39:21 +02:00
monty@mashka.mysql.fi
76f146a175 Merge with 4.0.9 2003-01-18 03:13:37 +02:00
monty@mashka.mysql.fi
4a5ecc92be merge 2003-01-17 16:45:17 +02:00
monty@mashka.mysql.fi
762cb225c9 Changed my_strntoxxx functions to clear error number on start
Allow one to change ANSI_QUOTES mode per thread and on the fly
2003-01-17 16:33:54 +02:00
bar@bar.mysql.r18.ru
2a41e291dc New scan() function in CHARSET_INFO structure (not used yet) 2003-01-17 18:14:54 +04:00
bar@bar.mysql.r18.ru
72fcf5e4e7 Use always base "10" to remove base guesser in strntoul() implementation 2003-01-17 13:17:22 +04:00
bar@bar.mysql.r18.ru
89931690ca ctype-utf8.c:
Workaround for platforms which don't support EILSEQ
2003-01-17 12:35:47 +04:00
monty@mashka.mysql.fi
f4b950df96 Merge with 3.23 2003-01-16 20:47:46 +02:00
bar@bar.mysql.r18.ru
4f9d82700d strnto family functions now return error in a new argument 2003-01-16 17:17:07 +04:00
bar@bar.mysql.r18.ru
4b9d29c83b strnxfrm() for simple and binary charsets fixes 2003-01-16 15:20:38 +04:00
bar@bar.mysql.r18.ru
5743f94b57 All charsets now have strnxfrm.
Some function names have been renamed to be more self-descriptive
2003-01-15 18:06:07 +04:00
bar@bar.mysql.r18.ru
09eac4793b bin chatset now handles strnncoll itself so we don't have to check
if charset is binary anymore
2003-01-14 18:28:50 +04:00
monty@mashka.mysql.fi
22b7e67b0b merge 2003-01-14 14:33:10 +02:00
monty@mashka.mysql.fi
7e9b27eaf5 Updates for multi-byte character sets
(Note: test 'union' fails, but Sanja promised to fix this)
2003-01-14 14:28:36 +02:00
bar@bar.mysql.r18.ru
3523650ac8 Charset loading has been moved to /string library 2003-01-14 13:36:22 +04:00
bar@bar.mysql.r18.ru
04ba0e85f0 xml.c has been moved to /strings from /mysys
This is to reuse code to generate charset related C files
from ther descriptions written in XML files
2003-01-10 17:01:55 +04:00
bar@bar.mysql.r18.ru
192ad59819 xml.c:
new file
2003-01-10 16:34:53 +04:00
bar@bar.mysql.r18.ru
8b2b69c8eb euc_kr, koi8_r and koi8_u have been renamed so that now
all charset names don't have "_" sign.
2003-01-09 17:39:02 +04:00
bar@bar.mysql.r18.ru
c12f92e5ee ctype.c:
koi8_ru -> koi8_r
  koi8_ukr -> koi8_u
  usa7 -> ascii
2003-01-05 17:35:45 +04:00
bar@bar.mysql.r18.ru
4e405fa200 koi8_ru -> koi8_r
charset.conf -> charset.xml
bug fix
2003-01-05 17:34:24 +04:00
bar@bar.mysql.r18.ru
40c61f5763 Many files:
PRIMARY flag for built-in charsets
2003-01-05 16:44:39 +04:00
bar@bar.mysql.r18.ru
395d7da8a3 cp1250 2003-01-05 15:31:26 +04:00
bar@bar.mysql.r18.ru
f6c5f74f31 ctype-win1250ch.c:
cp1250_czech
  ,
2003-01-05 15:30:02 +04:00
bar@bar.mysql.r18.ru
a172e5ad2a Some changes to separate charset and collation terms 2003-01-04 14:12:20 +04:00
lenz@mysql.com
fc8a78955b - fixes to properly make a "make distclean" (some files were not removed)
(There are probably some more to fix)
2002-12-27 17:37:55 +01:00
bar@bar.mysql.r18.ru
e870df661d Use of new num->str functions
fix in ucs2 charset
2002-12-11 15:29:23 +04:00
bar@bar.mysql.r18.ru
2204f764ce sql/sql_string.cc@1.39
New num->str functions
strings/ctype-simple.c@1.16
    New num->str functions
strings/ctype-utf8.c@1.18
    New num->str functions
2002-12-11 15:26:49 +04:00
bar@bar.mysql.r18.ru
a345447ad0 Preparing for charset dependant int10_to_str 2002-12-11 12:30:05 +04:00
monty@mashka.mysql.fi
859b688476 Merge with 4.0.6 2002-12-05 19:38:42 +02:00
monty@mashka.mysql.fi
fc06433a69 Removed copying of parameters as this leads to memory leaks in embedded server.
Fixed 'not initialized' memory error.
2002-12-05 03:40:33 +02:00
bar@bar.mysql.r18.ru
4b46b19937 UCS2 fixes 2002-11-29 14:04:36 +04:00
bar@bar.mysql.r18.ru
ec7c4ea78d my_strntod_ucs2 and my_strntol_ucs2 fixes 2002-11-29 13:29:48 +04:00
bar@bar.mysql.r18.ru
847ea719b6 New functions 2002-11-28 11:04:26 +04:00
bar@bar.mysql.r18.ru
95930f129e new string-to-number functions 2002-11-27 18:08:31 +04:00
bar@bar.mysql.r18.ru
61141a30ee Preparing to use better string-to-number functions to avoid c_ptr() call,
wich is slower and is not ucs2 compatible
2002-11-27 15:47:39 +04:00
serg@serg.mysql.com
b385eb4a05 removed redundant -I include-dirs 2002-11-26 14:01:08 +01:00
monty@mashka.mysql.fi
dac6498f9b Merge with 4.0 2002-11-21 15:56:48 +02:00
lenz@mysql.com
996255648b - Applied required modifications for automake 1.5
- "make distcheck" needs to be fixed
2002-11-17 16:45:21 +01:00
bar@bar.mysql.r18.ru
41554da7ff move like_range into CHARSET_INFO structure 2002-11-15 11:44:23 +04:00
bar@bar.mysql.r18.ru
237e2ca001 New wildcmp() function in CHARSET_INFO structure 2002-11-14 16:07:29 +04:00
bar@bar.mysql.r18.ru
ae7d6838b2 Preparing to embed string to number conversion functions into charset structure 2002-11-13 17:13:29 +04:00
bar@bar.mysql.r18.ru
9d249321d8 my_snprintf() doesn't support things like %04X so use vsprintf() instead 2002-11-13 15:00:25 +04:00
bar@bar.mysql.r18.ru
442509acdd USER(), DATABASE() and CHARSET() functions are now UCS2 compatible
Bug fix in ctype-utf8.c
2002-11-11 18:43:33 +04:00
bar@bar.mysql.r18.ru
098b974483 For coding convenuence cs->mbmaxlen is now 1 for 8bit charsets 2002-11-11 13:10:39 +04:00
bar@bar.mysql.r18.ru
1582aafcb0 my_snprintf_ucs2 bug fix 2002-11-10 17:44:36 +04:00
bar@bar.mysql.r18.ru
abd3427150 New field snprintf() in CHARSET_INFO structure 2002-11-10 16:14:39 +04:00
monty@butch.
a2bdf9265f Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes. 2002-11-07 03:54:00 +02:00
monty@mashka.mysql.fi
9e3f16dfcd Merge work:/my/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 2002-10-31 11:35:35 +02:00
monty@mashka.mysql.fi
f013ad57ef 30 % faster longlong10_to_str function 2002-10-31 11:27:52 +02:00
bar@bar.mysql.r18.ru
03e7fc3180 date and time fields now have charset arg in constructor
my_charset_latin1
2002-10-30 17:09:37 +04:00
lenz@mysql.com
9b769dbd22 - replaced all occurences of HPUX with HPUX10 (to be prepared for eventual
differences in HPUX11)
2002-10-24 14:30:25 +02:00
bar@bar.mysql.r18.ru
b9f5e18be1 Preparing to use my_charset_bin instead of binary_flag 2002-10-23 18:20:45 +05:00
bar@bar.mysql.r18.ru
cd032e0418 ctype-bin.c:
max_sort_char is 255 for binary
2002-10-23 16:06:04 +05:00
bar@bar.mysql.r18.ru
6539c6a51f ctype.c, Makefile.am, Makefile.shared:
binary charset
ctype-bin.c:
  new file
2002-10-23 15:40:22 +05:00
serg@serg.mysql.com
fcb8bc061d merged 2002-10-14 11:36:48 +00:00
bar@bar.mysql.r18.ru
a0dd5febfc Move hash_sort and hash_caseup into CHARSET_INFO for all charsets 2002-10-10 16:52:22 +05:00
bar@bar.mysql.r18.ru
11a93ede41 Some reorganization to use less memory as well as to hide some implementation
aspects into *.c files from *.h files. Some steps to get closer to generating
*.c files from *.conf files again.
2002-10-10 15:52:32 +05:00
bar@bar.mysql.r18.ru
954a47b95a Simple charsets now have strncoll() field too 2002-10-09 15:40:57 +05:00
monty@mashka.mysql.fi
a748b35ddd merge with work 2002-10-02 13:45:16 +03:00
monty@mashka.mysql.fi
d69250a969 Fixes and code cleanups after merge with 4.0.3
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()

Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
lenz@mysql.com
3cf7acb756 - Applied required modifications for automake 1.5
- some additional small fixes
 - added "depcomp" for automake 1.5
2002-10-01 21:57:10 +02:00
bar@bar.mysql.r18.ru
43a506c0ce UTF8 now works with up to 3 byte sequences only 2002-09-27 14:59:03 +05:00
monty@narttu.mysql.fi
7134ffec21 Merge with 4.0.3
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
bar@bar.mysql.r18.ru
34d4c4f462 Some speed improvements 2002-08-15 16:42:54 +05:00
serg@sergbook.mysql.com
545f616154 Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-13 21:15:14 +02:00
bar@bar.mysql.r18.ru
9dd576c3f8 "make clean" problem fix 2002-08-13 19:13:23 +05:00
monty@hundin.mysql.fi
087261482a merge with 3.23.52 2002-08-08 15:24:47 +03:00
monty@hundin.mysql.fi
5fadf19295 Fixed problem with make distcheck
Fixed bug in automatic repair of MyISAM tables where table cache was not locked properly
2002-08-06 22:20:11 +03:00
bar@bar.udmsearch.izhnet.ru
6340c79c05 Renamed some charset related constant
New fields in CHARSET_INFO for more nice SHOW CHARACTER SET
Dynamic charsets are now handled in faster way
SHOW CHARACTER SET now displays not only compiled charsets but dynamic charsets too
2002-07-30 14:02:29 +05:00
lenz@mysql.com
04888e4675 Added a compile fix for AIX to include/my_sys.h
Corrected some comments that were using C++-style instead of C-style
2002-07-03 18:45:38 +02:00
bar@gw.udmsearch.izhnet.ru
f4f4962d4d UCS2 charset has been added 2002-06-17 22:43:40 +05:00
bar@gw.udmsearch.izhnet.ru
16ccc1923a strto.c:
Fix for typos in system_charset_info
2002-06-10 16:17:49 +05:00
monty@hundin.mysql.fi
f0b28da6f9 merge with 4.0 2002-06-03 12:59:31 +03:00
monty@hundin.mysql.fi
8c3b77451e Updated assembler code from MySQL 4.0 (to make them work with gcc 3.0)
Fixed memory overrun bug in glibc patch
Updated french error messages
2002-05-20 12:11:15 +03:00
lenz@mysql.com
818af46d6c Reworked the RPM spec file and added several fixes to make the
build scripts work again.
2002-05-03 12:31:25 +02:00
monty@hundin.mysql.fi
e90c6b481d Fixed problems with DECIMAL() type on overflow. 2002-05-02 18:04:21 +03:00
monty@hundin.mysql.fi
727122aadd merge 2002-04-25 01:16:42 +03:00
monty@tik.mysql.fi
1016a08dc9 Fixed that IF is case insensitive if 2 and 3 arguments are case insensitive.
Added copyright messages to some files that was missing it.
2002-04-22 10:34:46 +03:00
bar@gw.udmsearch.izhnet.ru
64943e08a1 Fix for problem that GROUP BY and DISTINCT didn't work for UTF8 2002-04-17 17:27:13 +05:00
bar@gw.udmsearch.izhnet.ru
6b49eb2afc Some charsets require special hash function
New file ctype-win1250ch, I forgot to commit it in my previous changes
2002-04-17 15:57:18 +05:00
bar@gw.udmsearch.izhnet.ru
00dee51604 New win1250ch charset 2002-04-17 14:16:26 +05:00
monty@hundin.mysql.fi
52613c7e40 Removed C version of longlong2str when using --enable-assembler 2002-04-14 09:00:50 +03:00
monty@hundin.mysql.fi
b5a145d872 merge 2002-04-13 15:34:39 +03:00
bar@gw.udmsearch.izhnet.ru
6d0434134e gb2312, GBK and Shift-JIS conversion routines 2002-03-29 21:00:50 +04:00
bar@gw.udmsearch.izhnet.ru
37c24af06a EUC-KR conversion routines 2002-03-29 20:41:21 +04:00
bar@gw.udmsearch.izhnet.ru
3d555fe365 EUC-JP conversion routines 2002-03-29 20:23:29 +04:00
bar@gw.udmsearch.izhnet.ru
e42fe498a1 Big5 conversion routines 2002-03-29 19:54:21 +04:00
bar@gw.udmsearch.izhnet.ru
0300bac68a charset<->unicode conversion tables and routines
some warnings fixes
2002-03-29 16:06:06 +04:00
bar@gw.udmsearch.izhnet.ru
55e0a9cb01 New UTF8 charset 2002-03-28 17:31:46 +04:00
bar@gw.udmsearch.izhnet.ru
1ebab2be72 Configure.in/Makefile.in charset related things are now earier to maintain
Fixes in charset related C++ code
2002-03-19 20:03:10 +04:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769 New ctype functions/macros to support many charsets at a time 2002-03-12 21:37:58 +04:00
bar@gw.udmsearch.izhnet.ru
ab90343a56 New fiedls in CHARSET_INFO strucutre 2002-03-07 17:05:44 +04:00
monty@hundin.mysql.fi
fa38c84be7 merge 2002-03-06 19:53:31 +02:00
bar@gw.udmsearch.izhnet.ru
a518b9f326 Charsets related things are prepared by configure in new way.
This is to simplify maintaining charsets, especially changing
CHARSET_INFO structure.
2002-03-06 17:44:43 +04:00
monty@tik.mysql.fi
4508fbb558 Use portable comments in assembler files 2002-03-05 19:19:00 +02:00
sasha@mysql.sashanet.com
bcd8cd1372 updated build scripts for new Linux build 2002-02-16 11:32:06 -07:00
monty@hundin.mysql.fi
be46289855 New error messages
Test of unsigned BIGINT values
Fixes for queries-per-hour
Cleanup of replication code (comments and portability fixes)
Make most of the binary log code 4G clean
Changed syntax for GRANT ... QUERIES PER HOUR
2002-01-29 18:32:16 +02:00
monty@hundin.mysql.fi
1eb99ae80b Fix for purify 2001-12-18 00:23:56 +02:00
monty@hundin.mysql.fi
01b14507b7 Fix for purify 2001-12-17 15:21:43 +02:00
monty@hundin.mysql.fi
1904d7a88d Portability fixes 2001-12-17 15:00:14 +02:00
monty@hundin.mysql.fi
b658662ae4 Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
d3288575de Patch for SCO
Update test results for MySQL 4.0
2001-11-26 03:52:23 +02:00
monty@hundin.mysql.fi
30209c1d66 Portability fix.
Fixed linking problem with InnoDB.
2001-11-07 02:30:34 +02:00
monty@hundin.mysql.fi
fd0780493d merge with 3.23.44 2001-11-04 16:14:09 +02:00
monty@hundin.mysql.fi
0716bf4d0e Portability fixes 2001-10-31 20:28:43 +02:00
monty@hundin.mysql.fi
d89690e606 Portability fixes
Fix for consistent 0000-00-00 date handling
Close + open binary logs on flush tables
Fix for AVG() in HAVING.
2001-10-31 18:27:49 +02:00
monty@hundin.mysql.fi
88aff4bf85 Updated manual about embedded version.
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
monty@work.mysql.com
193ae61fc0 merge 2001-10-02 21:33:47 +02:00
monty@hundin.mysql.fi
db82d30bf0 Fix for make dist
Made replication test portable
Fixed buffer overrun bug in replication
2001-10-02 22:21:14 +03:00
monty@hundin.mysql.fi
9f04e0e6d2 Portability fix 2001-09-30 18:35:08 +03:00
monty@hundin.mysql.fi
7cadc6e711 Changed to use my_global.h
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
2001-09-14 02:54:33 +03:00
monty@hundin.mysql.fi
fe404b6808 Fixed sorting of é in latin_de 2001-09-13 11:00:22 +03:00
monty@hundin.mysql.fi
fa23b20789 Fixes for German sorting order. 2001-09-11 01:40:52 +03:00
tim@white.box
2dd0b802b1 Fix blatant bugs in ctype-latin1_de.c. 2001-09-07 16:45:05 -04:00
tim@white.box
45b1e99dd1 libmysql/Makefile.shared
Remove extra link_sources target, which was not being used
    (and was incorrect).

ctype-latin1_de.c
    BitKeeper file /home/tim/my/4/strings/ctype-latin1_de.c
2001-09-06 17:17:18 -04:00
monty@work.mysql.com
81006dd227 Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-04 01:04:32 +02:00
monty@hundin.mysql.fi
0b2af6bdfd Ensure that libmysqlclient doesn't use raid
Fix problem with MyISAM and rows of length 65517-65520
2001-09-04 01:25:34 +03:00
monty@work.mysql.com
447c18954e merge with 3.23.42 2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
6000cd213a Portability fixes 2001-08-30 10:51:36 +03:00
tonu@x153.internalnet
451e3c8c3b Some warning fixes and some SSL testprograms check-in 2001-08-26 00:18:20 +08:00
monty@hundin.mysql.fi
733f865f54 Fixes for OS2.
Fix bug in isamlog
Add argument types to function declarations.
2001-08-22 01:45:07 +03:00
monty@hundin.mysql.fi
063a1a6557 Portability fixes.
Patches required by Gemini
Fix to properly detect if there is an active transaction in InnoDB
Fix to not lock thread structure when doing automatic rollback when thread ends
Allow -O lower_case_names=0 on UNIX
2001-08-21 20:06:00 +03:00
monty@hundin.mysql.fi
b1cb5b6ff0 Portability fixes.
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
2001-08-18 10:49:00 +03:00
monty@donna.mysql.fi
ad7fa1c940 Don't force conf_to_src to be static an all systems
Removed unpredictable test from rpl000001.test
2001-04-18 02:53:21 +03:00
monty@donna.mysql.fi
4edafca6a3 Fixed that -ldl is not used for clients
Fixed rpl000001 to handle the most common mysql-test-run ports.
2001-04-17 14:02:28 +03:00
monty@donna.mysql.fi
7f21a7a6da Fixed INSERT DELAYED with Innobase
Fix for shutdown on NT
Fixed bug when using wrong dates from blob field.
2001-04-09 21:08:56 +03:00
sasha@mysql.sashanet.com
b1bfac4748 Merge mysql.sashanet.com:/home/sasha/src/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql-fast
2001-04-02 19:02:47 -06:00
sasha@mysql.sashanet.com
f754012ad0 got --with-other-libc to work, finally 2001-04-02 19:01:15 -06:00
monty@donna.mysql.fi
65822120f5 Fixed bug in ALTER TABLE
Removed _mi_rkey() function
New fork_big.pl multi-thread test
2001-04-01 13:45:48 +03:00
monty@donna.mysql.fi
dab74107ab Fix a crash in Innobase with tables with many columns and a range query
Removed all Attic directories.
2001-03-26 16:49:11 +03:00
monty@donna.mysql.com
8e4968d9c7 Added max_user_connections
Fixes for Innobase
Don't reset whole to-buffer in strxnmov
2001-02-20 22:34:47 +02:00
monty@donna.mysql.com
a7c5b9c211 Portability fixes for OPENBSD, OS2 and Windows 2001-01-27 01:20:56 +02:00
monty@donna.mysql.com
3ca140edb3 Fixed bug in CHECK TABLE ... EXTENDED
Added keyword MEDIUM to CHECK TABLE
New benchmarks results for Linux-alpha
2001-01-16 15:02:25 +02:00
monty@donna.mysql.com
d43b4a2ae1 Fixed performance bug in lock tables 2000-11-20 22:25:59 +02:00
monty@narttu.mysql.fi
b689a1a752 merge 2000-11-16 00:24:11 +02:00
monty@tik.mysql.com
7a013339f8 Bug fixes, TRUNCATE, safer passwords on command line and connect timeout 2000-11-13 23:55:10 +02:00
tim@threads.polyesthetic.msg
1157c688a8 Changes from teg@redhat.com - subtle bugs that only show up under
certain circumstances.
2000-11-06 12:23:19 -05:00
monty@donna.mysql.com
a67ff1bf08 Update of interface for BDB tables.
Fixed bug in SHOW CREATE TABLE
2000-10-24 02:39:54 +03:00
monty@donna.mysql.com
b55de19ed2 Portability fixes 2000-10-04 23:20:16 +03:00
monty@donna.mysql.com
dc4525636c Small bug fixes + code for DELETE QUICK 2000-09-20 04:54:10 +03:00
monty@donna.mysql.com
74ebbd6cbd Fixes to get 3.23.23 to compile 2000-08-30 18:19:34 +03:00
monty@donna.mysql.com
aa3580924b RENAME TABLE table_name TO new_table_name ; Faster Alloc
Small bug fixes
2000-08-21 03:00:52 +03:00
monty@donna.mysql.com
9c1ecff8ec Merge 2000-08-18 13:09:26 +03:00
monty@donna.mysql.com
a753a3a2ce Updated benchmark and results for PostgreSQL 7.0.2
Added more status to the MyISAM files to avoid checking files that
has already been checked.
2000-08-18 12:48:00 +03:00
serg@infomag.ape.relarn.ru
bf617db818 Merge 2000-08-15 21:52:42 +04:00
monty@donna.mysql.com
ea013c2152 Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00
serg@infomag.ape.relarn.ru
5886090182 PART I: Keys support for MyMERGE tables
myisammrg/             |
Makefile.am            |
mymrgdef.h             |   support for keys
myrg_open.c            |          &
myrg_queue.c           |   bugfixes
myrg_rfirst.c          |
myrg_rkey.c            |
myrg_rlast.c           |
myrg_rnext.c           |
myrg_rprev.c           |
myrg_rrnd.c            |

include/myisammrg.h    | rkey/rnext/etc prototyped

sql/                   |
ha_myisammrg.cc        | support for keys
ha_myisammrg.h         |

myisam/                |
mi_rkey.c              | buf==NULL extension, _mi_rkey()
mi_rnext.c             |
mi_rprev.c             |

include/queues.h       | reinit_queue() - same as init_queue, but w/o malloc
mysys/queues.c         |

PART II: Miscellaneous

myisam/common_words    | deleted (looks like I checked it in by mistake)

some files (like acconfig.h, Makefile.am, COPYING.LIB, etc)
                       | Change mode to -rw-r--r-- (by `chmod a-x ')
2000-08-14 15:27:19 +04:00
sasha@mysql.sashanet.com
b1fc59a4fe Makefile needed an action for a the dummpy rule to avoid the default action
assumed by GNU Make ( get ctype.c), which conflicted with bitkeeper
2000-07-31 18:09:06 -06:00
bk@work.mysql.com
f4c589ff6c Import changeset 2000-07-31 21:29:14 +02:00