summaryrefslogtreecommitdiff
path: root/strings
Commit message (Collapse)AuthorAgeFilesLines
* Merge bk-internal.mysql.com:/home/bk/mysql-5.1-newcmiller@zippy.(none)2006-05-021-1/+12
|\ | | | | | | into zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug17667
| * Merge zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667cmiller@zippy.(none)2006-05-021-1/+12
| |\ | | | | | | | | | into zippy.(none):/home/cmiller/work/mysql/mysql-5.1-new__bug17667
| | * An update to as-yet unused new feature of snprintf, which was added to bring cmiller@zippy.(none)2006-05-021-1/+5
| | | | | | | | | | | | our sprintf()-alike in sync with our fprintf()-alike features.
| | * Merge bk-internal.mysql.com:/home/bk/mysql-5.0cmiller@zippy.(none)2006-05-011-1/+8
| | |\ | | | | | | | | | | | | into zippy.(none):/home/cmiller/work/mysql/mysql-5.0__bug17667
| | | * SECURITY FIXcmiller@zippy.(none)2006-05-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug#17667: An attacker has the opportunity to bypass query logging. This adds a new, local-only printf format specifier to our *printf functions that allows us to print known-size buffers that must not be interpreted as NUL-terminated "strings." It uses this format-specifier to print to the log, thus fixing this problem.
| | * | ctype-extra.c:bar@mysql.com2006-04-061-0/+244
| | | | | | | | | | | | | | | | Using local.
| | * | Merge mysql.com:/usr/home/bar/mysql-4.1bar@mysql.com2006-04-061-244/+0
| | |\ \ | | | | | | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.0
| | | * | conf_to_src.c:bar@mysql.com2006-04-062-55/+594
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backporting a 5.0 change: MAX_BUF was too small for Index.xml Changeing MAX_BUF and adding assert to easier catch the same problem in the future. ctype-extra.c: Regenerating ctype-extra.c with the fixed conf_to_src.
* | | | | Fix spelling in comments as requested by Oskuelliot@mysql.com2006-05-021-2/+2
|/ / / / | | | | | | | | | | | | This will make charset code easier to understand
* | | | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-newbar@mysql.com2006-04-191-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.1-new.b17870v1
| * | | | bug#17870 Table names conflict with Windows device namesbar@mysql.com2006-04-111-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was impossible to create some table names on Windows (e.g. LPT1, AUX, COM1, etc). Fixed to pad dangerous names with thee "at" signs (e.g. LPT1@@@, AUX@@@, COM1@@@, and so on).
* | | | | Merge mysql.com:/usr/home/bar/mysql-5.1-newbar@mysql.com2006-04-111-0/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.1-new.b18285
| * | | | | Bug#18285: ExtractValue not returning character data within <![CDATA[]]> as ↵bar@mysql.com2006-04-071-0/+22
| |/ / / / | | | | | | | | | | | | | | | expected
* | | | | Bug#16233: XML: ExtractValue() fails with special charactersbar@mysql.com2006-04-111-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ExtractValue didn't understand tag and attribute names consisting of "tricky" national letters (e.g. latin accenter letters). It happened because XPath lex parser recognized only basic latin letter a..z ad a part of an identifier. Fixed to recognize all letters by means of new "full ctype" which was added recently.
* | | | Merge mysql.com:/usr/home/bar/mysql-5.0bar@mysql.com2006-04-052-1/+68
|\ \ \ \ | |/ / / | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.1-new
| * | | conf_to_src.c:bar@mysql.com2006-04-052-1/+556
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buffer was too small to load Index.xml. So some charsets were not gerenrated. Making the buffer bigger, and adding an DBUG_ASSERT, to easier catch the problem in the future. ctype-extra.c: Additional charsets were generated.
* | | | ctype-extra.c:bar@mysql.com2006-04-051-0/+702
| | | | | | | | | | | | | | | | | | | | | | | | Recreating ctype-extra.c with additional 5.1 charset, and with additional missing 5.0 charset due to bug with too small buffer MAX_BUF.
* | | | Merge mysql.com:/usr/home/bar/mysql-5.0bar@mysql.com2006-04-052-45/+7922
|\ \ \ \ | |/ / / | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.1-new
| * | | After merge fix for Bug#12076 --with-extra-charsets has no effectbar@mysql.com2006-04-042-55/+287
| | | |
| * | | Merge mysql.com:/usr/home/bar/mysql-4.1.12076bar@mysql.com2006-04-031-44/+7689
| |\ \ \ | | |/ / | | | / | | |/ | |/| into mysql.com:/usr/home/bar/mysql-5.0
| | * Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1bar@mysql.com2006-04-031-40/+7689
| | |\ | | | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-4.1.12076
| | | * latin1.xml:bar@mysql.com2005-11-071-40/+7689
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing latin1 to cp1252, according to recent changes in ctype-latin1.c. Index.xml: Marking latin1_swedish_ci as "compiled" to avoid its generating into ctype-extra.c. ctype-extra.c: Bug#12076 --with-extra-charsets has no effect All supported dnamic charsets were generated from sql/share/charsets/*.xml under #ifdefs. Compiling is to be activated from "configure" by adding --with-extra-charsets. I'm not including auto-recreating of ctype-extra.c into build process for ease purposes.
| | * | Cleanup during review of new pushed codemonty@mysql.com2006-03-301-2/+2
| | | |
| | * | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1bar@mysql.com2006-03-2313-51/+51
| | |\ \ | | | | | | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-4.1.b15376
* | | | | Add embedded server build to the CMake build files.knielsen@mysql.com2006-04-031-1/+2
| | | | |
* | | | | Manual merge.knielsen@mysql.com2006-03-281-1/+1
|\ \ \ \ \
| * | | | | Some changes to make it possible to build for Windows with CMake fromknielsen@mysql.com2006-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | a normal 'make dist' source .tar.gz.
* | | | | | ctype-utf8.c, ctype-simple.c:bar@mysql.com2006-03-232-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Forgot to include into the previous changeset.
* | | | | | Merge mysql.com:/usr/home/bar/mysql-5.0bar@mysql.com2006-03-2314-64/+64
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.1-new
| * | | | | Bug#15376: Unassigned multibyte codes are converted to U+0000bar@mysql.com2006-03-232-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | Mergeing changes into 5.0
| * | | | | Merge mysql.com:/usr/home/bar/mysql-4.1.b15376bar@mysql.com2006-03-2312-48/+48
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.0
| | * | | | Bug#15375 Unassigned multibyte codes are brokenbar@mysql.com2005-12-1213-51/+51
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into parts when converting to Unicode. m_ctype.h: Reorganizing mb_wc return codes to be able to return "an unassigned N-byte-long character". sql_string.cc: Adding code to detect and properly handle unassigned characters (i.e. the those character which are correctly formed according to the character specifications, but don't have Unicode mapping). Many files: Fixing conversion function to return new codes. ctype_ujis.test, ctype_gbk.test, ctype_big5.test: Adding a test case. ctype_ujis.result, ctype_gbk.result, ctype_big5.result: Fixing results accordingly.
* | | | | Merge mysql.com:/usr/home/bar/mysql-5.0bar@mysql.com2006-03-231-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.1-new
| * | | | ctype-czech.c:bar@mysql.com2006-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | Fixing wrong min_sort_char.
* | | | | Merge mysql.com:/usr/home/bar/mysql-5.0bar@mysql.com2006-03-232-5/+5
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | into mysql.com:/usr/home/bar/mysql-5.1-new
| * | | Merge mysql.com:/usr/home/bar/mysql-4.1.b17374bar@mysql.com2006-03-232-5/+5
| |\ \ \ | | | |/ | | |/| | | | | into mysql.com:/usr/home/bar/mysql-5.0
| | * | Bug#17374: select ... like 'A%' operator fails to find value on columuns ↵bar@mysql.com2006-03-202-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | with key Fixed that LIKE worked case insensitively for latin2_czech_cs, which was wrong for a case sensitive collation.
* | | | Moved cmake scripts into the proper directoriesReggie@xgeek.2006-03-151-0/+11
| | | |
* | | | Merge shellback.(none):/home/msvensson/mysql/mysql-5.0msvensson@shellback.(none)2006-03-011-0/+13
|\ \ \ \ | |/ / / | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-5.1
| * | | Fix for bug#17602 Server crash on AVG/SUM over DECIMAL column(2nd ver)gluh@eagle.intranet.mysql.r18.ru2006-02-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | The table may be corrupted and decimal columns may have invalid values in this case. To prevent crash we need to check that decimal column has allowable value. In case of invalid value generate warning and set the value to 0.
* | | | WL#1386 - CTYPE table for unicode character setsbar@mysql.com2006-02-0217-0/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A prerequisite for several fulltext and XML bugs. MY_CHARSET_HANDLER now has a new function "ctype" to detect a type of the next character in a string (i.e. digit, letter, space, punctuation, control, etc), which now works correctly for both 8bit and multibyte charsets. Previously only 8bit charsets worked correctly, while any multibyte character was considered as letter in multibyte charsets. Many files: Adding new function Makefile.am: Adding build rules for uctypedump, a dump tool to create my_uctype.h using Unicode Character Database file. m_ctype.h: Adding declaration of my_uni_ctype, ctype data for Unicode. Adding new member into MY_CHARSET_HANDLER Makefile.am: Adding my_uctype.h into noinst_HEADERS my_uctype.h, uctypedump.c: new files: ctype data for unicode, and the tool to generate it from a Unicode Character Database file.
* | | | sql_show.cc:bar@mysql.com2006-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't display charsets/collations with HIDDEN flag. ctype-utf8.c: Adding HIDDEN flag to "filename" Changeing ID to 17 which was previosly used by deprecated "win1251", removed in 4.1. charset-def.c: Adding "filename" as a hidden charset, for test purposes. m_ctype.h: Adding MY_CS_HIDDEN flag, to hide charsets and collations from being displayed in SHOW.
* | | | Manually mergedevgen@moonbone.local2006-01-162-2/+72
|\ \ \ \ | |/ / /
| * | | Merge mysql.com:/usr/home/bar/mysql-4.1.b15377bar@mysql.com2006-01-132-2/+72
| |\ \ \ | | |/ / | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.0
| | * | Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1bar@mysql.com2006-01-132-2/+72
| | |\ \ | | | | | | | | | | | | | | | into mysql.com:/usr/home/bar/mysql-4.1.b15377
| | | * | Bug#15377 Valid multibyte sequences are truncated on INSERTbar@mysql.com2005-12-092-2/+72
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ctype-euc_kr.c: ctype-gb2312.c: Adding specific well_formed_length functions for gb2312 and euckr, to allow storing characters which are correct according to the character set specifications but just don't have Unicode mapping. Previously only those which have Unicode mapping could be stored, while unassigned characters lead to data truncation. Many files: new file
* | | | WL#1324 table name to file name encodingbar@mysql.com2005-12-311-0/+1287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Encoding itself, implemented as a charset "filename". Originally planned to use '.' as an escape character, but now changed to '@' for two reasons: "ls" does not return file names starting with '.' considering them as a kind of hidden files; some platforms do not allow several dots in a file name. - replacing many calls of my_snprintf() and strnxmov() to the new build_table_filename(). - Adding MY_APPEND_EXT mysys flag, to append an extention rather that replace it. - Replacing all numeric constants in fn_format flag arguments to their mysys definitions, e.g. MY_UNPACK_FILENAME, - Predictability in several function/methods: when a table name can appear with or withot .frm extension. Some functions/methods were changed so accept names strictly with .frm, other - strictly without .frm extensions. Several DBUG_ASSERTs were added to check whether an extension is passed. Many files: table name to file name encoding mysql_priv.h: Prototypes for new table name encoding tools. ctype-utf8.c: Implementing "filename" charset for table name to file name encoding. row0mysql.c: Fixing table name prefix. mf_format.c: Adding MY_APPEND_EXT processing. Many files: Fixing tests. my_sys.h: Adding new flag to append rather than replace an extension. m_ctype.h: Adding "filename" charset definition.
* | | | Merge moonbone.local:/work/14583-bug-5.0-mysqlevgen@moonbone.local2005-12-281-3/+39
|\ \ \ \ | |/ / / | | | | | | | | into moonbone.local:/work/14583-bug-5.1-new-mysql
| * | | Manual mergeevgen@moonbone.local2005-12-281-3/+39
| |\ \ \ | | |/ /
| | * | Fix bug#14583 evgen@moonbone.local2005-12-271-2/+39
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When InnoDB compares varchar field in ucs2 with given key using bin collation, it calls my_strnncollsp_ucs2_bin() to perform comparison. Because field length was lesser than length of key field should be padded with trailing spaces in order to get correct result. Because my_strnncollsp_ucs2_bin() was calling my_strnncollp_ucs2_bin(), which doesn't pads field, wrong comparison result was returned. This results in wrong result set. my_strnncollsp_ucs2_bin() now compares fields like my_strnncollsp_ucs2 do, but using binary collation.