Commit graph

3331 commits

Author SHA1 Message Date
unknown
ad494a211c item_strfunc.cc:
Fix for possible bug when string length is more than 64K


sql/item_strfunc.cc:
  Fix for possible bug when string length is more than 64K
2002-03-29 20:27:53 +04:00
unknown
f7eb69d6ab EUC-JP conversion routines 2002-03-29 20:23:29 +04:00
unknown
b68daf5c83 Big5 conversion routines
include/m_ctype.h:
  Add conversion routines prototypes
sql/init.cc:
  Fix for small bug
2002-03-29 19:54:21 +04:00
unknown
4206cf1289 add sql_derived.cc into compilation 2002-03-29 19:27:21 +04:00
unknown
19bc62c865 Now this syntax works too: CONVERT(string,charset_to,charset_from)
where charset_to and charset_from are expressions. For example:

CONVERT('test','latin2','cp1250')


sql/item_strfunc.cc:
  Now this syntax works too:  CONVERT(string,charset_to,charset_from)
sql/item_strfunc.h:
  Now this syntax works too:  CONVERT(string,charset_to,charset_from)
sql/sql_yacc.yy:
  Now this syntax works too:  CONVERT(string,charset_to,charset_from)
2002-03-29 19:11:06 +04:00
unknown
f29e7f5726 Charset convertion operator CONVERT( string USING charset) 2002-03-29 18:22:21 +04:00
unknown
4fd893e5d3 charset<->unicode conversion tables and routines
some warnings fixes


include/m_ctype.h:
  New charset conversion fields in CHARSET_INFO
mysys/hash.c:
  Fix for "unused argument" warning
strings/ctype-big5.c:
  Fix for "unused argument" warning
strings/ctype-czech.c:
  Fix for "unused argument" warning
strings/ctype-euc_kr.c:
  Fix for "unused argument" warning
strings/ctype-gb2312.c:
  Fix for "unused argument" warning
strings/ctype-gbk.c:
  Fix for "unused argument" warning
strings/ctype-latin1_de.c:
  Fix for "unused argument" warning
strings/ctype-simple.c:
  8bit<->unicode convertion routines
strings/ctype-sjis.c:
  Fix for "unused argument" warning
strings/ctype-tis620.c:
  Fix for "unused argument" warning
strings/ctype-ujis.c:
  Fix for "unused argument" warning
strings/ctype-utf8.c:
  Fix for "unused argument" warning
strings/ctype.c:
  8bit <-> unicode conversion tables
2002-03-29 16:06:06 +04:00
unknown
48f993484a Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into gw.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1
2002-03-28 19:26:02 +04:00
unknown
437b0b0e87 New UTF8 charset
strings/ctype-big5.c:
  New format for mb char functions
strings/ctype-euc_kr.c:
  New format for mb char functions
strings/ctype-gb2312.c:
  New format for mb char functions
strings/ctype-gbk.c:
  New format for mb char functions
strings/ctype-sjis.c:
  New format for mb char functions
strings/ctype-ujis.c:
  New format for mb char functions
2002-03-28 17:31:46 +04:00
unknown
c6cb79baa9 manual.texi just a test
Docs/manual.texi:
  just a test
2002-03-27 17:03:50 +02:00
unknown
cf3858e478 manual.texi test.
Docs/manual.texi:
  test.
2002-03-27 16:57:24 +02:00
unknown
a84fb9476a 2002-03-26 17:44:18 +02:00
unknown
a84488d2cd manual.texi bk commit
Docs/manual.texi:
  bk commit
2002-03-26 17:20:02 +02:00
unknown
dae6e2c67b Doing what I hate to.
Adding entries into the Changelog
2002-03-26 16:53:18 +02:00
unknown
2ec108107d Derived tables !
mysql-test/r/union.result:
  small bug fixes in unions
BitKeeper/etc/ignore:
  Added Docs/manual.texi.orig Docs/manual.texi.rej to the ignore list
mysql-test/t/union.test:
  test for a bug fix in union's
sql/sql_union.cc:
  bug fix for unions
2002-03-26 15:06:05 +02:00
unknown
c9ba7c5f21 making rpl000001 working
BUILD/compile-pentium-debug:
  static linking
