summaryrefslogtreecommitdiff
path: root/myisam
Commit message (Collapse)AuthorAgeFilesLines
* Merge mysql.com:/home/jimw/my/mysql-4.1-7156unknown2005-08-311-3/+3
|\ | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-4.1-clean
| * Add test for madvise() being declared in C++ code, because it is notunknown2005-08-311-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on Solaris even though it is available, and declare it ourselves in that case. (Bug #7156) configure.in: Add test for madvise() being declared when C++ compiler is used. include/my_global.h: Handle madvise() being available but not declared in C++ isam/extra.c: Fix typo in define test myisam/mi_extra.c: Fix typo in define test sql/examples/ha_tina.cc: Test that we have madvise() before trying to call it.
* | Bug#12565 - ERROR 1034 when running simple UPDATE or DELETE on large MyISAM ↵unknown2005-08-291-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | table Changed end-space comparison so that the key is not used past its end. This is due to the new end-space behaviour in 4.1. See also bug 6151 and 9188. mysql-test/r/key.result: Bug#12565 - ERROR 1034 when running simple UPDATE or DELETE on large MyISAM table The test result. mysql-test/t/key.test: Bug#12565 - ERROR 1034 when running simple UPDATE or DELETE on large MyISAM table The test case.
* | Merge deer.(none):/home/hf/work/mysql-4.1.9645unknown2005-08-272-2/+20
|\ \ | |/ | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.clean
| * Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0unknown2005-08-252-2/+20
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.1 client/mysqlcheck.c: Auto merged client/mysqlimport.c: Auto merged client/mysqltest.c: Auto merged extra/my_print_defaults.c: Auto merged extra/perror.c: Auto merged extra/resolve_stack_dump.c: Auto merged include/help_end.h: Auto merged include/help_start.h: Auto merged isam/isamchk.c: Auto merged isam/pack_isam.c: Auto merged myisam/myisamlog.c: Auto merged netware/myisamchk.def: Auto merged netware/mysql.def: Auto merged netware/mysqladmin.def: Auto merged netware/mysqlbinlog.def: Auto merged netware/mysqlcheck.def: Auto merged netware/mysqldump.def: Auto merged netware/mysqlimport.def: Auto merged netware/mysqlshow.def: Auto merged client/client_priv.h: Merged from 4.0. client/mysql.cc: Merged from 4.0. client/mysqladmin.cc: Merged from 4.0. client/mysqlbinlog.cc: Merged from 4.0. client/mysqldump.c: Merged from 4.0. client/mysqlshow.c: Merged from 4.0. myisam/myisamchk.c: Merged from 4.0. myisam/myisampack.c: Merged from 4.0. netware/mysql_test_run.c: Merged from 4.0. netware/mysqld_safe.c: Merged from 4.0. sql/mysqld.cc: Merged from 4.0.
| | * Several fixes for Netware.unknown2005-08-243-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client/client_priv.h: Added option auto close for Netware. client/mysql.cc: Added option auto close for Netware. client/mysqladmin.c: Added option auto close for Netware. client/mysqlbinlog.cc: Added option auto close for Netware. client/mysqlcheck.c: Added option auto close for Netware. client/mysqldump.c: Added option auto close for Netware. client/mysqlimport.c: Added option auto close for Netware. client/mysqlshow.c: Added option auto close for Netware. client/mysqltest.c: Fixed help messages for Netware. extra/my_print_defaults.c: Fixed help messages for Netware. extra/perror.c: Fixed help messages for Netware. extra/resolve_stack_dump.c: Fixed help messages for Netware. include/help_end.h: Fixed help messages for Netware. include/help_start.h: Fixed help messages for Netware. isam/isamchk.c: Added auto close of window for Netware isam/pack_isam.c: Added auto close of window for Netware myisam/myisamchk.c: Added auto close of window for Netware myisam/myisamlog.c: Added help for Netware. myisam/myisampack.c: Added auto close for Netware. netware/myisamchk.def: Scrollable screen patch. netware/mysql.def: Scrollable screen patch. netware/mysql_test_run.c: Fixed strindex for Netware. netware/mysqladmin.def: Scrollable screen patch. netware/mysqlbinlog.def: Scrollable screen patch. netware/mysqlcheck.def: Scrollable screen patch. netware/mysqld_safe.c: Removed debug message for Netware. netware/mysqldump.def: Scrollable screen patch. netware/mysqlimport.def: Scrollable screen patch. netware/mysqlshow.def: Scrollable screen patch. sql/mysqld.cc: Abnormal end patch when shutting down and volume not ready.
* | | Merge bk@192.168.21.1:/usr/home/bk/mysql-4.1unknown2005-08-221-9/+13
|\ \ \ | |/ / |/| | | | | | | | | | | | | | into deer.(none):/home/hf/work/mysql-4.1.9645
| * | Fix for bug #9465 (check table extended fails with SPATIAL)unknown2005-08-091-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | myisam/mi_check.c: different search function is used for SPATIAL keys mysql-test/r/gis-rtree.result: test result fixed mysql-test/t/gis-rtree.test: test case
* | | Make sure to clean up temporary files in myisampack even when theunknown2005-08-121-0/+8
|/ / | | | | | | | | | | | | | | -T option is used. (Bug #12235) myisam/myisampack.c: Clean up temporary files when -T was used.
* | Merge bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-08-081-0/+1
|\ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/my/mysql-4.1
| * | Fixed compiler warningsunknown2005-07-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | client/mysqldump.c: Fixed wrong argument to printf() client/mysqltest.c: Fixed compiler warning myisam/ft_boolean_search.c: Fixed compiler warning myisammrg/myrg_static.c: Fixed compiler warning mysql-test/r/rpl_drop_temp.result: Drop used database mysql-test/t/rpl_drop_temp.test: Drop used database ndb/src/common/logger/LogHandler.cpp: Fixed compiler warning sql/field.cc: Fixed compiler warning sql/ha_ndbcluster.cc: Fixed compiler warning sql/sql_base.cc: Fixed compiler warning tests/mysql_client_test.c: Fixed compiler warning
* | | After merge fix.unknown2005-08-021-1/+1
| | |
* | | Merge mysql.com:/home/svoj/devel/mysql/BUG11684/mysql-4.0unknown2005-08-021-6/+8
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | into mysql.com:/home/svoj/devel/mysql/BUG11684/mysql-4.1 myisam/sort.c: Auto merged mysql-test/r/fulltext.result: Manual merge. mysql-test/t/fulltext.test: Manual merge.
| * BUG#11684 fix.unknown2005-08-021-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Repair crashes mysql when table has fulltext index. myisam/sort.c: Use static ft_buf instead of dynamic mergebuf. Latter could be NULL if record has long words. mysql-test/r/fulltext.result: Test case for BUG#11684 - repair crashes mysql when table has fulltext index. mysql-test/t/fulltext.test: Test case for BUG#11684 - repair crashes mysql when table has fulltext index.
* | Fix for bug #10893 (myisamchk fails on packed spatial)unknown2005-07-231-2/+4
| | | | | | | | | | | | | | | | need to be fixed in 4.1 myisam/mi_create.c: now we decrease on the proper value
* | Added some missing casts and changed a define for alloca().unknown2005-07-201-2/+3
| | | | | | | | | | | | | | | | | | client/mysqldump.c: Added casts. include/my_sys.h: Define for alloca() changed for Metrowerks compiler. myisam/rt_split.c: Added cast.
* | Makefile.am:unknown2005-07-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir client/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir cmd-line-utils/libedit/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir dbug/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir extra/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir heap/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir isam/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir libmysql/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir libmysql_r/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir libmysqld/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir libmysqld/examples/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir merge/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir myisam/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir myisammrg/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir mysql-test/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir mysys/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir netware/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir regex/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir sql/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir strings/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir tests/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir vio/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir tools/Makefile.am: Added -I$(top_builddir)/include for searching generated header files, when builddir != srcdir
* | Don't allow 8bytes for data file pointers for now.unknown2005-06-301-0/+3
| |
* | Fixed Bug#11226 and reverted fix for Bug#6993.unknown2005-06-301-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using 8 bytes for data pointer does not work at least on all computers. The result may become 0 or negative number. (mysqld, myisamchk) myisam/mi_create.c: Fixed Bug#11226, "Dynamic table >4GB issue". mysql-test/r/variables.result: Restricted myisam_data_pointer_size back to 7. mysql-test/t/variables.test: Restricted myisam_data_pointer_size back to 7. sql/mysqld.cc: Restricted myisam_data_pointer_size back to 7.
* | Cleanup during review of new codeunknown2005-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed wrong allocation that could cause buffer overrun when using join cache myisam/mi_open.c: Fixed indentation mysql-test/r/lowercase_table2.result: Drop tables and databases used in the test mysql-test/t/lowercase_table2.test: Drop tables and databases used in the test mysys/my_fopen.c: Cleanup of comments and parameter names Simple optimization Removed compiler warnings sql/field.cc: Fixed wrong allocation that could cause buffer overrun sql/mysqld.cc: Removed not needed code sql/set_var.cc: Simply code sql/sql_select.cc: Use int2store/int2korr to store length of cached VARCHAR fields (Not dependent on type and faster code as we avoid one possible call)
* | Fix hang/crash with Boolean full-text search against an unindexed field forunknown2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | which the query contained more words than we allocated space. (Bug #7858) myisam/ft_boolean_search.c: Fix calculation of max number of elements -- "words" may not have spaces between them. mysql-test/t/fulltext.test: Modify test to be specific to reported bug (fix for old bug wasn't quite enough) mysql-test/r/fulltext.result: Update results
* | Bug #8183 MERGE and SYM cause wrong SHOW CREATE TABLE unknown2005-06-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | Without this patch, all file elements in info have symlink resolved pathnames. This means append_create_info does not have any way of showing the correct database name when a symlinked database is used. myisam/mi_open.c: store name (not symlinked resolved) instead of org_name (symlink resolved) in info.
* | Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1unknown2005-06-071-0/+8
|\ \ | |/ | | | | | | | | | | BitKeeper/etc/logging_ok: auto-union myisam/mi_check.c: Auto merged
| * Bug #10901unknown2005-06-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | After review fix Copy from internal state to share state only when in lock write mode (happens only when lock table x write has been performed since update_state_info is only called when holding a TL_READ_NO_INSERT lock normally. Previous patch would have failed in combination with delayed writes.
| * Bug #10901unknown2005-06-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Analyze table corrupts the state on data_file_length, records, index_file_length... by writing the shared state when there is an updated internal state due to inserts or deletes Fixed by synching the shared state with the internal state before writing it to disk Added test cases of 2 error cases and a normal case in new analyze test case BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* | Revert Bar's fix as this causes changes in the key tree that could cause ↵unknown2005-06-072-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | incompatibilites Fix instead wrong call to ha_key_cmp This is related to bug #10741 Inserting double value into utf8 column crashes server myisam/mi_key.c: Revert Bar's fix as this causes changes in the key tree that could cause incompatibilites myisam/mi_rnext_same.c: Fixed wrong arguments to ha_key_cmp() This caused a compare to fail if we first found a key with end space and then same key without end space mysql-test/r/ctype_utf8.result: Additional test mysql-test/t/ctype_utf8.test: Additional test
* | Bug#10253: compound index length and utf8 char setunknown2005-06-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | produces invalid query results mi_key.c: well_formed_length should be executed before space trimming, not after. ctype_utf8.test: ctype_utf8.result: adding test. myisam/mi_key.c: Bug#10253: ompound index length and utf8 char set produces invalid query results well_formed_length should be executed before space trimming, not after. mysql-test/r/ctype_utf8.result: adding test. adding test. mysql-test/t/ctype_utf8.test: adding test.
* | a fix (bug #10757: gis-rtree.test fails)unknown2005-05-201-3/+7
| | | | | | | | | | | | myisam/sp_key.c: a fix (bug #10757: gis-rtree.test fails) float8get() doesn't properly work with local variables sometimes.
* | Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1unknown2005-05-161-1/+35
|\ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/psergey/mysql-4.1-bug10095
| * | Fix for BUG#9622: Make index statistics collection in MyISAM behave the sameunknown2005-05-141-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | way in ALTER TABLE ... ENABLE KEYS, ANALYZE TABLE and after bulk insert: now statistics collection always assumes NULLs are inequal. mysql-test/r/myisam.result: Testcase for BUG#9622 mysql-test/t/myisam.test: Testcase for BUG#9622
* | | Merge with 4.0unknown2005-05-141-10/+21
|\ \ \ | |/ / |/| / | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/logging_ok: auto-union mysql-test/r/outfile2.result: Merge rename: mysql-test/r/outfile.result -> mysql-test/r/outfile2.result myisam/mi_key.c: Auto merged mysql-test/r/alter_table.result: Auto merged mysql-test/r/auto_increment.result: Auto merged mysql-test/r/innodb.result: Auto merged mysql-test/t/auto_increment.test: Auto merged mysql-test/t/innodb.test: Auto merged sql/handler.h: Auto merged mysql-test/t/alter_table.test: Merge mysql-test/t/outfile.test: Merge sql/item_func.cc: Merge sql/share/czech/errmsg.txt: Merge sql/share/danish/errmsg.txt: Merge sql/share/dutch/errmsg.txt: Merge sql/share/english/errmsg.txt: Merge sql/share/estonian/errmsg.txt: Merge sql/share/french/errmsg.txt: Merge sql/share/german/errmsg.txt: Merge sql/share/greek/errmsg.txt: Merge sql/share/hungarian/errmsg.txt: Merge sql/share/italian/errmsg.txt: Merge sql/share/japanese/errmsg.txt: Merge sql/share/korean/errmsg.txt: Merge sql/share/norwegian-ny/errmsg.txt: Merge sql/share/norwegian/errmsg.txt: Merge sql/share/polish/errmsg.txt: Merge sql/share/portuguese/errmsg.txt: Merge sql/share/romanian/errmsg.txt: Merge sql/share/russian/errmsg.txt: Merge sql/share/slovak/errmsg.txt: Merge sql/share/spanish/errmsg.txt: Merge sql/share/swedish/errmsg.txt: Merge sql/share/ukrainian/errmsg.txt: Merge sql/sql_table.cc: Merge sql/sql_yacc.yy: Keep old sql/unireg.cc: Merge
| * Fixed wrong buffer usage for auto-increment key with blob part that caused ↵unknown2005-05-131-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | CHECK TABLE to report that the table was wrong. (Bug #10045) myisam/mi_key.c: Fixed wrong buffer usage for auto-increment key with blob part that caused CHECK TABLE to report that the table was wrong. (Bug #10045) mysql-test/r/auto_increment.result: New test case mysql-test/t/auto_increment.test: New test case
* | Bug#8321 - myisampack bug in compression algorithmunknown2005-04-281-2/+7
|\ \ | |/ | | | | | | | | | | Merge from 4.0.
| * Bug#8321 - myisampack bug in compression algorithmunknown2005-04-281-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the second of three changesets. It contains the pure bug fix. It also contains the second after-review fixes. The problem was that with gcc on x86, shifts are done modulo word size. 'value' is 32 bits wide and shifting it by 32 bits is a no-op. This was triggered by an evil distribution of character incidences. A distribution of 2917027827 characters made of 202 distinct values led to 34 occurrences of 32-bit Huffman codes. This might have been the first time ever that write_bits() had to write 32-bit values. Since it can be expected that one day even 32 bits might be insufficient, the third changeset suggests to enlarge some variables to 64 bits.
* | Step 1 of the switch to support configuration with NPTL:unknown2005-04-201-1/+1
| | | | | | | | | | | | | | Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.
* | Merge mysql.com:/home/mydev/mysql-4.1-bug9487unknown2005-04-161-3/+16
|\ \ | | | | | | | | | | | | | | | | | | into mysql.com:/home/mydev/mysql-4.1-bug9188
| * | Bug#9487 - myisampack segmentation violation and bus errorunknown2005-04-151-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed some casts for 64-bit systems. Fixed a possible buffer overflow. myisam/myisampack.c: Bug#9487 - myisampack segmentation violation and bus error Added or changed proper casts for the argument of flush_buffer(). Added a check for the counterstrike of the trick to have file_buffer.end some bytes below the real end of the buffer.
* | | Merge mysql.com:/home/mydev/mysql-4.1unknown2005-04-152-10/+67
|\ \ \ | |/ / |/| | | | | | | | | | | | | | into mysql.com:/home/mydev/mysql-4.1-bug9188
| * | Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145)unknown2005-04-082-10/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 4.1 keys are compared with trailing spaces. Thus, a "x " key can be inserted between a couple of "x" keys. The existing code did not take this into account. Though the comments in the code claimed it did. myisam/mi_search.c: Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145) Fixed some function comments. In the case when we insert a different key between two identical keys, the difference must be additional spaces. In this case the prefix is the same as that of the new key instead of the (zero) remaining length. myisam/mi_write.c: Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145) Fixed a function comment. mysql-test/r/myisam.result: Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145) The test result. mysql-test/t/myisam.test: Bug#9188 - Corruption Can't open file: 'table.MYI' (errno: 145) The test case.
* | | don't check record's checksum in REPAIRunknown2005-04-113-10/+10
|/ / | | | | | | | | | | | | myisam/mi_dynrec.c: new parameter for _mi_rec_check(). myisam/myisamdef.h: new parameter for _mi_rec_check().
* | myisamchk.c:unknown2005-03-241-2/+2
| | | | | | | | | | | | | | | | Wrong help string fix. myisam/myisamchk.c: Wrong help string fix.
* | myisam/myisam_ftdump.cunknown2005-03-091-99/+89
| | | | | | | | | | | | | | | | | | | | recalculate stats/gws for the last word in the index too remove unused code myisam/myisam_ftdump.c: recalculate stats/gws for the last word in the index too remove unused code
* | myisam/ft_parser.cunknown2005-03-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | protection against invalid string in ft_get_word mysys/my_symlink2.c typo fixed myisam/ft_parser.c: protection against invalid string in ft_get_word mysys/my_symlink2.c: typo fixed
* | Merge mysql.com:/home/mydev/mysql-4.0unknown2005-03-041-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | into mysql.com:/home/mydev/mysql-4.1-4100 myisam/mi_create.c: Auto merged sql/mysqld.cc: Auto merged
| * Fix for a build bug.unknown2005-03-041-1/+1
| | | | | | | | | | | | | | Added a missing comma.
* | mergeunknown2005-03-031-7/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | include/my_global.h: Auto merged mysys/mf_tempfile.c: Auto merged sql/ha_myisam.cc: Auto merged sql/share/english/errmsg.txt: Auto merged sql/table.cc: Auto merged
| * Fixes for bugs reported by Stefano Di Paola (stefano.dipaola@wisec.it)unknown2005-03-031-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/my_global.h: O_NOFOLLOW isam/create.c: create table files with O_EXCL|O_NOFOLLOW merge/mrg_create.c: create table files with O_EXCL|O_NOFOLLOW myisam/mi_create.c: create files of temporary tables with O_EXCL|O_NOFOLLOW myisammrg/myrg_create.c: create table files with O_EXCL|O_NOFOLLOW mysys/mf_tempfile.c: create temporary files with O_EXCL|O_NOFOLLOW sql/ha_myisam.cc: let mi_create know if the table is TEMPORARY sql/mysql_priv.h: --allow_suspicious_udfs sql/mysqld.cc: --allow_suspicious_udfs sql/share/english/errmsg.txt: typo sql/sql_udf.cc: --allow_suspicious_udfs don't allow xxx() udf without any of xxx_init/deinit/add/reset check paths when loading from mysql.func sql/table.cc: create frm of temporary table with O_EXCL|O_NOFOLLOW
* | Bug#8306 - TRUNCATE leads to index corruptionunknown2005-03-023-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a check, if the table, which we are going to create, is open. This can happen if a MERGE mapped table is TRUNCATEd. myisam/mi_open.c: Bug#8306 - TRUNCATE leads to index corruption Made test_if_reopen() globally available. myisam/myisamdef.h: Bug#8306 - TRUNCATE leads to index corruption Declared test_if_reopen() as globally available. mysql-test/r/myisam.result: Bug#8306 - TRUNCATE leads to index corruption The test result. mysql-test/t/myisam.test: Bug#8306 - TRUNCATE leads to index corruption The test case.
* | Bug#8349 myisamchk: --set-charset does not workunknown2005-02-221-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | What we need to be able to set in myisamchk is actually a collation, not a character set. This fix just changes to display the proper error message. include/mysys_err.h: New mysys error message "unknown collation". mysys/charset.c: Display more proper error when a collation is not found. mysys/errors.c: New "unknown collation" error.
* | Bug #7878 with utf_general_ci, equals (=) has problem with accent insensitivityunknown2005-02-181-2/+6
| | | | | | | | | | | | | | Backporting Monty's fix for 5.0 into 4.1.