mariadb/mysys
unknown 53df09a9a6 Bug#28875 Conversion between ASCII and LATIN1 charsets does not function
(Regression, caused by a patch for the bug 22646).
Problem: when result type of date_format() was changed from
binary string to character string, mixing date_format()
with a ascii column in CONCAT() stopped to work.
Fix:
- adding "repertoire" flag into DTCollation class,
to mark items which can return only pure ASCII strings.
- allow character set conversion from pure ASCII to other character sets.


include/m_ctype.h:
  Defining new flags.
  Adding new function prototypes.
mysql-test/r/ctype_ucs.result:
  Adding tests.
mysql-test/r/ctype_utf8.result:
  Adding tests.
mysql-test/r/func_time.result:
  Adding tests.
mysql-test/t/ctype_ucs.test:
  Adding tests.
mysql-test/t/ctype_utf8.test:
  Adding tests.
mysql-test/t/func_time.test:
  Adding test.
mysys/charset.c:
  Adding pure ASCII detection when loading a dynamic character set.
sql/item.cc:
  - Moving detection of a Unicode superset into function.
  - Adding detection of a ASCII subset.
  - Adding creation of to-ASCII character set convertor when
    safe_charset_converter() failed and when the argument.
    repertoire is know to be pure ASCII.
sql/item.h:
  - Adding "repertoire" member into DTCollation class.
  - Adding "repertoire" argument to constructors.
  - Adding new methods:
    set_repertoire_from_charset()
    set_repertoire_from_value()
sql/item_func.cc:
  Adding "repertoire" argument.
sql/item_strfunc.cc:
  Adding "repertoire" argument.
sql/item_timefunc.cc:
  Initializing the result repertoire taking into account the "is_ascii"
  flag of the current locale.
sql/sql_lex.cc:
  Detect 7bit strings, return in Lex->text_string_is_7bit.
sql/sql_lex.h:
  Adding new member into LEX structure.
  Adding new member into Lex_input_stream
sql/sql_string.cc:
  Allow simple copy from pure ASCII to a ASCII-based character set.
sql/sql_yacc.yy:
  Depening on Lex->text_string_is_7bit and character set features,
  create Item_string with MY_REPERTOIRE_ASCII when it is possible.
strings/conf_to_src.c:
  - Adding printing of the "MY_CS_PUREASCII" flag
  - Adding printing of copyright
strings/ctype-extra.c:
  Recreating ctype-extra.c: ascii_general_ci and ascii_bin
  are now marked with MY_CS_PUREASCII flag.
strings/ctype.c:
  Adding new functions.
