Commit graph

4215 commits

Author SHA1 Message Date
unknown
6cc0d7d7e8 New character sets
sql/share/charsets/Index:
  New charsets
2002-08-15 14:43:05 +05:00
unknown
91ff2ebebe More readable output 2002-08-14 20:48:39 +05:00
unknown
8223915c74 Fix
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-08-14 13:08:09 +05:00
unknown
7b2ac5736a server-key.pem regenerated
server-cert.pem	regenerated
client-key.pem	regenerated
client-cert.pem	regenerated
cacert.pem	regenerated
sslopt-case.h	changed optarg to argument, decomment --ssl-key


include/sslopt-case.h:
  changed optarg to argument, decomment --ssl-key
SSL/cacert.pem:
  regenerated
SSL/client-cert.pem:
  regenerated
SSL/client-key.pem:
  regenerated
SSL/server-cert.pem:
  regenerated
SSL/server-key.pem:
  regenerated
2002-08-08 21:43:44 +02:00
unknown
01a8a45f1e New CRC32() SQL function 2002-08-06 19:29:33 +05:00
unknown
700cefd28b - Added missing files to distribution
- removoved getopt.h (has been replaced by my_getopt.h)


BitKeeper/deleted/.del-getopt.h~a9ae679fa84f395:
  Delete: include/getopt.h
include/Makefile.am:
   - Added missing file my_getopt.h to distribution
sql/Makefile.am:
   - Added missing files spatial.h adn gstream.h to distribution
2002-08-06 13:59:07 +02:00
unknown
f3e811d938 Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into bar.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1.dyn
2002-08-06 15:49:26 +05:00
unknown
29c723c8cf New file to generate a html page to review a charset
BitKeeper/etc/ignore:
  Added mysys/charset2html to the ignore list
2002-08-06 15:47:52 +05:00
unknown
40d7341be7 Merge work:/home/bk/mysql-4.1
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1
2002-08-05 10:21:44 +02:00
unknown
1e5e67272c make SEARCH_PREFIX to work with complex (use_strcoll) charsets 2002-08-05 09:41:48 +02:00
unknown
d313a26bb2 Some updates to the logging section.
Docs/manual.texi:
  Worked on the logging section.
  Reworded some sentences
  Fixed a broken table
  Removed extraneous '!'s
  Removed extraneous ','s
  'file name' and 'filename' are used interchangeably but they should be consistent--
  so I changed some 'file name' occurances to 'filename'.
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-08-03 00:54:19 -06:00
unknown
b4a63d5137 Move operation to logically better place 2002-07-31 17:34:27 +05:00
unknown
5d61c21aa9 Some more speedup in charsets handling
sql/init.cc:
  This code is moved to more proper place in mysys/charset.c
2002-07-31 13:25:37 +05:00
unknown
36e7a9d704 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-subselect-4.1
2002-07-31 01:28:35 +03:00
unknown
f0f5a89203 fixed bug reported by Walrus & Miguel in exists subselect
mysql-test/r/subselect.result:
  added test suite of EXISTS clause
mysql-test/t/subselect.test:
  added test suite of EXISTS clause
sql/item_subselect.cc:
  added checking out of memory
  fixed bug in exists subselect
2002-07-31 01:26:51 +03:00
unknown
08047dcccd Removed unused strucure
Some fixes and improvements
2002-07-30 17:12:51 +05:00
unknown
fcaf867bb9 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


include/m_ctype.h:
  Renamed constant
  New fields in CHARSET_INFO
include/my_sys.h:
  Constant have been moved to m_ctype.h
libmysqld/lib_sql.cc:
  Renamed constant
mysys/charset.c:
  Dynamic charsets are now handled in new way to speedup things
mysys/test_charset.c:
  Renamed constant
sql/mysqld.cc:
  Renamed constant
sql/sql_show.cc:
  SHOW CHARACTER SET now displays not only compiled charsets but dynamic charsets too
strings/ctype.c:
  New fields in CHARSET_INFO
