summaryrefslogtreecommitdiff
path: root/mysys
Commit message (Collapse)AuthorAgeFilesLines
* Review of changesets since last pull.unknown2003-08-071-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Mostly code cleanups) include/my_sys.h: Removed not used define myisam/mi_check.c: Indentation change mysql-test/t/rpl_insert_id.test: Add test if server supports innodb mysys/mf_format.c: Remove QUOTE handling from fn_format() (fn_format() should not have anything to do with quoting things) sql/log_event.cc: Removed some unnecessary casts (by changing functions to use const char *) Cleaned up some error messages to make them shorter and (hopefully) more readable. Fixed wrong format strings Restored 'thd->options' on error. sql/mini_client.cc: Changed order of include files to remove compilation warning sql/mysqld.cc: Add proper quoting of service arguments (don't use fn_format) sql/slave.cc: Simple optimization and cleanup. Changed rewrite_db() and print_slave_db_safe() to use const char* to avoid casting of arguments when calling functions. Cleanup of some error messages. sql/slave.h: Changed protypes to use const char * sql/sql_acl.cc: Simple optimization vio/viosslfactories.c: Changed order of include files to remove compilation warning
* Fix for service issue with paths having spaces (bug #687)unknown2003-07-231-0/+8
|
* Removed wrong "Found lock of type # that is write and read locked" warnings.unknown2003-07-181-7/+14
|
* Fixed memory overrun when doing REPAIR on table with multi-part ↵unknown2003-07-181-3/+3
| | | | | | | | | | | | | | | | | auto_increment key where one part was a packed CHAR myisam/mi_check.c: Fixed memory overrun in _mi_put_key_in_record myisam/mi_key.c: Fixed unnecessary memory allocation mysql-test/r/insert_select.result: Added test case for memory corruption mysql-test/t/insert_select.test: Added test case for memory corruption mysys/safemalloc.c: Removed compiler warnings sql/sql_acl.cc: Fixed core dump when running with --debug
* Fix VC++ compiler error on Windowsunknown2003-07-021-1/+1
|
* merge changesunknown2003-07-021-0/+5
|\ | | | | | | | | | | | | | | | | mysql-test/r/insert_select.result: Auto merged mysql-test/t/insert_select.test: Auto merged sql/sql_select.cc: Auto merged
| * Fixed memory allocation in Unique to not allocate too much memoryunknown2003-06-261-0/+5
| | | | | | | | | | | | | | | | | | myisam/mi_info.c: Updated comments mysys/tree.c: Added comment sql/net_serv.cc: Added comment
* | Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0unknown2003-06-251-7/+19
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | into sinisa.nasamreza.org:/mnt/work/mysql-4.0 sql/sql_acl.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_select.cc: Auto merged sql/sql_yacc.yy: Auto merged
| * Simple code cleanupunknown2003-06-231-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/r/innodb.result: Fixed test case after innodb optimize->analyze fix mysys/mf_pack.c: Added comments sql/log_event.cc: Fixed usage of fn_format() sql/slave.cc: Indentation fixes and comments cleanup sql/sql_repl.cc: Comment cleanup
* | Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0unknown2003-06-176-244/+235
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | into sinisa.nasamreza.org:/mnt/work/mysql-4.0 include/my_global.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_yacc.yy: Auto merged
| * Merge bk-internal.mysql.com:/home/bk/mysql-4.0unknown2003-06-124-230/+209
| |\ | | | | | | | | | | | | | | | | | | | | | into narttu.mysql.fi:/my/mysql-4.0 sql/sql_parse.cc: Auto merged
| | * Changed safemalloc structure to not have to be 8 byte aligned. (Portability ↵unknown2003-06-124-183/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem) include/my_sys.h: Changed safe_malloc variables to start with sf_ mysys/default.c: Use safemalloc (as we use dynamic_arrays() that uses it inderectly anyway) mysys/my_static.c: Changed safe_malloc variables to start with sf_ mysys/my_static.h: Changed safe_malloc variables to start with sf_ Changed safemalloc structure to not have to be 8 byte aligned mysys/safemalloc.c: Changed safemalloc structure to not have to be 8 byte aligned. (portability fix) BIG code cleanup sql/mysqld.cc: Changed safe_malloc variables to start with sf_ sql/sql_parse.cc: Changed safe_malloc variables to start with sf_
| | * Indentationunknown2003-06-121-128/+123
| | | | | | | | | | | | | | | | | | mysys/safemalloc.c: Indentation fixes Changes (long*) to (uint32*) to fix a portability problem
| * | removed a wrong cast that limited ulonglong options to max. ulong value.unknown2003-06-121-2/+2
| |/
| * Don't install signal handler for SIGINT by defaultunknown2003-06-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added option --gdb Free memory used by replicate_xxx and binglog_xxx options mysql-test/mysql-test-run.sh: Added --gdb when using gdb mysys/thr_alarm.c: Safety check sql/mysql_priv.h: Don't install signal handler for SIGINT by default sql/mysqld.cc: Don't install signal handler for SIGINT by default Added option --gdb Free memory used by replicate_xxx and binglog_xxx options. Add statistics variable for killed threads sql/repl_failsafe.cc: Incremented aborted_connects on failure sql/sql_list.cc: Added free_list() to free memory on shutdown.
| * Added function commentunknown2003-06-051-3/+15
| |
| * Print error if we can't delete an alarmunknown2003-06-051-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More debugging variables Increment aborted_threads in case of killed or too big packet include/thr_alarm.h: made prototype more portable mysys/thr_alarm.c: Print error if we can't delete an alarm sql/mysqld.cc: Statistics variable (for debugging) sql/net_serv.cc: statistics variable (for debugging) sql/sql_parse.cc: Increment aborted_threads in case of killed or too big packet
* | Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0unknown2003-06-022-35/+102
|\ \ | |/ | | | | | | | | | | | | | | | | into sinisa.nasamreza.org:/mnt/work/mysql-4.0 client/mysql.cc: Auto merged include/my_global.h: Auto merged
| * Small fixes (nothing nameworthy)unknown2003-06-011-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql-test/r/errors.result: Rename: mysql-test/r/err000001.result -> mysql-test/r/errors.result include/my_global.h: typedef for future functions that needs string length as an argument innobase/os/os0file.c: Added operation to error messages mysql-test/t/errors.test: Cleaned up file to new error number standard mysys/thr_alarm.c: Made end_thr_alarm() work also with internal alarm thread. (Not critical for MySQL) sql/mysqld.cc: Added sigemptyset() (bug found by valgrind) Removed some wrong usage of thd when writing variable values
| * Fix for 64 bit machines (To remove warnings on Itanium)unknown2003-05-261-0/+1
| | | | | | | | | | mysys/thr_alarm.c: Safety fix
| * Merge jani@192.168.0.2:/my/mysql-4.0unknown2003-05-261-28/+47
| |\ | | | | | | | | | | | | | | | | | | | | | into ua126d19.elisa.omakaista.fi:/home/my/bk/mysql-4.0 BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
| | * Fixed core dump bug when shuting down mysqldunknown2003-05-261-28/+47
| | |
| * | Fixed a bug with having comments after options in config files.unknown2003-05-141-2/+28
| |/ | | | | | | | | | | | | Bug ID: 235
* | several bug fixesunknown2003-05-311-0/+1
|/ | | | | | | | | | | include/my_global.h: Fix for a clash with include files from Linux kernel source mysys/charset.c: Fix for a bug with LEFT(), RIGHT() ... and GROUP BY clause sql/sql_acl.cc: Sending error when global privilege is attempted at db level sql/sql_parse.cc: Fix for the non-functioning max_user_connections
* Fix for UNION and LEFT JOIN (Bug #386)unknown2003-05-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed wrong logging of Access denied error (Bug #398) include/my_global.h: Fix for QNX mysql-test/r/union.result: new test case mysql-test/t/union.test: Test of bug in union and left join mysys/my_seek.c: Safety fix to find out when pos gets a wrong value sql/field.h: Fix for UNION and LEFT JOIN sql/mysql_priv.h: Fix for UNION and LEFT JOIN sql/sql_base.cc: Fix for UNION and LEFT JOIN sql/sql_insert.cc: Fix for UNION and LEFT JOIN sql/sql_parse.cc: Fixed wrong logging of Access denied error sql/sql_union.cc: Fix for UNION and LEFT JOIN sql/sql_update.cc: Fix for UNION and LEFT JOIN
* Safety fix to enable RAID in max binariesunknown2003-05-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Better fix for format('nan') Fix for HAVING COUNT(DISTINCT...) myisam/mi_check.c: Better error message myisam/mi_dynrec.c: Simple code cleanup myisam/myisamchk.c: Better error messages mysql-test/r/func_misc.result: Added back test for format('nan') mysql-test/r/having.result: New test mysql-test/t/func_misc.test: Added back test for format('nan') mysql-test/t/having.test: Added test for count(distinct) in having mysys/raid.cc: Safety fix to enable RAID in max binaries scripts/mysql_install_db.sh: Create data directories even if --in-rpm is used (for MaxOSX) sql/item_strfunc.cc: Better fix for format('nan') sql/mysqld.cc: Give stacktrace on assert() sql/sql_yacc.yy: Fix for HAVING COUNT(DISTINCT...) tests/big_record.pl: Extend test to abuse packed MyISAM tables tests/table_types.pl: Fixed wrong merge
* count_bits() moved to mysys/unknown2003-05-041-0/+42
|
* more #ifdef THREAD addedunknown2003-04-301-2/+2
|
* Better test for regular files.unknown2003-04-281-2/+7
|
* Merge gweir@bk-internal.mysql.com:/home/bk/mysql-4.0unknown2003-04-272-0/+26
|\ | | | | | | | | | | | | | | | | | | | | | | into mysql.com:/home/greg/bk/mysql-4.0 sql/mini_client.cc: Auto merged sql/mysqld.cc: Auto merged sql/slave.cc: Auto merged
| * Change to NetWare platform mods, per Montyunknown2003-04-271-1/+1
| | | | | | | | | | mysys/my_pthread.c: Move #undef directive out of function
| * Changes from Novell for NetWare platformunknown2003-04-242-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include/my_pthread.h: Consolidated NetWare pthread_exit() changes. mysys/mf_path.c: NetWare needs a semicolon path delimiter. mysys/my_pthread.c: Consolidated NetWare pthread_exit() changes. sql/mini_client.cc: Modified to match my_connect(). sql/mysqld.cc: Consolidated NetWare pthread_exit() changes. sql/slave.cc: Consolidated NetWare pthread_exit() changes. sql/sql_load.cc: Stat properites should not be checked here on NetWare.
* | Merge with 3.23:unknown2003-04-261-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set innobase_flush_log_at_trx_commit to 1 by default Fix problem with timestamp on 64 bit systems Reserve alarms for up to 10 slave threads BitKeeper/etc/logging_ok: auto-union mysql-test/t/rpl_alter.test: Auto merged mysys/charset.c: Auto merged sql/log_event.cc: Auto merged mysql-test/r/join.result: Merge with 3.23 mysql-test/t/join.test: Merge with 3.23 sql/ha_innodb.cc: Merge with 3.23; Set innobase_flush_log_at_trx_commit to 1 by default sql/log_event.h: Merge with 3.23; Fix problem with timestamp on 64 bit systems sql/mini_client.cc: Use local version sql/mysqld.cc: Reserve alarms for up to 10 slave threads sql/slave.cc: Use local version sql/sql_list.h: Use local version
| * Fix possible memory overrun when reading broken character set filesunknown2003-04-261-1/+1
| | | | | | | | | | sql/mysqld.cc: Safety fix.
* | - Only ignore _regular_ world-writeable files (thanks to Tim Bunce forunknown2003-04-231-1/+2
| | | | | | | | | | | | | | discovering this)
* | Merge narttu.mysql.fi:/my/mysql-3.23 into narttu.mysql.fi:/my/mysql-4.0unknown2003-04-031-1/+7
|\ \ | |/ | | | | | | | | | | | | | | mysys/my_vsnprintf.c: Auto merged sql/ha_myisam.cc: Auto merged sql/log.cc: Auto merged
| * Fixed bug in memory allocation that could affect 64 bit systems (affected ↵unknown2003-04-031-1/+8
| | | | | | | | | | | | | | | | | | hammer) mysys/my_vsnprintf.c: safety fix sql/log.cc: safety fix
* | Post-4.0.12 changes from Novell: mostly NetWare-related code changes to ↵unknown2003-03-214-31/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | utilize new LibC client/mysql.cc: Remove unnecessary pthread_yield calls for NetWare client/mysqldump.c: Remove unnecessary pthread_yield calls for NetWare include/my_pthread.h: Special extern my_pthread_cond_timedwait no longer required for NetWare mysql-test/t/backup.test: replace_result added so test passes correctly on NetWare mysys/default.c: Add conditional to avoid non-applicable file checking on NetWare mysys/my_init.c: Remove working directory change from netware_init() mysys/my_pthread.c: Remove unnecessary NetWare version of my_pthread_cond_timedwait mysys/thr_mutex.c: Remove unnecessary NetWare block scripts/make_binary_distribution.sh: Changes to clear up extraneous EXTRA_BIN_FILES, NetWare sections
* | Simple fixes (nothing notable)unknown2003-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | dbug/dbug.c: Remove duplicate va_end() call mysql-test/mysql-test-run.sh: Longer stack trace from valgrind mysys/my_lib.c: Fixed wrong dbug printf sql/slave.cc: Simple optimization sql/sql_class.cc: Added DBUG info
* | merge with 3.23 to get:unknown2003-03-111-2/+17
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | - Better detection of crashed .MYI file - Ignore writeable config files mysql-test/mysql-test-run.sh: Auto merged mysys/default.c: Auto merged myisam/mi_open.c: merge with 3.23 sql/mysqld.cc: merge with 3.23
| * warning addedunknown2003-03-101-1/+5
| |
| * Merge bk-internal:/home/bk/mysql-3.23/unknown2003-03-101-2/+13
| |\ | | | | | | | | | | | | | | | | | | into serg.mysql.com:/usr/home/serg/Abk/mysql
| | * ignore world-writeable my.cnf'sunknown2003-03-101-2/+13
| | |
* | | mergeunknown2003-03-102-10/+24
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/ignore: auto-union BitKeeper/deleted/.del-delete.result: Auto merged client/mysqlbinlog.cc: Auto merged libmysql/libmysql.c: Auto merged mysql-test/r/delete.result: Auto merged mysql-test/r/type_datetime.result: Auto merged mysql-test/t/delete.test: Auto merged mysql-test/t/type_datetime.test: Auto merged sql/field.h: Auto merged sql/ha_myisam.cc: Auto merged sql/lock.cc: Auto merged sql/log_event.h: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/share/polish/errmsg.txt: Auto merged sql/slave.cc: Auto merged sql/sql_repl.h: Auto merged sql/sql_select.cc: Auto merged
| * | | after merge fixesunknown2003-03-101-2/+2
| | | |
| * | | Merge with 3.23 to get fixes for --user and BACKUP TABLEunknown2003-03-101-8/+22
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitKeeper/etc/ignore: auto-union BitKeeper/deleted/.del-delete.result: Delete: mysql-test/r/delete.result BitKeeper/deleted/.del-stamp-h.in~4a5d6676232516c5: Auto merged client/mysqlbinlog.cc: Auto merged include/my_sys.h: Auto merged libmysql/libmysql.c: Auto merged mysql-test/t/delete.test: Auto merged mysql-test/t/join.test: Auto merged mysql-test/t/type_datetime.test: Auto merged mysys/my_copy.c: Auto merged sql/field.h: Auto merged sql/opt_range.cc: Auto merged sql/share/polish/errmsg.txt: Auto merged sql/sql_rename.cc: Auto merged sql/sql_select.cc: Auto merged mysql-test/mysql-test-run.sh: merge with 3.23.56 mysql-test/r/backup.result: merge (needs to be updated) mysql-test/r/join.result: merge (needs to be updated) mysql-test/r/type_datetime.result: merge (needs to be updated) mysql-test/t/backup.test: merge with 3.23 scripts/mysqld_safe.sh: Only use first --user option sql/ha_myisam.cc: Don't let BACKUP TABLE overwrite old files sql/log_event.h: merge sql/mysql_priv.h: merge sql/mysqld.cc: Use first --user option sql/slave.cc: use local version sql/sql_repl.h: use local version
| | * | Don't allow BACKUP TABLE to overwrite filesunknown2003-03-101-8/+22
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed memory leak when replication restarts in debug mode include/my_sys.h: Added option to not overwrite files to my_copy() mysql-test/mysql-test-run.sh: Fixed --ddd option Fixed that mysqld is restarted if there is a testname-master.sh file mysql-test/r/backup.result: Update for security fix in BACKUP TABLE mysql-test/t/backup.test: Update for security fix in BACKUP TABLE mysys/my_copy.c: Added option to not overwrite files to my_copy() sql/ha_myisam.cc: Don't allow BACKUP TABLE to overwrite files sql/slave.cc: Fixed problem with --debug output from 'handle_slave' Fixed memory leak when replication restarts in debug mode
* | | Portability fix for IBM compiler on AIXunknown2003-03-071-2/+8
|/ / | | | | | | | | | | | | configure.in: Remove duplicated configure line sql-bench/crash-me.sh: Fix for connect test
* | Fixed bug in LOCK TABLE + DROP TABLE when other thread was waiting for a ↵unknown2003-03-041-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | table that was locked bug not droped client/mysqltest.c: Fixed bug that comments did a ping include/thr_lock.h: Added function to abort a lock for a specific thread mysql-test/mysql-test-run.sh: Fixed where mysqltest traces are put mysql-test/r/lock_multi.result: Test for LOCK TABLE + DROP TABLE bug mysql-test/t/lock_multi.test: Test for LOCK TABLE + DROP TABLE bug mysys/thr_lock.c: Added function to abort a lock for a specific thread sql/handler.cc: Indentation cleanup sql/lock.cc: Added function to abort a lock for a specific thread sql/mysql_priv.h: Added function to abort a lock for a specific thread sql/mysqld.cc: Use automatic recover even with --safe
* | Safety fix (caused a core dump on slave during shutdown when shutting down ↵unknown2003-02-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replication on some OS) mysql-test/t/rpl_rotate_logs-slave-master-info.opt: Rename: mysql-test/t/rpl_rotate_logs.slave-mi -> mysql-test/t/rpl_rotate_logs-slave-master-info.opt mysql-test/t/rpl000015-slave-master-info.opt: Rename: mysql-test/t/rpl000015.slave-mi -> mysql-test/t/rpl000015-slave-master-info.opt mysql-test/r/bigint.result: New bigint test mysql-test/t/bigint.test: New bigint test netware/mysql_test_run.c: slave-master-info.opt -> .slave-mi