summaryrefslogtreecommitdiff
path: root/strings
Commit message (Collapse)AuthorAgeFilesLines
* Merge bk-internal:/home/bk/mysql-5.0-rplmsvensson@neptunus.(none)2006-10-0314-0/+379
|\ | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| * Merge mysql.com:/usr/home/bar/mysql-5.0.b6147v2bar@mysql.com/bar.intranet.mysql.r18.ru2006-09-2914-0/+379
| |\ | | | | | | | | | into mysql.com:/usr/home/bar/mysql-5.0.b6147rpl
| | * Bug#6147: Traditional: Assigning a string to a numeric column has unexpected ↵bar@mysql.com/bar.intranet.mysql.r18.ru2006-07-2014-0/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | results The problem was that when converting a string to an exact number, rounding didn't work, because conversion didn't understand approximate numbers notation. Fix: a new function for string-to-number conversion was implemented, which is aware of approxinate number notation (with decimal point and exponent, e.g. -19.55e-1)
* | | Merge polly.local:/tmp/22129/bug22129/my50-bug22129kaa@polly.local2006-09-221-24/+43
|\ \ \ | |/ / |/| | | | | into polly.local:/home/kaa/src/maint/m50-maint--07OGt
| * | Merge polly.local:/tmp/22129/bug22129/my41-bug22129kaa@polly.local2006-09-221-24/+43
| |\ \ | | | | | | | | | | | | into polly.local:/tmp/22129/bug22129/my50-bug22129
| | * | Fixed bug #22129: A small double precision number becomes zerokaa@polly.local2006-09-221-24/+43
| | | | | | | | | | | | | | | | Better checks for underflow/overflow
* | | | make dist changes for Cmake buildgeorg@lmy002.wdf.sap.corp2006-09-011-1/+1
| | | |
* | | | Additional files for cmake supportgeorg@lmy002.wdf.sap.corp2006-08-311-0/+12
| | | |
* | | | Merge mysql.com:/usr/home/bar/mysql-4.1.b19741bar@mysql.com/bar.intranet.mysql.r18.ru2006-08-151-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | into mysql.com:/usr/home/bar/mysql-5.0.b19741merge
| * | | Bug#19741 segfault with cp1250 charset + like + primary key + 64bit osbar@mysql.com/bar.intranet.mysql.r18.ru2006-07-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | LIKE craashed with a pattern having letters in the range 128..255 (e.g. A WITH ACUTE or C WITH CARON) because of wrong cast from signed char to unsigned int.
* | | | Merge trift2.:/M41/push-1-4.1joerg@trift2.2006-07-241-2/+1
|\ \ \ \ | |/ / / | | | | | | | | into trift2.:/M50/merge-4.1-to-5.0
| * | | strings/strtod.c : Ensure the definition of "EOVERFLOW" is available.joerg@trift2.2006-07-171-1/+1
| |/ / | | | | | | | | | In 5.0, this is already solved, so that is a null-merge ("ul").
| * | Merge bk-internal.mysql.com:/home/bk/mysql-4.1monty@mysql.com2006-06-301-2/+2
| |\ \ | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.1
* | \ \ Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-optevgen@moonbone.local2006-07-131-3/+10
|\ \ \ \ | |_|_|/ |/| | | | | | | into moonbone.local:/home/evgen/bk-trees/mysql-5.0-opt
| * | | Bug #20569 Garbage in DECIMAL results from some mathematical functionsgkodinov/kgeorge@mysql.com/macbook.gmz2006-07-071-1/+1
| | | | | | | | | | | | | | | | * portability fix: moved the macro call after the C declaration
| * | | Bug #20569 Garbage in DECIMAL results from some mathematical functionsgkodinov@mysql.com2006-07-061-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding decimal "digits" in multiplication resulted in signed overflow and producing wrong results. Fixed by using large enough buffers and intermediary result types : dec2 (currently longlong) to hold result of adding decimal "digits" (currently int32).
* | | | Fix Windows build problem following previous push.knielsen@mysql.com2006-06-301-1/+2
| | | |
* | | | Fixing windows build.elliot@mysql.com2006-06-301-2/+2
| | | |
* | | | Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com2006-06-301-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | into mysql.com:/home/my/mysql-5.0
| * | | Merge mysql.com:/home/my/mysql-4.1monty@mysql.com2006-06-301-2/+2
| |\ \ \ | | | |/ | | |/| | | | | into mysql.com:/home/my/mysql-5.0
| | * | Fixed include file usagemonty@mysql.com2006-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | hp_test2 now works again Fixed wrong cast, which caused problems with gcc 4.0 and floats in prepared statements (Bug #19694)
* | | | Merge moonbone.local:/home/evgen/bk-trees/mysql-5.0-optevgen@moonbone.local2006-06-302-14/+12
|\ \ \ \ | |/ / / | | | | | | | | into moonbone.local:/work/merge-5.0
| * | | Merge xiphis.org:/home/antony/work2/p4-bug12096.2acurtis@xiphis.org2006-06-281-6/+0
| |\ \ \ | | | | | | | | | | | | | | | into xiphis.org:/home/antony/work2/p4-bug12096.2-merge
| | * | | Bug#12096acurtis@xiphis.org2006-05-311-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Add line for non-executable stack in .s files" Fix so that configure will use "--noexecstack" for assembler if gcc supports option and compiled C doesn't need executable stack.
| * | | | Bug#15811: extremely long time for mysql client to execute long INSERTkroki@mysql.com2006-06-221-8/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | The problem was in redundant calls to strlen() in string functions, where we may then return after checking only the small number of characters. No test case is provided since it's a performance fix.
* | | | Post-merge fix.igor@rurik.mysql.com2006-06-221-6/+1
| | | |
* | | | Merge rurik.mysql.com:/home/igor/mysql-4.1-optigor@rurik.mysql.com2006-06-211-9/+16
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| into rurik.mysql.com:/home/igor/mysql-5.0-opt
| * | Fixed bug #16674.igor@rurik.mysql.com2006-06-201-9/+16
| |/ | | | | | | | | | | | | | | | | The length of the prefix of the pattern string in the LIKE predicate that determined the index range to be scanned was calculated incorrectly for multi-byte character sets. As a result of this in 4. 1 the the scanned range was wider then necessary if the prefix contained not only one-byte characters. In 5.0 additionally it caused missing some rows from the result set.
* | 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.
* | | 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.
* | | 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
* | | | 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.
* | | ctype-czech.c:bar@mysql.com2006-03-231-1/+1
| | | | | | | | | | | | Fixing wrong min_sort_char.
* | | 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.
* | | 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.
* | | 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