2002-07-30 14:02:29 +05:00
unknown
ebdc990b69 move _print_charset to proper place 2002-07-30 11:03:08 +05:00
unknown
8059cfabe0 Rows order has been made more explicit
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-07-29 17:34:20 +05:00
unknown
2ed3a33855 CREATE ... SELECT extension (WL 317)
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-07-20 16:36:56 +02:00
unknown
d4e5d2dd36 Stupid bug has been fixed 2002-07-12 13:12:32 +05:00
unknown
7e13b5fc68 Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1
into ram.(none):/home/ram/work/mysql-4.1.spatial


BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-07-10 12:46:01 +05:00
unknown
7cbdd6de7e cleanup 2002-07-05 08:15:57 +03:00
unknown
abba4bdaa5 server-cfg.sh remove %smds, remove conversation from date to int for mysql,
server-cfg.sh	set bdb as transactional


sql-bench/server-cfg.sh:
  remove %smds, remove conversation from date to int for mysql,
  set bdb as transactional
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2002-07-03 07:17:35 +02:00
unknown
1648e47889 SHOW CREATE DATABASE name;
Small fixes in database default charset code


sql/mysql_priv.h:
  SHOW CREATE DATABASE name;
sql/sql_db.cc:
  SHOW CREATE DATABASE name;
sql/sql_lex.h:
  SHOW CREATE DATABASE name;
sql/sql_parse.cc:
  SHOW CREATE DATABASE name;
sql/sql_yacc.yy:
  SHOW CREATE DATABASE name;
2002-07-02 14:31:54 +05:00
unknown
55f52f4159 Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into gw.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1
2002-07-01 21:18:04 +05:00
unknown
ff5fadb71a typo fixed 2002-07-01 19:13:14 +03:00
unknown
5d2927e4a6 subselect clean up
fix after automerge


sql/item_strfunc.cc:
  fix after automerge
sql/sql_lex.h:
  subselect clean up
sql/sql_select.cc:
  subselect clean up
2002-07-01 19:06:24 +03:00
unknown
b430c47f1c Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into gw.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1
2002-07-01 20:58:45 +05:00
unknown
fd8c758692 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-having-4.1


sql/item_strfunc.h:
  Auto merged
sql/sql_lex.h:
  Auto merged
sql/sql_select.cc:
  Auto merged
sql/sql_yacc.yy:
  Auto merged
2002-07-01 14:17:59 +03:00
unknown
e5b5f45319 subselect in having clause
fixed bug in sum function in subselect


mysql-test/r/subselect.result:
  subselect in having clause
mysql-test/t/subselect.test:
  subselect in having clause
sql/item.cc:
  subselect in having clause
sql/item.h:
  subselect in having clause
sql/item_cmpfunc.cc:
  subselect in having clause
sql/item_cmpfunc.h:
  subselect in having clause
sql/item_func.cc:
  subselect in having clause
sql/item_func.h:
  subselect in having clause
sql/item_strfunc.h:
  subselect in having clause
sql/item_subselect.cc:
  subselect in having clause
sql/item_subselect.h:
  subselect in having clause
sql/item_uniq.h:
  subselect in having clause
sql/sql_base.cc:
  subselect in having clause
sql/sql_class.cc:
  subselect in having clause
sql/sql_class.h:
  subselect in having clause
sql/sql_handler.cc:
  subselect in having clause
sql/sql_lex.cc:
  subselect in having clause
sql/sql_lex.h:
  subselect in having clause
sql/sql_prepare.cc:
  subselect in having clause
sql/sql_yacc.yy:
  subselect in having clause
2002-07-01 14:14:51 +03:00
unknown
0a47ee155b Added test for new charset features 2002-06-27 19:36:18 +05:00
unknown
96d34f547b Fix 2002-06-27 19:00:49 +05:00
unknown
e6a32a67ba Now database default character is changed during ALTER DATABASE
if the current db is being altered
2002-06-27 15:21:52 +05:00
unknown
fce8822611 ALTER DATABASE DEFAULT CHARACTER SET latin1; 2002-06-27 14:41:02 +05:00
unknown
0d354e47ff SELECT DISTINCT CONVERT(field USING charset) now works properly 2002-06-26 18:08:33 +05:00
unknown
328d6f42fc This now correctly substitutes charset to new table:
CREATE TABLE a SELECT strfunc(non_default_charset_expr)
2002-06-26 16:41:51 +05:00
unknown
1ff701ee0c Several problems were fixed (mostly BLOB+charset related)
Fixed that MyISAM were not working properly with non-8bit charsets in some cases
CONVERT() function now works properly


