summaryrefslogtreecommitdiff
path: root/mysys
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug in the Sun Workshop compilerunknown2001-08-181-1/+4
| | | | | BUILD/compile-solaris-sparc-purify: Build for purify, quantify and purecoverage
* Fixed optimizer bug in ORDER BY where some ORDER BY parts where ignored.unknown2001-07-301-1/+1
| | | | | | | | | | | | | | | | Extended default arguments to be up to 4095 characters Docs/manual.texi: Update lof LOCK TABLES mysql-test/r/order_by.result: Test for optimizer bug in ORDER BY mysql-test/t/order_by.test: Test for optimizer bug in ORDER BY mysys/default.c: Extended default arguments to be up to 4095 characters sql/sql_select.cc: Fixed optimizer bug in ORDER BY
* Upgrade TL_WRITE_CONCURRENT_INSERT to TL_WRITE_LOW_PRIORITY ifunknown2001-07-181-4/+5
| | | | | | | | | | --low-priority-updates is used and the file has holes. Docs/manual.texi: Changelog sql/sql_insert.cc: Fixed that sleeptime is 0 for new insert delayed threads.
* Removed wrong warning from thr_lockunknown2001-07-171-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed problem with UPDATE and BDB tables Fixed problem with GRANT FILE privilege on database level mysqld --warnings works now Fixed problem with SHOW OPEN TABLES when not using BDB Added some tests for ALTER TABLE to the test scripts Docs/manual.texi: Added link to copyleft license. Updated Changelog configure.in: Fixed typo mysys/thr_lock.c: Removed wrong warning sql/ha_berkeley.cc: Fixed problem with UPDATE sql/sql_acl.cc: Fixed problem with GRANT FILE privilege on database level sql/sql_parse.cc: Fixed that you don't get aborted connection error if you are not using --warning sql/sql_show.cc: Fixed problem with SHOW OPEN TABLES when not using BDB tests/fork2_test.pl: Added test of ALTER TABLE tests/fork_big.pl: Added test of ALTER TABLE
* Changed compare in MyISAM to use my_pread()unknown2001-06-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed that @VAR shows all decimals Fixed problem with FLUSH TABLES and LOCK TABLE CREATE ... SELECT now creates keys later Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key Docs/manual.texi: Added MySQL/PostgreSQL comparison isam/_dynrec.c: Fixed wrong compare (not used in MySQL) myisam/mi_dynrec.c: Fixed wrong compare (not used in MySQL). Changed compare to use my_pread() myisam/mi_packrec.c: cleanup mysql-test/r/alter_table.result: Added test for ALTER TABLE mysql-test/r/variables.result: Added test for variables with REAL values. mysql-test/t/alter_table.test: Added test for ALTER TABLE mysql-test/t/variables.test: Added test for variables with REAL values. mysys/my_pread.c: Cleanup sql-bench/Makefile.am: removed extra \ sql-bench/README: Fixed typo. sql/item_func.cc: Fixed that @VAR shows all decimals sql/share/swedish/errmsg.OLD: update sql/sql_base.cc: Fixed problem with FLUSH TABLES and LOCK TABLE sql/sql_insert.cc: CREATE ... SELECT now creates keys later sql/sql_table.cc: Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key. BitKeeper/etc/ignore: Added sql-bench/graph-compare-results to the ignore list BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* Declare stpcpy() to fix portability problem on AIX with gcc 2.95.3unknown2001-06-031-1/+1
| | | | | | | | | | | | | Fixed problem with command line arguments on 64 bit machines when we use ~0 to indicate 'no limit' include/m_string.h: Declare stpcpy() to fix portability problem on AIX with gcc 2.95.3 mysys/getvar.c: Fixed problem on 64 bit machines when we use ~0 to indicate 'no limit'. sql-bench/Comments/postgres.benchmark: U
* Added ABS() to make tests more portable.unknown2001-06-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | New postgresql crash-me file. Increased blob size in benchmarks from 65K to 1M. mysql-test/t/select.test: Added ABS() to make tests more portable mysys/tree.c: Added missing call to tree->free (MySQL didn't use this) sql-bench/Comments/postgres.benchmark: Updated documentation sql-bench/bench-init.pl.sh: Updated version number (changed blob size) sql-bench/limits/pg.cfg: New postgres results sql-bench/server-cfg.sh: Updated to PostgreSQL 7.1.1 sql-bench/test-connect.sh: Changed select_big -> select_big_str tests/fork_big.pl: Added count(distinct) test
* Fixed bugs in symlink codeunknown2001-06-021-5/+10
| | | | | client/errmsg.c: Added portuguese error messages.
* Fixed bug that caused client to hang because mysqld never did send anunknown2001-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | error message if the table open or the index creation failed. Updated portuguese error messages. Fix for OS/2 that affected CHECK TABLE. Docs/manual.texi: Changelog. libmysql/errmsg.c: Updated portuguese error messages mysys/my_copy.c: Fix for OS/2 sql/net_pkg.cc: cleanup sql/share/portuguese/errmsg.txt: Updated portuguese error messages sql/slave.cc: Cleanup. Fixed bug that caused client to hang because mysqld never did send an error message if the table open or the index creation failed. sql/sql_parse.cc: Moved handling of 'no_send_ok' to fetch_nx_table. sql/sql_table.cc: Cleanup.
* Added --skip-symlinksunknown2001-06-012-2/+5
| | | | | | | | | | | | | | | | | | | | Don't force repair of tables that are not closed properly. Docs/manual.texi: Added information about symbolic links. include/my_sys.h: symbolic link support myisam/mi_check.c: Don't force repair of tables that are not closed properly. myisam/myisamchk.c: Version number change. mysys/my_static.c: symbolic link support mysys/my_symlink2.c: Disabling of symbolic link support sql/mysqld.cc: Disabling of symbolic link support
* Added symlink support to mysys library.unknown2001-06-014-47/+148
| | | | | | | | | | | | | | | Docs/manual.texi: Link info change include/my_sys.h: Added functions for symlink support libmysql/Makefile.shared: Added mf_symlink.c to library. mysys/Makefile.am: Added functions for symlink support mysys/mf_same.c: cleanup mysys/my_symlink.c: Added functions for symlink support
* Added functions for symbolic link handling to make it possible tounknown2001-05-314-5/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | backport things from 4.0. This is safe as the functions are not used! Fixed bug in new mutex handling in InnoDB Make allow_break() and dont_break() defines. Docs/manual.texi: Remove -fomit-frame-pointer from default binaries configure.in: Use -lcma library on HPUX include/my_sys.h: Added functions for symbolic link handling to make it possible to backport things from 4.0. (This is safe as the functions are not used!) include/mysys_err.h: Error messages for symlink functions. innobase/include/sync0sync.ic: Fixed bug in new mutex handling mysys/Makefile.am: Symlink handling mysys/errors.c: Symlink handling mysys/mf_brkhant.c: Make allow_break() and dont_break() defines. sql/sql_select.h: Fix for Intel compiler. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* Fixed problems with decimals withing IF()unknown2001-05-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Force add of FN_LIBCHAR to symlinks on windows Docs/manual.texi: Cleanup & Changelog client/mysqladmin.c: Added quoting for 'drop database' client/mysqlcheck.c: Fixed wrong comment syntax libmysql/net.c: Cleanup mysql-test/mysql-test-run.sh: Better error message. mysql-test/r/func_test.result: test for if() mysql-test/t/func_test.test: test for if() mysys/mf_pack.c: Force add of FN_LIBCHAR to symlinks on windows. sql/item_cmpfunc.cc: Fixed problems with decimals withing IF() sql/mysqlbinlog.cc: Better error messages. sql/sql_repl.cc: Better error messages.
* Merge work:/my/mysql into tik.mysql.fi:/home/my/mysqlunknown2001-05-231-5/+5
|\ | | | | | | | | Docs/manual.texi: Auto merged
| * Updated documentation of how to add new native functions.unknown2001-05-231-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small cleanups Docs/manual.texi: Updated how to add new native functions mysql-test/r/func_crypt.result: Fix for crypt on FreeBSD mysql-test/t/func_crypt.test: Fix for crypt on FreeBSD mysys/thr_lock.c: Changed to use statistics_increment macro for statistic variables. BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* | Merge work.mysql.com:/home/bk/mysqlunknown2001-05-222-3/+3
|\ \ | |/ | | | | | | | | into threads.polyesthetic.msg:/usr/local/src/my/3
| * Force close of sockets on HPUX 10.20unknown2001-05-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support option lines longer than 256 chars. Close the slow log at shutdown. Always allow debug options to mysqld. Change some DBUG_PRINT tags. Docs/manual.texi: Small cleanups configure.in: Force close of sockets on HPUX 10.20 mysql-test/t/merge.test: Remove used tables mysys/default.c: Support option lines longer than 256 chars. mysys/mf_keycache.c: Split check_keycache tags sql/mysqld.cc: Move things to 'cleanup'. Close the slow log at shutdown. Always allow debug options sql/violite.c: Change the error tag to vio_error
* | getvar.c atoll() -> strtoll() (portability fix)unknown2001-05-181-1/+1
|/ | | | | mysys/getvar.c: atoll() -> strtoll() (portability fix)
* Fixed bug when using MERGE on files > 4Gunknown2001-05-172-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed bug in SELECT db1.table.* FROM db1.table,db2.table Fixed bug in INSERT DELAYED when doing shutdown and a table was locked Changed that tmp_table_size =4G-1 means unlimited. Docs/manual.texi: Added new section about crashed MyISAM tables. Cleaned up subsections for InnoDB client/mysql.cc: Cleanup myisam/mi_rkey.c: Cleanup myisam/mi_search.c: Fixed wrong casts in debug messages myisammrg/myrg_rrnd.c: Fixed bug when using files > 4G mysys/getvar.c: Changed to use longlong to support arguments up to 4G mysys/thr_lock.c: Fix for delay insert sql/mysqld.cc: Increased default size for temporary tables sql/sql_base.cc: Fixed bug in SELECT db1.table.* FROM db1.table,db2.table sql/sql_insert.cc: Fixed bug in INSERT DELAYED when doing shutdown and a table was locked sql/sql_select.cc: Changed that tmp_table_size =4G-1 means unlimited.
* Cleanup up stacktrace codeunknown2001-05-142-121/+110
| | | | | | | | | | | | | | | | | | | Updated qsort source from glibc. Add debugging of keycache when EXTRA_DEBUG is specified Docs/manual.texi: Added new contrib stuff bdb/dist/Makefile.in: Don't automaticly checkout things from bk mysys/mf_keycache.c: Add debugging of keycache when EXTRA_DEBUG is specified. mysys/mf_qsort.c: Updated qsort source from glibc. sql/Makefile.am: Cleanup up stacktrace code sql/mysqld.cc: Cleanup up stacktrace code
* cleanupunknown2001-05-121-6/+6
| | | | | | | | | | | Docs/manual.texi: Updated gdb / trace information innobase/pars/pars0grm.c: Removed warning on windows mysys/mf_keycache.c: Changed "exec" to "check_keycache" sql/mysqld.cc: Added suffix for windows binaries
* Fixed all mysqldump output to use 'result_file'unknown2001-04-262-7/+7
| | | | | | | | | client/mysqldump.c: Fixed all output to use 'result_file' mysys/my_error.c: cleanup mysys/raid.cc: cleanup
* Fixed that -ldl is not used for clientsunknown2001-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | Fixed rpl000001 to handle the most common mysql-test-run ports. configure.in: Fixed that -ldl is not used for clients (The old version breaked when client was compiled staticly) mysql-test/r/rpl000001.result: Fix to handle the most common mysql-test-run ports. mysql-test/t/rpl000001.test: Fix to handle the most common mysql-test-run ports. mysys/my_alloc.c: Extended min block a little to get faster mallocs scripts/mysql_install_db.sh: Fixed bug when using RPM and one had --basedir in my.cnf sql/Makefile.am: Add -ldl to mysqld link line strings/ctype-ujis.c: Remove warnings
* Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULLunknown2001-04-101-6/+6
| | | | | | | | | | | | | | | | | | Docs/manual.texi: Updated replication section mysql-test/r/null_key.result: Added test UPDATE/DELETE with IS NULL on unique key mysql-test/t/null_key.test: Added test UPDATE/DELETE with IS NULL on unique key mysys/Makefile.am: Removed -f from $CP as this is not portable Fixed rule for testhash sql/field.cc: Safety fix sql/opt_range.cc: Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL sql/opt_range.h: Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL
* got --with-other-libc to work, finallyunknown2001-04-021-7/+7
| | | | | | | | | | | | | | | | | configure.in: updates for --with-other-libc heap/Makefile.am: --with-other-libc libmysql/Makefile.shared: --with-other-libc mysys/Makefile.am: --with-other-libc regex/Makefile.am: --with-other-libc sql/Makefile.am: --with-other-libc strings/Makefile.am: --with-other-libc
* Added test case that crashed Innobaseunknown2001-03-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUILD/compile-solaris-sparc-purify: Changed to old (easy-to-edit) format extra/resolve_stack_dump.c: Don't require -s and -n options innobase/include/Makefile.i: Applied Heikki's changes innobase/include/univ.i: Applied Heikki's changes innobase/os/os0file.c: Fix problem with Signal 14 on Solaris mysys/mf_qsort.c: Fix for purify sql-bench/Results/ATIS-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/RUN-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/alter-table-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/big-tables-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/connect-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/create-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/insert-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/select-mysql-Linux_2.2.16_SMP_alpha: New test results sql-bench/Results/wisconsin-mysql-Linux_2.2.16_SMP_alpha: New test results sql/ha_gemini.h: Fixed that SHOW VARIABLES shows table type as disabled if it can't be initialized. sql/ha_innobase.cc: Merged Heikkis changes sql/ha_innobase.h: Fixed that SHOW VARIABLES shows table type as disabled if it can't be initialized. sql/handler.cc: Fixed that SHOW VARIABLES shows table type as disabled if it can't be initialized. sql/mysqld.cc: Cleaned up error warning message.
* Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macrounknown2001-03-263-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (For glibc 2.2) client/thread_test.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro dbug/dbug.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro heap/hp_open.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro isam/open.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro myisam/mi_open.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro mysys/thr_alarm.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro mysys/thr_lock.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro mysys/thr_rwlock.c: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/ha_berkeley.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/ha_innobase.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/hash_filo.h: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/hostname.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/item_func.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/log.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/mysqld.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/slave.h: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_class.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_class.h: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_insert.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro sql/sql_udf.cc: Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
* Added defines for fast mutex in glibc 2.2 (should be safe)unknown2001-03-246-30/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed crash in SELECT DISTINCT SUM(...) Fix return value of mysortncmp() for innobase Fix join_crash bug Docs/manual.texi: Changelog include/my_pthread.h: Added defines for fast mutex in glibc 2.2 mysql-test/t/join_crash.test: Changed table names to t1,t2... mysys/my_bitmap.c: Use fast mutex mysys/my_open.c: Use fast mutex mysys/my_pthread.c: Use fast mutex mysys/my_thr_init.c: Use fast mutex mysys/my_winthread.c: Use fast mutex mysys/thr_mutex.c: Use new mutexattr with error checking sql/ha_innobase.cc: Fix return value of mysortncmp() for innobase sql/sql_select.cc: Fix join_crash bug BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* Added isolation levelsunknown2001-03-211-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE Docs/manual.texi: Updated information about SET TRANSACTION ISOLATION LEVEL configure.in: Upgraded version number isam/_dbug.c: Fixed wrong fprintf isam/isamchk.c: Added new error message myisam/mi_check.c: Added new error message mysql-test/mysql-test-run.sh: Don't wait too long for server start mysys/mf_keycache.c: Cleaned up some error messages scripts/mysqlhotcopy.sh: Applied patch for --resetmaster --resetslave sql-bench/bench-init.pl.sh: Fix for windows sql/handler.cc: Added isolation levels and gemini spinlocks sql/handler.h: Added isolation levels sql/item_strfunc.cc: Cleanup of CONCAT_WS() sql/lex.h: Added isolation levels sql/mysql_priv.h: Added isolation levels sql/mysqld.cc: Added isolation levels sql/sql_class.cc: Added isolation levels Moved variable initialization to different code segments sql/sql_class.h: Added isolation levels sql/sql_lex.h: Added isolation levels sql/sql_parse.cc: Added isolation levels sql/sql_update.cc: cleanup BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* Merged some functions and removed some unused client functions.unknown2001-03-061-25/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remember UNION for ALTER TABLE Added test for if we are supporting transactions. Don't allow REPLACE to replace a row when we have generated an auto_increment key Fixed bug when using BLOB keys Fixed bug in SET @variable=user. Docs/manual.texi: Added some examples and moved the Error access denied section to the error section. client/mysqltest.c: Changed to use the new mysql_send_query() include/mysql.h: Changed mysql_reap_query() to mysql_send_query(). libmysql/libmysql.c: Changed mysql_reap_query() to mysql_send_query() Merged some functions and removed some unused functions. mysql-test/r/bdb.result: New test case mysql-test/r/distinct.result: New test case mysql-test/r/key.result: New test case mysql-test/r/merge.result: New test case mysql-test/r/replace.result: New test case mysql-test/t/bdb.test: New test case mysql-test/t/key.test: New test case mysql-test/t/merge.test: New test case mysql-test/t/replace.test: New test case mysys/my_lock.c: Moved global lock variable to static sql-bench/test-insert.sh: Added test case for index-read only sql/field.h: Fixed that one can optimize ORDER BY with ISAM and GEMINI sql/ha_berkeley.cc: Added type casts needed for Windows sql/ha_innobase.cc: Removed reference to manual from comment. sql/ha_myisammrg.cc: Remember UNION for ALTER TABLE sql/ha_myisammrg.h: Remember UNION for ALTER TABLE sql/handler.cc: Added test for if we are supporting transactions. Don't allow REPLACE to replace a row when we have generated an auto_increment key. sql/handler.h: Remember UNION for ALTER TABLE sql/key.cc: Fixed bug when using BLOB keys sql/mysql_priv.h: Added new variables sql/mysqld.cc: Added new variables sql/opt_range.cc: Fixed problem with BLOB keys sql/opt_sum.cc: Fix for BLOB keys sql/sql_class.cc: Added test if we need to init/clean transaction variables sql/sql_insert.cc: Fix for REPLACE and auto_increment keys sql/sql_parse.cc: Fixed bug in max_user_connections sql/sql_select.cc: Fixed problem with key on BLOB sql/sql_yacc.yy: Fixed bug in SET @variable=user. sql/table.cc: Fixed problem with keys on BLOB
* Fixes for innobaseunknown2001-02-212-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added test for ALTER TABLE ORDER BY BUILD/FINISH.sh: Fixes for innobase BUILD/compile-pentium-debug: Fixes for innobase Docs/manual.texi: Fixes for innobase include/my_pthread.h: Fixes for innobase innobase/Makefile.am: Fixes for innobase innobase/btr/Makefile.am: Fixes for innobase innobase/data/Makefile.am: Fixes for innobase innobase/eval/Makefile.am: Fixes for innobase innobase/include/Makefile.i: Fixes for innobase innobase/os/Makefile.am: Fixes for innobase mysql-test/t/alter_table.test: Added test for ALTER TABLE ORDER BY mysys/my_error.c: Skip 'l' in '%lu' mysys/my_vsnprintf.c: cleanup sql/ha_innobase.cc: Fixed type + remove warnings sql/ha_innobase.h: Remove warnings sql/handler.cc: cleanup sql/sql_class.cc: remove warnings sql/sql_parse.cc: remove warnings sql/sql_table.cc: Fixed bug in ALTER TABLE ... ORDER BY BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
* Fixed problem with concurrent inserts and read-previousunknown2001-02-181-1/+1
| | | | | | | | | | | | | | | | Fix for BSDI 4.0 Docs/manual.texi: Added MySQL AB information configure.in: Fix for BSDI 4.0 myisam/mi_rprev.c: Fixed problem with concurrent inserts and read-previous mysys/mf_format.c: Fix for BSDI 4.0 sql/handler.cc: Fixed type
* Fixed that myisamchk -R works on text columnsunknown2001-02-181-3/+4
| | | | | | | | | | | | | | | | Fixed typo when removing space from argument to -O Docs/manual.texi: Update of merge tables myisam/mi_check.c: Moved test of FULLTEXT keys to make things more efficient myisam/myisamchk.c: Incremented version myisam/myisamdef.h: Fixed that myisamchk -R works on text columns mysys/getvar.c: Fixed typo when removing space from argument to -O
* Added locks needed for Innobaseunknown2001-02-182-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixed mutex problem when doing automatic repair of MyISAM tables Docs/manual.texi: changelog include/thr_lock.h: Added TL_READ_WITH_SHARED_LOCKS for Innobase mysql-test/r/update.result: Added 'select' to verify update results mysql-test/t/update.test: Better code coverage mysys/getvar.c: Allow space in to --set-variable mysys/thr_lock.c: Added TL_READ_WITH_SHARED_LOCKS sql/ha_myisam.cc: Added comment sql/lock.cc: Added missing broadcast sql/sql_base.cc: Fixed some mutex problem when doing automatic repair of MyISAM tables sql/sql_update.cc: Purecoverage
* Added Innobase to source distributionunknown2001-02-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docs/manual.texi: Added Innobase documentation configure.in: Incremented version include/my_base.h: Added option for Innobase myisam/mi_check.c: cleanup mysql-test/t/bdb.test: cleanup mysql-test/t/innobase.test: Extended with new tests from bdb.test mysql-test/t/merge.test: Added test of SHOW create mysys/my_init.c: Fix for UNIXWARE 7 scripts/mysql_install_db.sh: Always write how to start mysqld scripts/safe_mysqld.sh: Fixed type sql/ha_innobase.cc: Update to new version sql/ha_innobase.h: Update to new version sql/handler.h: Added 'update_table_comment()' and 'append_create_info()' sql/sql_delete.cc: Fixes for Innobase sql/sql_select.cc: Fixes for Innobase sql/sql_show.cc: Append create information (for MERGE tables) sql/sql_update.cc: Fixes for Innobase
* Changed --replace to --replace_result in mysqltestunknown2001-02-153-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed errmsg -> my_errmsg (portability issue) Fixed that mysqlbinlog writes SET TIMESTAMP before all queries Fixed comments in default my.cnf files Docs/manual.texi: Updated information about character sets client/mysqladmin.c: Added missing help text client/mysqltest.c: Changed --replace to --replace_result to not conflict with SQL replace command include/my_sys.h: change errmsg -> my_errmsg (portability issue) libmysql/errmsg.c: change errmsg -> my_errmsg (portability issue) myisam/mi_cache.c: Changed seek+read to pread myisam/mi_check.c: Fix bug that caused myisamchk to be very slow under some specific error conditions myisam/mi_dynrec.c: cleanup myisam/myisamchk.c: Write out value of checksum myisam/myisamdef.h: cleanup mysql-test/r/backup.result: Fixed the case where backup caused different error messages mysql-test/r/bdb.result: Added new test case mysql-test/r/fulltext.result: Fix for new CREATE TABLE format mysql-test/t/backup.test: Use --replace_result and --send mysql-test/t/bdb.test: New test case mysql-test/t/status.test: Use --send mysys/errors.c: change errmsg -> my_errmsg (portability issue) mysys/my_error.c: change errmsg -> my_errmsg (portability issue) mysys/typelib.c: Only accept full type names sql/derror.cc: change errmsg -> my_errmsg (portability issue) sql/ha_berkeley.cc: Fixed bug when using key parts that could be NULL sql/log_event.cc: Log SET TIMESTAMP before all queries sql/mysqlbinlog.cc: Incremented version number sql/mysqld.cc: change errmsg -> my_errmsg (portability issue) Always accept --skip-gemeni, --skip-bdb and --skip-innobase sql/slave.cc: cleanup sql/sql_base.cc: cleanup sql/sql_db.cc: cleanup support-files/my-huge.cnf.sh: Remove usage of # at end of line support-files/my-large.cnf.sh: Remove usage of # at end of line support-files/my-medium.cnf.sh: Remove usage of # at end of line support-files/my-small.cnf.sh: Remove usage of # at end of line
* Fixed bug in bitmap handlingmysql-3.23.33unknown2001-02-091-1/+2
| | | | | mysys/my_bitmap.c: Clear bitmap array
* Force sockets to be blocking on HPUX 11.0unknown2001-02-072-8/+5
| | | | | | | | | | | | | | | | | | | | Changed BITMAP to MY_BITMAP to avoid type conflict on windows configure.in: Force sockets to be blocking on HPUX 11.0 include/my_bitmap.h: Changed BITMAP to MY_BITMAP to avoid type conflict on windows mysys/my_bitmap.c: Changed BITMAP to MY_BITMAP to avoid type conflict on windows mysys/my_init.c: Removed LOCK_bitmap sql/mysql_priv.h: Changed BITMAP to MY_BITMAP to avoid type conflict on windows sql/mysqld.cc: Changed BITMAP to MY_BITMAP to avoid type conflict on windows sql/violite.c: Force sockets to be blocking on HPUX 11.0
* Use new bitmap interfaceunknown2001-02-072-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches for Armstrong Removed warnings when using REPAIR TABLE .. EXTENDED Docs/manual.texi: Changelog configure.in: Added missing -lsocket library on SCO include/global.h: Patch for Armstrong include/my_bitmap.h: Changed bitmap interface to avoid problem with missing LOCK_bitmap symbol include/myisampack.h: Portability fix for Armstrong mysql-test/t/select.test: Changed to work with 'mysql test < select.tst' mysys/my_bitmap.c: Changed bitmap interface to avoid problem with missing LOCK_bitmap symbol mysys/my_init.c: Removed LOCK_bitmap sql/field.cc: Patch for Armstrong sql/filesort.cc: Patch for Armstrong sql/ha_myisam.cc: Removed warnings when using REPAIR TABLE .. EXTENDED sql/mysql_priv.h: Use new bitmap interface sql/mysqld.cc: Use new bitmap interface sql/sql_select.cc: Use new bitmap interface
* Workaround for bug in thread library in Unixware 7unknown2001-02-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed bug in GROUP BY on ELT() Added SEQUENCE() to UDF examples BUILD/FINISH.sh: Avoid error message if tmp exists Docs/manual.texi: Cleaned up bug reporting section mysys/my_init.c: Workaround for bug in thread library in Unixware 7 readline/input.c: Portability fix scripts/mysql_install_db.sh: Made host, user and db field binary sql/item_func.h: Fixed bug in GROUP BY on ELT() sql/item_strfunc.cc: Fixed bug in GROUP BY on ELT() sql/share/Makefile.am: Don't automaticly checkout SCCS files sql/sql_select.cc: Cleanups sql/udf_example.cc: Added SEQUENCE() to UDF examples.
* Changes prompted by manual comments.unknown2001-02-012-2/+2
|
* New myisamchk option --sort-recoverunknown2001-01-311-22/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow delete of crashed MyISAM tables Fixed bug when BLOB was first part of key Fixed bug when using result from CASE in GROUP BY Fixed core-dump bug in monthname() Optimized calling of check_db_name() Docs/manual.texi: Added more information about myisamchk client/mysqladmin.c: Added error message for CREATE database and fixed possible overflow bug include/myisam.h: New myisamchk option --sort-recover libmysql/libmysql.c: Removed commented code Don't define getpwuid (breaks on SCO 3.2) myisam/mi_check.c: Fixed (new) bug when using --recover --optimize myisam/mi_delete_table.c: Allow delete of crashed tables myisam/mi_key.c: Fixed bug when BLOB was first part of key myisam/myisamchk.c: New myisamchk option --sort-recover mysql-test/r/case.result: New test cases to check for reported bugs mysql-test/r/func_time.result: New test cases to check for reported bugs mysql-test/r/type_blob.result: New test cases to check for reported bugs mysql-test/r/type_datetime.result: New test cases to check for reported bugs mysql-test/t/case.test: New test cases to check for reported bugs mysql-test/t/func_time.test: New test cases to check for reported bugs mysql-test/t/type_blob.test: New test cases to check for reported bugs mysql-test/t/type_datetime.test: New test cases to check for reported bugs mysys/my_bitmap.c: Optimize sql-bench/limits/ms-sql.cfg: Updated limits sql/item_cmpfunc.cc: Fixed bug when using result from CASE in GROUP BY sql/item_cmpfunc.h: Fixed bug when using result from CASE in GROUP BY sql/item_timefunc.cc: Fixed core-dump bug in monthname() sql/sql_db.cc: Optimized calling of check_db_name() sql/sql_parse.cc: Optimized calling of check_db_name() sql/table.cc: Fixed typo
* mergeunknown2001-01-285-3/+78
|\ | | | | | | | | | | | | | | | | | | | | | | | | myisam/mi_check.c: Auto merged sql/mysqld.cc: Auto merged sql/sql_repl.cc: Auto merged sql/sql_select.cc: Auto merged sql/table.h: Auto merged
| * mergeunknown2001-01-274-2/+71
| |\ | | | | | | | | | | | | | | | | | | sql/mysqld.cc: Auto merged Docs/manual.texi: Merged. Need to re-add Jeremy's line
| | * manual mergeunknown2001-01-274-2/+71
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sql/mysqld.cc: Auto merged client/mysqltest.c: Auto merged Docs/manual.texi: merged
| | | * Added --temp-pool option to mysqld. This will cause temporary filesunknown2001-01-274-2/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | created to use a small set of filenames, to try and avoid problems in the Linux kernel. mysys/Makefile.am: Added my_bitmap.c mysys/my_init.c: my_bitmap code added mysys/mysys_priv.h: my_bitmap sql/mysql_priv.h: temp pool stuff. sql/mysqld.cc: --temp-pool option added sql/sql_select.cc: temp pool stuff sql/table.h: temp pool
| * | | fixed up lock counting code - Monty's suggestionsunknown2001-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | updated manual about table lock counter fixed coredump in DROP DATABASE with long bogus name by non-root user fixed bug in handling STOP immediately after ROTATE added test case for buffer overrun on DROP DATABASE by non-root user added test case for the STOP bug in replication Docs/manual.texi: updates for Table_locks_immediate and Table_locks_waited include/thr_lock.h: fixes suggested by Monty to lock counts mysql-test/r/status.result: clean up of result for changes in the test case mysql-test/t/status.test: make it produce the same results if the had been some activity on the server already mysys/thr_lock.c: fixes suggested by Monty sql/mysqld.cc: fixes suggested by Monty sql/slave.cc: fixed bug in processing STOP event after rotate sql/sql_base.cc: fixes suggested by Monty sql/sql_parse.cc: fixed coredump in drop database with long name by a non-root user sql/sql_repl.cc: better status message
| * | | Table_locks_waitedunknown2001-01-261-1/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Table_locks_immediate mysys/thr_lock.c: count locks sql/mysqld.cc: count locks sql/sql_base.cc: count locks
* | | Portability fixes for OPENBSD, OS2 and Windowsunknown2001-01-271-0/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docs/manual.texi: Changed TCX -> MySQL AB configure.in: New version include/my_sys.h: Fixes for OS2 ltconfig: Fixes for OS2 ltmain.sh: Fixes for OS2 mit-pthreads/net/net_internal.h: Fixes for OPENBSD mit-pthreads/net/proto_internal.h: Fixes for OPENBSD mit-pthreads/net/res_internal.h: Fixes for OPENBSD mit-pthreads/net/serv_internal.h: Fixes for OPENBSD myisammrg/myrg_open.c: MERGE didn't work on Windows mysys/my_getwd.c: Fixes for OS2 sql/field.cc: cleanup sql/field.h: Fix for new SCO compiler sql/ha_berkeley.cc: Cleanup sql/ha_berkeley.h: Portability fix sql/item_sum.h: Fix for new SCO compiler sql/log.cc: Fixes for OS2 sql/log_event.h: Fixes for OS2 sql/mysqld.cc: Fixes for OS2 sql/net_serv.cc: Fixes for OS2 sql/sql_analyse.h: Fix for new SCO compiler sql/sql_class.h: Fix for new SCO compiler sql/sql_map.h: Fix for new SCO compiler sql/sql_repl.cc: cleanup sql/sql_string.h: Fix for new SCO compiler sql/sql_table.cc: cleanup strings/longlong2str-x86.s: Fixes for openbsd
* | Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysqlunknown2001-01-252-1/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Docs/manual.texi: Auto merged sql/slave.cc: Auto merged sql/sql_repl.cc: Auto merged