2002-03-23 21:00:58 +02:00
unknown
0d835dc3e5 correction test suite to be correct with spatial indexes hack
mysql-test/r/myisam.result:
  prevent determination this index as spatial (due to spatial index determination hack (first dig 'S'))
mysql-test/t/myisam.test:
  prevent determination this index as spatial (due to spatial index determination hack (first dig 'S'))
2002-03-23 10:04:42 +02:00
unknown
d96a17ffd1 index name can't be used as key name without space character 2002-03-22 16:25:22 +04:00
unknown
ac44fe1f12 filesort.cc:
Fixed that i mixed Field and Item in some cases


sql/filesort.cc:
  Fixed that i mixed Field and Item in some cases
2002-03-22 16:06:14 +04:00
unknown
9f09ae660b Added new method to set string's charset
sql/item_cmpfunc.cc:
  Fix for IN, when String->charset is empty
2002-03-20 20:52:23 +04:00
unknown
bbde41e9f7 Fix for crash in the case of non-string fields 2002-03-20 17:33:10 +04:00
unknown
474e64081b Fixed that selected default charset was not compiled in some cases 2002-03-20 16:53:43 +04:00
unknown
1fd84d3477 Configure.in/Makefile.in charset related things are now earier to maintain
Fixes in charset related C++ code


configure.in:
  Make things to be easier managable
include/m_ctype.h:
  Hide some functions under conditional compilation
libmysql/Makefile.shared:
  Make things to be easier managable
sql/item_func.cc:
  Fixed that private member is not available in this context
sql/item_strfunc.cc:
  Fixed that private member is not available in this context
strings/Makefile.am:
  Make charset things to be easier managable
  Some fixes in charset C++ code
strings/ctype-big5.c:
  Hide some functions under conditional compilation
strings/ctype-czech.c:
  Hide some functions under conditional compilation
strings/ctype-euc_kr.c:
  Hide some functions under conditional compilation
strings/ctype-gb2312.c:
  Hide some functions under conditional compilation
strings/ctype-gbk.c:
  Hide some functions under conditional compilation
strings/ctype-latin1_de.c:
  Hide some functions under conditional compilation
strings/ctype-mb.c:
  Hide some functions under conditional compilation
strings/ctype-sjis.c:
  Hide some functions under conditional compilation
strings/ctype-tis620.c:
  Hide some functions under conditional compilation
strings/ctype-ujis.c:
  Hide some functions under conditional compilation
2002-03-19 20:03:10 +04:00
unknown
af87d92aa2 Some changes from 4.0.
Take a look their for details
2002-03-19 14:23:11 +02:00
unknown
8e1ab145b3 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1


sql/sql_base.cc:
  Auto merged
sql/sql_select.cc:
  Auto merged
2002-03-15 14:21:43 +02:00
unknown
53bd33c676 making full-text working with UNION's 2002-03-15 14:21:06 +02:00
unknown
1b7471a431 remove default_charset_info
sql/field.h:
  New function to get charset
2002-03-14 23:03:15 +04:00
unknown
9a0253ffb2 Removed some default_charset_info 2002-03-14 22:10:56 +04:00
unknown
8959b690fe Hash now supports several charsets 2002-03-14 21:44:42 +04:00
unknown
ee1ef8c58c use String->charset instead of default_charset_info
client/mysql.cc:
  default_charset_info -> system_charset_info
include/m_ctype.h:
  Remove old ctype
mysys/charset.c:
  Initialize fields after dynamic charset loading
sql/sql_parse.cc:
  default_charset_info -> system_charset_info
2002-03-14 20:52:48 +04:00
unknown
68375e0f00 New ctype functions/macros to support many charsets at a time
client/mysql.cc:
  new ctypes
client/mysqldump.c:
  new ctypes
client/mysqltest.c:
  new ctypes
client/sql_string.cc:
  new ctypes
client/sql_string.h:
  new ctypes
extra/mysql_install.c:
  new ctypes
extra/replace.c:
  new ctypes
extra/resolve_stack_dump.c:
  new ctypes
extra/resolveip.c:
  new ctypes
