monty@mysql.com
6bfede9639
Added SQL_SELECT::cleanup() to make it easier to reuse SQL_SELECT item's for sub selects. Needed for proper fix for bug #2479 .
...
Added 'select_to_file' class to be able to merge identical code for select_export and select_dump
2004-02-05 10:22:08 +01:00
monty@mysql.com
b078d2df64
merge
2004-01-20 00:15:01 +01:00
monty@mysql.com
0eb6070068
Code cleanup
...
Fixed bug in optimizer where it didn't choose right table order in some cases
2004-01-19 23:51:17 +01: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
db83208d36
charset.c:
...
http://bugs.mysql.com/bug.php?id=2386
Index.xml file larger than 1024*16
Fix for the above bug.
2004-01-15 17:07:29 +04:00
bar@bar.intranet.mysql.r18.ru
042fe0bed4
charset.c:
...
Fixed: client crashed when there are no Index.xml file.
2004-01-12 14:31:04 +04:00
bar@bar.intranet.mysql.r18.ru
10f0bf3507
charset.c:
...
he mysqld server crashes if issued a command select convert(...)
with a
non-compiled character set:
2003-12-24 16:04:26 +04:00
monty@mysql.com
031390a9a4
Fixes after merge with 4.0
...
Cleaned up embedded library access and query cache handling
Changed min stack size to 128K (to allow longer MyISAM keys)
Fixed wrong priority for XOR (should be less than NEG to get -1^1 to work)
2003-12-19 16:25:50 +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@mishka.mysql.fi
a5c83b05bd
Move init_compiled_charsets to own file
...
Remove dependency of charsets (in my_init) to get smaller binaries when charsets are not used
Simple code cleanup
2003-10-06 22:56:34 +03:00
bar@bar.mysql.r18.ru
a5cc38fa01
charset.c:
...
comp_err failed to compile error message file when a
character set was not incompiled.
2003-09-23 10:41:58 +05:00
bar@bar.mysql.r18.ru
99e2a82168
Bug 1350 fix
2003-09-22 11:11:36 +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
731b8392ee
Charset number is now stored into error.sys by comp_err and loaded by mysqld.
2003-09-17 16:22:58 +05:00
serg@serg.mylan
3ca302dbac
bug #715 : SELECT YEAR+0 FROM foobar is parsed as 'SELECT' 'YEAR' '+0' => syntax error
2003-07-20 12:26:18 +02:00
monty@narttu.mysql.fi
a1034db4b9
Cleanup after split of libmysql.c to client.c and libmysql.c. A 4.1 master/slave will now use the 4.1 protocol
...
Fixed wrong value for SQLSTATE_LENGTH
Added CLIENT_REMEMBER_OPTIONS to mysql_real_connect()
Changed mysql_port and mysql_unix_port to mysqld_xxxx
2003-06-14 11:37:42 +03: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
4b3c1364af
charset.c:
...
Bug fix: if latin2_czech_ci is not compiled, loader din't load other latin2 collations
2003-05-23 14:24: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
bar@bar.mysql.r18.ru
8d52377a5c
Some SHOW VARIABLES have been renamed:
...
collation_client -> character_set_client
collation_results -> character_set_results
character_set -> character_set_server
SET NAMES now doesn't start client->server conversion
SET CHARACTER SET now starts both client->server and server->client conversion
2003-05-21 17:44:12 +05:00
bar@bar.mysql.r18.ru
7f771ce2e1
"character_sets" has been removed from SHOW VARIABLES. Use SHOW CHARACTER SET instead.
...
"character_set_system" has been added to display the system character set
2003-05-21 13:58:30 +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
74a7d23aab
charset.c:
...
strcasecmp -> my_strcasecmp
This fix compilation problem on windows
2003-03-28 19:37:25 +04: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
6814c8d36a
SELECT N'string'
2003-03-20 22:01:03 +04:00
bar@bar.mysql.r18.ru
0137c812dc
SHOW CREATE TABLE didn't display field names in the proper charset
2003-03-18 13:42:45 +04:00
bar@bar.mysql.r18.ru
04db86f22a
2003-03-17 21:56:34 +04:00
mysql@home.(none)
c6efa7a8b7
New function my_charset_same()
2003-03-16 17:19:24 +04:00
root@home.(none)
5c6c54c09a
system_charset_info has been moved to /sql directory
...
and isn't used in libraries any longer
2003-03-16 12:30:10 +04:00
root@home.(none)
f71a7e4b05
set_default_charset() is not used anymore
...
Some system_charset_info were removed
2003-03-16 10:56:14 +04:00
bar@bar.mysql.r18.ru
b009386fa4
Every charset now have its own parser state arrays
2003-03-14 18:08:12 +04:00
bar@bar.mysql.r18.ru
dba579bfb3
Case insensitivrly has been added in charset and collation names.
2003-03-13 12:54:34 +04: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
78da2ad7bd
SELECT BINARY expr
...
is now synonim for
SELECT expr COLLATE <expr_charset>_bin
2003-03-04 19:53:53 +04:00
bar@bar.mysql.r18.ru
c4dc670d61
Every character set now has binary collation
2003-03-04 11:04:19 +04:00
bar@bar.mysql.r18.ru
05df112947
charset.c:
...
SHOW CHARACTER SET now displays "1" in mb_maxlen even if a charset is not loaded yet
2003-02-20 17:54:25 +04: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
monty@mashka.mysql.fi
023d6dd39b
Merge with 4.0.11
2003-02-04 21:52:14 +02: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
735399a850
Move latin1 into a separarte file
2003-01-29 17:31:20 +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
monty@mashka.mysql.fi
689578a099
Fixes for Netware
...
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +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