myisam/mi_unique.c:
  Fix for non-8bit charsets
sql/field.cc:
  Initialize blobs with charset
sql/field.h:
  Initialize blobs with charset
sql/field_conv.cc:
  Initialize blobs with charset
sql/item_strfunc.cc:
  CONVERT() function now has working fix_lenght_and_dec(), and it's own 
  fix_fields()
sql/item_strfunc.h:
  CONVERT() function now has working fix_lenght_and_dec(), and it's own 
  fix_fields()
sql/sql_select.cc:
  Fixes for BLOBs
  Fixed that wrong charset was used in some cases
2002-06-26 16:00:43 +05:00
unknown
969919146e Database default charset now works:
CREATE DATABASE dbname DEFAULT CHARACTERSET=latin1


sql/sql_class.cc:
  Database default charset
sql/sql_class.h:
  Database default charset
sql/sql_db.cc:
  Database default charset
sql/sql_table.cc:
  Database default charset
BitKeeper/etc/ignore:
  Added tests/client_test to the ignore list
2002-06-24 21:50:08 +05:00
unknown
000828e011 database default character set is now stored in database directory 2002-06-21 16:55:55 +05:00
unknown
17b4e3ed96 Fixed charset problem on UPDATE in non-default-charset field 2002-06-21 14:46:50 +05:00
unknown
f7322a3cbd New CHARSET() function 2002-06-20 23:26:04 +05:00
unknown
2583ecd642 SELECT left(non_default_charset_field,n) GROUP BY 1
now works more correctly. Still needs fixes.
2002-06-20 22:52:56 +05:00
unknown
2753972c39 New syntax for string with charset: _latin1'string'
Remove dupicated code


sql/sql_lex.cc:
  new UNDERSCORE_CHARSET language item
2002-06-20 18:47:55 +05:00
unknown
97b919485a Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into gw.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1


sql/sql_yacc.yy:
  Auto merged
2002-06-20 14:13:13 +05:00
unknown
78c4d8390a Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/work-select_lex-4.1


sql/sql_yacc.yy:
  Auto merged
2002-06-19 20:05:50 +03:00
unknown
83dfb9f885 Now it is possible to drop default charset from table:
ALTER TABLE a CHARSET=DEFAULT
2002-06-19 21:48:34 +05:00
unknown
e38f8e8ce2 Default table character set has been added:
CREATE TABLE a (field,...) TYPE=type CHARSET=cset;


sql/handler.h:
  New flag to remember whether new table default charset 
  has been passed in ALTER TABLE
sql/lex.h:
  New language symbol
sql/sql_show.cc:
  Display default table charset if exists
sql/sql_table.cc:
  Check table charset before default server charset
sql/sql_yacc.yy:
  New create table option: default table character set
sql/table.cc:
  Table charset
sql/unireg.cc:
  field->charset must be initialized before. So assumes it is not NULL
2002-06-19 21:21:30 +05:00
unknown
6e04a0c885 merged
sql/sql_class.cc:
  Auto merged
sql/sql_class.h:
  Auto merged
2002-06-19 17:55:51 +03:00
unknown
c6a2ae17a0 EXISTS type of subselect
more correct parameters in result creation script


mysql-test/create-test-result:
  more correct parameters in result creation script
mysql-test/r/subselect.result:
  test of EXISTS
mysql-test/t/subselect.test:
  test of EXISTS
sql/item_subselect.cc:
  EXISTS type of subselect
sql/item_subselect.h:
  EXISTS type of subselect
sql/sql_class.cc:
  EXISTS type of subselect
sql/sql_class.h:
  EXISTS type of subselect
sql/sql_yacc.yy:
  EXISTS type of subselect
2002-06-19 17:52:44 +03:00