heap/hp_hash.c:
  new ctypes
include/m_ctype.h:
  new ctypes
include/my_sys.h:
  new ctypes
isam/_key.c:
  new ctypes
isam/_search.c:
  new ctypes
libmysql/Makefile.shared:
  new ctypes
libmysql/libmysql.c:
  new ctypes
myisam/ft_dump.c:
  new ctypes
myisam/ft_parser.c:
  new ctypes
myisam/mi_test1.c:
  new ctypes
mysys/charset.c:
  new ctypes
mysys/default.c:
  new ctypes
mysys/getvar.c:
  new ctypes
mysys/hash.c:
  new ctypes
mysys/mf_casecnv.c:
  new ctypes
mysys/mf_dirname.c:
  new ctypes
mysys/mf_format.c:
  new ctypes
mysys/mf_iocache2.c:
  new ctypes
mysys/mf_soundex.c:
  new ctypes
mysys/mf_wfile.c:
  new ctypes
mysys/my_error.c:
  new ctypes
mysys/my_getwd.c:
  new ctypes
mysys/my_init.c:
  new ctypes
mysys/my_vsnprintf.c:
  new ctypes
mysys/typelib.c:
  new ctypes
sql/convert.cc:
  new ctypes
sql/des_key_file.cc:
  new ctypes
sql/field.cc:
  new ctypes
sql/field.h:
  new ctypes
sql/field_conv.cc:
  new ctypes
sql/filesort.cc:
  new ctypes
sql/ha_innodb.cc:
  new ctypes
sql/hostname.cc:
  new ctypes
sql/init.cc:
  new ctypes
sql/item.cc:
  new ctypes
sql/item_func.cc:
  new ctypes
sql/item_strfunc.cc:
  new ctypes
sql/item_sum.cc:
  new ctypes
sql/item_timefunc.cc:
  new ctypes
sql/key.cc:
  new ctypes
sql/log.cc:
  new ctypes
sql/mysql_priv.h:
  new ctypes
sql/mysqld.cc:
  new ctypes
sql/opt_range.cc:
  new ctypes
sql/procedure.cc:
  new ctypes
sql/slave.cc:
  new ctypes
sql/sql_acl.cc:
  new ctypes
sql/sql_analyse.cc:
  new ctypes
sql/sql_base.cc:
  new ctypes
sql/sql_cache.cc:
  new ctypes
sql/sql_db.cc:
  new ctypes
sql/sql_handler.cc:
  new ctypes
sql/sql_lex.cc:
  new ctypes
sql/sql_parse.cc:
  new ctypes
sql/sql_show.cc:
  new ctypes
sql/sql_string.cc:
  new ctypes
sql/sql_string.h:
  new ctypes
sql/sql_table.cc:
  new ctypes
sql/sql_yacc.yy:
  new ctypes
sql/table.cc:
  new ctypes
sql/time.cc:
  new ctypes
strings/Makefile.am:
  new ctypes
strings/ctype-big5.c:
  new ctypes
strings/ctype-czech.c:
  new ctypes
strings/ctype-gbk.c:
  new ctypes
strings/ctype-latin1_de.c:
  new ctypes
strings/ctype-sjis.c:
  new ctypes
strings/ctype-tis620.c:
  new ctypes
strings/ctype.c:
  new ctypes
strings/str2int.c:
  new ctypes
strings/strto.c:
  new ctypes
tools/mysqlmanager.c:
  new ctypes
2002-03-12 21:37:58 +04:00
unknown
003b294967 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1
2002-03-09 14:22:41 +02:00
unknown
c10827ba04 Take a look at comments in 4.0 2002-03-09 14:21:34 +02:00
unknown
591a8bdcd0 Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into gw.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1
2002-03-07 17:09:08 +04:00
unknown
9a072af95a New fiedls in CHARSET_INFO strucutre
include/m_ctype.h:
  Adding new functions into CHARSET_INFO structure
strings/ctype.c:
  Temporary fill these new fields with NULL
