summaryrefslogtreecommitdiff
path: root/strings
Commit message (Collapse)AuthorAgeFilesLines
* '5.4', -1, HALF_UPunknown2004-11-111-4/+4
| | | | | | fixed
* Merge bk-internal.mysql.com:/home/bk/mysql-5.0unknown2004-11-091-2/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-5.0 BitKeeper/etc/ignore: auto-union sql/item_subselect.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_view.cc: Auto merged
| * merge on pullunknown2004-11-091-2/+7
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/logging_ok: auto-union BitKeeper/deleted/.del-Makefile.am: Delete: Docs/Images/Makefile.am configure.in: Auto merged innobase/include/row0mysql.h: Auto merged innobase/lock/lock0lock.c: Auto merged innobase/row/row0mysql.c: Auto merged mysql-test/r/ps.result: Auto merged mysql-test/t/ps.test: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_innodb.h: Auto merged sql/item.cc: Auto merged sql/item.h: Auto merged sql/mysql_priv.h: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_prepare.cc: Auto merged sql/table.cc: Auto merged
| | * Merge with 4.1 to get in latest bug fixesunknown2004-11-041-2/+7
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/logging_ok: auto-union Docs/Support/texi2html: Auto merged include/mysql.h: Auto merged include/mysql_com.h: Auto merged libmysql/libmysql.c: Auto merged myisam/mi_check.c: Auto merged myisam/myisamchk.c: Auto merged mysql-test/include/ps_modify.inc: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/r/ctype_recoding.result: Auto merged mysql-test/r/fulltext.result: Auto merged mysql-test/r/gis.result: Auto merged mysql-test/r/ndb_blob.result: Auto merged mysql-test/r/ps_2myisam.result: Auto merged mysql-test/r/ps_3innodb.result: Auto merged mysql-test/r/ps_4heap.result: Auto merged mysql-test/r/ps_5merge.result: Auto merged mysql-test/r/ps_6bdb.result: Auto merged mysql-test/r/sql_mode.result: Auto merged mysql-test/t/join_outer.test: Auto merged mysql-test/t/key.test: Auto merged mysql-test/t/range.test: Auto merged mysql-test/t/show_check.test: Auto merged mysql-test/t/sql_mode.test: Auto merged sql/field.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged sql/item.h: Auto merged sql/item_create.cc: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/item_strfunc.cc: Auto merged sql/item_timefunc.cc: Auto merged sql/mysqld.cc: Auto merged sql/net_serv.cc: Auto merged sql/protocol.cc: Auto merged sql/protocol.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_handler.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_string.cc: Auto merged sql/sql_string.h: Auto merged sql/sql_table.cc: Auto merged client/mysqltest.c: Merge with 4.1 mysql-test/r/range.result: Merge with 4.1 Added missing drop table test sql/ha_innodb.cc: Merge with 4.1 sql/item.cc: Merge with 4.1 sql/item_cmpfunc.cc: Merge with 4.1 sql/opt_range.cc: Merge with 4.1 sql/sql_prepare.cc: Merge with 4.1 tests/client_test.c: Merge with 4.1 Added code to support --silent configure.in: Merge with 4.1 ndb/src/common/util/version.c: Merge with 4.1
| | | * ctype_sjis.result, ctype_sjis.test, ctype-sjis.c:unknown2004-11-021-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #6223 Japanese half-width kana characters get truncated. Bytes 0xA1..0xDF were not treated as a single byte sequence in a mistake. strings/ctype-sjis.c: Bug #6223 Japanese half-width kana characters get truncated. Bytes 0xA1..0xDF were not treated as a single byte sequence in a mistake. mysql-test/t/ctype_sjis.test: Bug #6223 Japanese half-width kana characters get truncated. Bytes 0xA1..0xDF were not treated as a single byte sequence in a mistake. mysql-test/r/ctype_sjis.result: Bug #6223 Japanese half-width kana characters get truncated. Bytes 0xA1..0xDF were not treated as a single byte sequence in a mistake.
* | | | decimal.c:unknown2004-11-081-0/+10
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_ro("999999999999999999999.999", 0, CEILING); test_da("5", "-6.0"); ignore: added gdbinit BitKeeper/etc/ignore: added gdbinit strings/decimal.c: test_ro("999999999999999999999.999", 0, CEILING); test_da("5", "-6.0");
* | | don't return intg=frac=0 from modunknown2004-11-071-1/+6
| | |
* | | memory overrun in decimal_modunknown2004-11-071-5/+14
| | |
* | | space-stripping in decimal2binunknown2004-11-041-3/+29
|/ /
* | Merge bk-internal:/home/bk/mysql-5.0/unknown2004-11-031-46/+58
|\ \ | | | | | | | | | | | | | | | into serg.mylan:/usr/home/serg/Abk/mysql-5.0
| * | error codes chaged to bitmap (for easier testing with masks)unknown2004-11-031-46/+58
| | | | | | | | | | | | | | | | | | two more round() modes - CEILING and FLOOR
* | | Merge on pullunknown2004-11-0317-283/+1083
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/ignore: auto-union mysql-test/r/grant2.result: Auto merged mysql-test/r/sql_mode.result: Auto merged mysql-test/t/grant2.test: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/opt_range.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_lex.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_yacc.yy: Auto merged
| * | merge with 4.1unknown2004-10-2917-283/+1083
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/ignore: auto-union BitKeeper/etc/logging_ok: auto-union BitKeeper/triggers/post-commit: Auto merged Docs/Support/texi2html: Auto merged Makefile.am: Auto merged client/Makefile.am: Auto merged client/mysql.cc: Auto merged client/mysqldump.c: Auto merged include/my_base.h: Auto merged include/my_global.h: Auto merged include/my_pthread.h: Auto merged include/my_sys.h: Auto merged include/my_time.h: Auto merged include/mysql.h: Auto merged include/mysql_com.h: Auto merged innobase/buf/buf0buf.c: Auto merged innobase/include/row0mysql.h: Auto merged innobase/row/row0sel.c: Auto merged libmysql/libmysql.c: Auto merged libmysqld/examples/Makefile.am: Auto merged myisam/mi_check.c: Auto merged mysql-test/include/ps_modify.inc: Auto merged mysql-test/install_test_db.sh: Auto merged mysql-test/r/alter_table.result: Auto merged mysql-test/r/auto_increment.result: Auto merged mysql-test/r/bdb.result: Auto merged mysql-test/r/ctype_latin1_de.result: Auto merged mysql-test/r/ctype_recoding.result: Auto merged mysql-test/r/fulltext.result: Auto merged mysql-test/r/func_gconcat.result: Auto merged mysql-test/r/func_group.result: Auto merged mysql-test/r/func_if.result: Auto merged mysql-test/t/derived.test: Auto merged mysql-test/t/insert.test: merge with 4.1 Fixed test case to not use 'if exists' when it shouldn't mysql-test/t/range.test: merge with 4.1 Added missing drop table sql/ha_ndbcluster.cc: merge with 4.1 Simple optimization: use max() instead of ? : sql/item_func.cc: merge with 4.1 (Added back old variable names for easier merges) sql/opt_range.cc: merge with 4.1 Removed argument 'parent_alloc' from QUICK_RANGE_SELECT as this was not used Added assert if using QUICK_GROUP_MIN_MAX_SELECT with parent_alloc as the init() function can't handle this Changed back get_quick_select_for_ref() to use it's own alloc root becasue this function may be called several times for one query sql/sql_handler.cc: merge with 4.1 change variable 'err' to 'error' as same function had a label named 'err' sql/sql_update.cc: Use multi-update code from 5.0 instead of 4.1 We will fix the locking code shortly in 5.0 to be faster than in 4.1
| | * ctype-utf8.c:mysql-4.1.7unknown2004-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Char is unsigned by defeault on some platforms. Cast t to a signed type. strings/ctype-utf8.c: Char is unsigned by defeault on some platforms. Cast t to a signed type.
| | * Fix compiler warnings (detected by Intel's C++ compiler)unknown2004-10-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094) client/mysql.cc: Fix compiler warnings client/mysqltest.c: Fix wrong counting of lines Remove compiler warnings heap/hp_hash.c: Fix compiler warnings innobase/dict/dict0load.c: Fix compiler warnings innobase/include/mem0mem.h: Fix compiler warnings libmysql/client_settings.h: Fix compiler warnings myisam/ft_nlq_search.c: Add comments about compiler warnings myisam/rt_index.c: Add comments about compiler warnings myisam/rt_mbr.c: Add comments about compiler warnings mysql-test/r/ps.result: Test case for bug#6094 mysql-test/t/ps.test: Test case for bug#6094 mysys/hash.c: Fix compiler warnings mysys/my_handler.c: Add comments about compiler warnings mysys/my_thr_init.c: Add comments about compiler warnings ndb/include/mgmapi/mgmapi.h: Fix compiler warnings regex/main.c: Fix compiler warnings sql/item.h: Fix compiler warnings sql/item_func.h: Add comments about compiler warnings sql/spatial.h: Add comments about compiler warnings sql/sql_lex.h: Fix compiler warning sql/sql_list.h: Fix compiler warning sql/sql_parse.cc: Move testing of access rights of tables in CREATE ... SELECT to create_table_precheck() to fix privilege checking in CREATE ... SELECT (Bug #6094) sql/sql_prepare.cc: Remove not needed empty line sql/sql_string.h: Fix compiler warnings strings/ctype-mb.c: Fix compiler warnings
| | * ctype-uca.c:unknown2004-10-211-28/+27
| | | | | | | | | | | | | | | | | | | | | | | | Optimization: move "space padding" code outside the loop strings/ctype-uca.c: Optimization: move "space padding" code outside the loop
| | * CHARSET_INFO.txt:unknown2004-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Typo. strings/CHARSET_INFO.txt: Typo.
| | * CHARSET_INFO.txt:unknown2004-10-211-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | New comments about ctype[]. strings/CHARSET_INFO.txt: New comments about ctype[].
| | * Bug #5679 utf8_unicode_ci LIKE--trailing % doesn't equal zero charactersunknown2004-10-211-3/+53
| | |
| | * Allow cp932 characters to be stored in a SJIS columnunknown2004-10-212-3/+42
| | |
| | * ctype-utf8.c:unknown2004-10-201-33/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A faster UTF8 null-terminated string implementation. It is used for identifier comparison, so it's quite critical. strings/ctype-utf8.c: A faster UTF8 null-terminated string implementation. It is used for identifier comparison, so it's quite critical.
| | * Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2004-10-202-4/+5
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into mishka.local:/home/my/mysql-4.1 client/mysqlimport.c: Auto merged libmysql/libmysql.c: Auto merged ndb/src/ndbapi/ndberror.c: Auto merged sql/ha_innodb.cc: Auto merged sql/ha_ndbcluster.h: Auto merged sql/item.cc: Auto merged sql/ha_ndbcluster.cc: Auto merged
| | | * Review of all code pushed since last reviewunknown2004-10-202-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simple optimzations and cleanups Removed compiler warnings and fixed portability issues Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server Fixes for purify client/mysqlimport.c: Remove not used variable client/mysqltest.c: Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN) Simplified code Remove usage of sprintf("%llu") as this is not portable include/mysql.h: Added mysql_embedded() to be able to easily check if we are using the embedded server innobase/srv/srv0start.c: Don't use memcmp() when using purify (to avoid false warnings) libmysql/libmysql.c: Added mysql_embedded() to be able to easily check if we are using the embedded server libmysql/libmysql.def: Added mysql_embedded() to be able to easily check if we are using the embedded server myisam/myisam_ftdump.c: Remove compiler warning myisam/myisamchk.c: Remove compiler warning myisam/rt_test.c: #ifdef not used code mysys/hash.c: Remove compiler warning (from last push) mysys/my_gethwaddr.c: Remove compiler warning ndb/src/ndbapi/ndberror.c: #ifdef not used code regex/regcomp.c: Remove not used code regex/regcomp.ih: Remove not used code (to remove compiler warnings) sql-common/client.c: Remove compiler warnings sql/field.cc: Simple optimization sql/ha_innodb.cc: Rename mysql_embedded -> mysqld_embedded sql/item.cc: Fix comments Move variables first on block Remove else after return Simple optimizations (no logic changes) sql/item_cmpfunc.cc: Added comment sql/mysql_priv.h: Rename mysql_embedded -> mysqld_embedded sql/mysqld.cc: Rename mysql_embedded -> mysqld_embedded sql/sql_acl.cc: Added comments simple optimization Fixed 'very unlikely' bug when doing REVOKE ALL PRIVILEGES sql/sql_select.cc: More comments Simple optimization sql/sql_show.cc: Simple changes to make similar code similar More comments sql/sql_string.cc: Trivial optimization and better code layout strings/Makefile.am: Change xml.c to use bcmp to avoid warnings from purify strings/xml.c: Change xml.c to use bcmp to avoid warnings from purify tests/client_test.c: Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
| | * | CHARSET_INFO.txt:unknown2004-10-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | minor fixes strings/CHARSET_INFO.txt: minor fixes
| | * | CHARSET_INFO.txt:unknown2004-10-181-0/+222
| | | | | | | | | | | | | | | | | | | | | | | | new file
| | * | Bug #6040 can't retrieve records with umlaut characters in case insensitive ↵unknown2004-10-182-163/+171
| | | | | | | | | | | | | | | | manner
| | * | ctype-mb.c:unknown2004-10-181-59/+30
| | |/ | | | | | | | | | | | | | | | | | | | | | Remove unnesessary code: use_mb is always TRUE for the multibyte charsets. strings/ctype-mb.c: Remove unnesessary code: use_mb is always TRUE for the multibyte charsets.
| | * Bug #6019 SELECT tries to use too short prefix index on utf8 dataunknown2004-10-142-2/+6
| | |
| | * Activating the new string->number conversion functionsunknown2004-09-251-1/+1
| | |
| | * Incorporating new faster string->number converter functionsunknown2004-09-2512-1/+201
| | | | | | | | | | | | | | | | | | into MY_CHARSET_INFO structure.
| | * ctype-ucs2.c:unknown2004-09-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug#5523 Test failure: 'ctype_uca' Type cast should have been applied to shift and bit-and operation results, not to min_sort_char/max_sort_char before the operation. strings/ctype-ucs2.c: Bug#5523 Test failure: 'ctype_uca' Type cast should have been applied to shift and bit-and operation results, not to min_sort_char/max_sort_char before the operation.
| | * Persian collation, contibuted by Jody McIntyreunknown2004-09-131-1/+94
| | |
| | * Put Ramil patch to be able push me code (test suite already is included in ↵unknown2004-09-101-2/+1
| | | | | | | | | | | | query_cache.test)
| | * Bug #3453 MySQL output formatting in multibyte character setsunknown2004-09-096-6/+70
| | |
| | * Bug #5324 Bug in UCA collations with LIKE comparisons and INDEXunknown2004-09-062-3/+90
| | |
| | * Bug #5397: Crash with varchar binary and LIKEunknown2004-09-061-1/+1
| | |
* | | allocate temp array big enough for not to worry about bound checking in ↵unknown2004-11-021-0/+1
| | | | | | | | | | | | look-aheads
* | | different (hopefully, correct) fix for bin2decimal bugunknown2004-11-021-11/+13
| | | | | | | | | | | | | | | | | | tests added
* | | s/sint/uint/ - no sign extend for signed bytesunknown2004-11-021-10/+10
| | |
* | | ROUND_UP(negative_number) doesn't workunknown2004-11-021-1/+3
| | |
* | | one more pre-division bugunknown2004-11-011-3/+10
| | |
* | | yet another s/>/>=/ typo unknown2004-11-011-1/+2
| | |
* | | correct test for 1/3unknown2004-11-011-1/+4
| | | | | | | | | | | | | | | | | | more tests
* | | stript end zeros before comparisonunknown2004-11-011-0/+4
| | |
* | | compare with DIG_BASE corectlyunknown2004-10-311-8/+5
| | | | | | | | | | | | | | | | | | rounding bugs fixed
* | | new round mode - half_upunknown2004-10-311-15/+16
| | |
* | | two more places with the same zero-stripping bugunknown2004-10-311-2/+2
| | |
* | | sanity checks for decimal result buffersunknown2004-10-301-0/+19
| | |
* | | bugfix and test caseunknown2004-10-301-1/+2
| | |
* | | new api per hf request:unknown2004-10-291-71/+108
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | string2decimal_fixed decimal_round(from, to) decimal_make_zero decimal_string_size decimal_neg strings/decimal.c: new api per hf request: string2decimal_fixed decimal_round(from, to) decimal_make_zero