2007-08-03 15:25:23 +05:00
..
.cvsignore
array.c Bug#23736 Pointer free error in mysqlbinlog 2007-03-20 10:34:25 -04:00
base64.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
ChangeLog Fix skipp -> skip once and for all. 2004-06-03 11:52:54 -05:00
charset-def.c Bug#28916 LDML doesn't work for utf8 2007-06-07 17:55:55 +05:00
charset.c Bug#28875 Conversion between ASCII and LATIN1 charsets does not function 2007-08-03 15:25:23 +05:00
checksum.c Many files: 2006-12-23 20:17:15 +01:00
CMakeLists.txt Makefile.am: 2007-03-22 16:53:37 +01:00
default.c Bug : mysqld_multi --config-file= not working as documented 2007-04-28 01:27:54 +02:00
default_modify.c Many files: 2006-12-23 20:17:15 +01:00
errors.c Many files: 2006-12-23 20:17:15 +01:00
hash.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
list.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
make-ccc
make-conf.c Many files: 2006-12-23 20:17:15 +01:00
Makefile.am Makefile.am, CMakeLists.txt: 2007-03-12 14:52:37 +01:00
md5.c Many files: 2006-12-23 20:17:15 +01:00
mf_brkhant.c Many files: 2006-12-23 20:17:15 +01:00
mf_cache.c Many files: 2006-12-23 20:17:15 +01:00
mf_dirname.c Many files: 2006-12-23 20:17:15 +01:00
mf_fn_ext.c Many files: 2006-12-23 20:17:15 +01:00
mf_format.c Many files: 2006-12-23 20:17:15 +01:00
mf_getdate.c Many files: 2006-12-23 20:17:15 +01:00
mf_iocache.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
mf_iocache2.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
mf_keycache.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
mf_keycaches.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
mf_loadpath.c Many files: 2006-12-23 20:17:15 +01:00
mf_pack.c Many files: 2006-12-23 20:17:15 +01:00
mf_path.c Many files: 2006-12-23 20:17:15 +01:00
mf_qsort.c Many files: 2006-12-23 20:17:15 +01:00
mf_qsort2.c Many files: 2006-12-23 20:17:15 +01:00
mf_radix.c Many files: 2006-12-23 20:17:15 +01:00
mf_same.c Many files: 2006-12-23 20:17:15 +01:00
mf_sort.c Many files: 2006-12-23 20:17:15 +01:00
mf_soundex.c Many files: 2006-12-23 20:17:15 +01:00
mf_strip.c Many files: 2006-12-23 20:17:15 +01:00
mf_tempdir.c Bug#23736 Pointer free error in mysqlbinlog 2007-03-20 10:34:25 -04:00
mf_tempfile.c Bug#26233 very suspect code in mf_tempfile.c, in function create_temp_file() 2007-03-23 11:01:47 +01:00
mf_unixpath.c Many files: 2006-12-23 20:17:15 +01:00
mf_util.c Many files: 2006-12-23 20:17:15 +01:00
mf_wcomp.c Many files: 2006-12-23 20:17:15 +01:00
mf_wfile.c Many files: 2006-12-23 20:17:15 +01:00
mulalloc.c Many files: 2006-12-23 20:17:15 +01:00
my_access.c Many files: 2006-12-23 20:17:15 +01:00
my_aes.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_alarm.c Many files: 2006-12-23 20:17:15 +01:00
my_alloc.c Bug failure to allocate transaction_prealloc_size causes crash 2007-04-12 18:03:26 -04:00
my_append.c Many files: 2006-12-23 20:17:15 +01:00
my_bit.c Many files: 2006-12-23 20:17:15 +01:00
my_bitmap.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
my_chsize.c Many files: 2006-12-23 20:17:15 +01:00
my_clock.c Many files: 2006-12-23 20:17:15 +01:00
my_compress.c Many files: 2006-12-23 20:17:15 +01:00
my_conio.c Many files: 2006-12-23 20:17:15 +01:00
my_copy.c Bug Table is partially created when disk is full, causing database corruption 2007-04-19 13:41:12 -04:00
my_crc32.c Many files: 2006-12-23 20:17:15 +01:00
my_create.c Many files: 2006-12-23 20:17:15 +01:00
my_delete.c Many files: 2006-12-23 20:17:15 +01:00
my_div.c Many files: 2006-12-23 20:17:15 +01:00
my_dup.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_error.c Many files: 2006-12-23 20:17:15 +01:00
my_file.c Many files: 2006-12-23 20:17:15 +01:00
my_fopen.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_fstream.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_gethostbyname.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_gethwaddr.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_getopt.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
my_getpagesize.c Many files: 2006-12-23 20:17:15 +01:00
my_getsystime.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_getwd.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_handler.c Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
my_init.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
my_largepage.c Many files: 2006-12-23 20:17:15 +01:00
my_lib.c Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
my_libwrap.c Many files: 2006-12-23 20:17:15 +01:00
my_lock.c Many files: 2006-12-23 20:17:15 +01:00
my_lockmem.c Many files: 2006-12-23 20:17:15 +01:00
my_lread.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_lwrite.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_malloc.c Fix for bug "Memory allocation failures ignored by slave IO thread". 2007-03-26 13:31:23 +04:00
my_memmem.c my_memmem.c: 2007-04-11 01:47:42 +02:00
my_messnc.c Many files: 2006-12-23 20:17:15 +01:00
my_mkdir.c Many files: 2006-12-23 20:17:15 +01:00
my_mmap.c Many files: 2006-12-23 20:17:15 +01:00
my_net.c Many files: 2006-12-23 20:17:15 +01:00
my_netware.c Many files: 2006-12-23 20:17:15 +01:00
my_new.cc Many files: 2006-12-23 20:17:15 +01:00
my_once.c Many files: 2006-12-23 20:17:15 +01:00
my_open.c Bug#25222 Win32 HANDLE leak in my_sopen() 2007-03-07 10:46:38 -05:00
my_os2cond.c Many files: 2006-12-23 20:17:15 +01:00
my_os2dirsrch.c Many files: 2006-12-23 20:17:15 +01:00
my_os2dirsrch.h Many files: 2006-12-23 20:17:15 +01:00
my_os2dlfcn.c Many files: 2006-12-23 20:17:15 +01:00
my_os2dlfcn.h0 Many files: 2006-12-23 20:17:15 +01:00
my_os2file64.c Many files: 2006-12-23 20:17:15 +01:00
my_os2mutex.c Fixes for Netware 2003-01-28 08:38:28 +02:00
my_os2thread.c Many files: 2006-12-23 20:17:15 +01:00
my_os2tls.c Many files: 2006-12-23 20:17:15 +01:00
my_port.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_pread.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_pthread.c Fix a linkage problem with the previous patch for "thr_client_alarm". 2007-02-12 20:13:34 +01:00
my_quick.c Many files: 2006-12-23 20:17:15 +01:00
my_read.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_realloc.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_redel.c BUG#25521 - optimize table, delete, show table status leads to table 2007-03-28 21:09:16 +05:00
my_rename.c Many files: 2006-12-23 20:17:15 +01:00
my_seek.c Merge mysql.com:/home/svoj/devel/mysql/BUG25712/mysql-4.1-engines 2007-05-17 15:27:56 +05:00
my_sleep.c Many files: 2006-12-23 20:17:15 +01:00
my_static.c Fixes for 4.1 to be as in 5.0 and above. 2007-03-27 18:51:02 +03:00
my_static.h Bug#26233 very suspect code in mf_tempfile.c, in function create_temp_file() 2007-03-23 11:01:47 +01:00
my_symlink.c Many files: 2006-12-23 20:17:15 +01:00
my_symlink2.c Many files: 2006-12-23 20:17:15 +01:00
my_sync.c Many files: 2006-12-23 20:17:15 +01:00
my_thr_init.c Avoid compiler warnings. 2007-04-20 13:49:06 -04:00
my_wincond.c Bug#25042 OPTIMIZE TABLE cause race condition in IO CACHE SHARE 2007-02-15 14:08:21 +01:00
my_windac.c Many files: 2006-12-23 20:17:15 +01:00
my_winthread.c Many files: 2006-12-23 20:17:15 +01:00
my_write.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
mysys_priv.h Many files: 2006-12-23 20:17:15 +01:00
ptr_cmp.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
queues.c Many files: 2006-12-23 20:17:15 +01:00
raid.cc Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
raid2.c Many files: 2006-12-23 20:17:15 +01:00
rijndael.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
safemalloc.c Fix for bug "Memory allocation failures ignored by slave IO thread". 2007-03-26 13:31:23 +04:00
sha1.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
string.c Merge recycle.(none):/src/bug22807/my50-bug22807 2007-01-19 13:20:52 -05:00
test_charset.c Many files: 2006-12-23 20:17:15 +01:00
test_dir.c Many files: 2006-12-23 20:17:15 +01:00
test_fn.c Many files: 2006-12-23 20:17:15 +01:00
test_xml.c Many files: 2006-12-23 20:17:15 +01:00
testhash.c Many files: 2006-12-23 20:17:15 +01:00
thr_alarm.c Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1 2007-03-23 20:39:34 +02:00
thr_lock.c Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
thr_mutex.c Many files: 2006-12-23 20:17:15 +01:00
thr_rwlock.c Many files: 2006-12-23 20:17:15 +01:00
tree.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
typelib.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00