2002-03-07 17:05:44 +04:00
unknown
bb22c94698 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1
2002-03-07 14:20:07 +02:00
unknown
6265e94c35 Same patches as for 4.0. See there for details 2002-03-07 14:19:18 +02:00
unknown
220eeadc3d Extend String class with CHARSET_INFO field 2002-03-07 15:23:24 +04:00
unknown
654db69b82 Regex library is switched to use new ctype tools
to allow usage of many character sets at a time.


include/m_ctype.h:
  Added condition to simplify migrating from old ctype
  Added new style toupper, tolower which accepts charset in first argument
regex/debug.c:
  Added charset argument
regex/debug.ih:
  added charset argument
regex/engine.c:
  added charset argument
regex/engine.ih:
  added charset arguent
regex/main.c:
  added charset argument
regex/regcomp.c:
  added CHARSET_INFO field
regex/regcomp.ih:
  Added charset argument
regex/regex.h:
  Added #include <m_ctype.h> for CHARSET_INFO
  Added charset argument for regcomp()
regex/regex2.h:
  New charset argument for ISWORD()
regex/regexec.c:
  New charset argument
regex/reginit.c:
  Move to new style ctype. 
  However still needs fixes:
    instead of single static cclass variable,
    each charset must have it's own variable.
sql/item_cmpfunc.cc:
  Pass charset field into regcomp()
  This will be fixed tommorow to use String->charset
    instead of default_charset_info
2002-03-06 20:04:13 +04:00
unknown
325c22a784 Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into gw.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1
2002-03-06 17:47:50 +04:00
unknown
0cc0dbc1ed Charsets related things are prepared by configure in new way.
This is to simplify maintaining charsets, especially changing
CHARSET_INFO structure.


acconfig.h:
  New defines for charsets
configure.in:
  New way to build charsets
include/m_ctype.h:
  Prototypes, moved from ctype_autoconf.c
libmysql/Makefile.shared:
  Removed ctype_autoconf.c and ctype_extra_sources.c from target dependancies
strings/Makefile.am:
  The same with above
strings/conf_to_src.c:
  Remove unnecessary comment
strings/ctype-czech.c:
   Fix for possible bugs that prototypes was not included
strings/ctype-euc_kr.c:
   Fix for possible bugs that prototypes was not included
strings/ctype-gb2312.c:
   Fix for possible bugs that prototypes was not included
strings/ctype-ujis.c:
   Fix for possible bugs that prototypes was not included
strings/ctype.c:
  Move tables from ctype_extra_sources.c and hide them under #ifdefs
2002-03-06 17:44:43 +04:00
unknown
336fcc224e small bug fix, read more about it in 4.0 2002-03-06 14:56:54 +02:00
unknown
1a7c7d763c Fixes done in 4.0 repository. For comments see the corresponding ones
in 4.0.
2002-03-05 16:12:11 +02:00
unknown
c66afc4d7c New armscii8 charset
configure.in:
  Added armscii8
sql/share/charsets/Index:
  A
2002-03-04 15:31:22 +04:00
unknown
f36c72c633 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1


sql/sql_yacc.yy:
  Auto merged
2002-03-01 14:13:13 +02:00
unknown
f739974c5e Porting from mysql-4.0.
Read comments there if you are interested ..


BitKeeper/etc/ignore:
  Added sql/sql_yacc.yy.orig to the ignore list
2002-02-28 22:01:41 +02:00
unknown
04f02d3e0c Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into gw.udmsearch.izhnet.ru:/usr/home/bar/mysql-4.1
2002-02-28 17:29:41 +04:00
unknown
94958d062b Several new OpenGIS functions
Fixes in GeomFromText() to accept an new optional
   argument respobsible for SRID. This is for more
   OpenGIS conformance and PostGIS compatibility
   to simplify migrating from PgSQL to MySQL


sql/gen_lex_hash.cc:
  Changed max_allowed_array
sql/lex.h:
  Added several symbols for new OpenGIS SQL functions
sql/sql_yacc.yy:
  new OpenGIS functions (spatial constructors)
2002-02-28 17:28:36 +04:00
unknown
ba288f41ed Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1
2002-02-28 14:07:58 +02:00
unknown
143a179f3c Porting surgical changes from 4.0 to 4.1 2002-02-28 14:05:47 +02:00