Commit graph

1262 commits

Author SHA1 Message Date
jcole@tetra.spaceapes.com
5d218f59b0 Merge work.mysql.com:/home/bk/mysql
into tetra.spaceapes.com:/usr/home/jcole/bk/mysql
2001-02-21 02:36:36 -06:00
jcole@tetra.spaceapes.com
78daefc5b3 Cleanups... 2001-02-20 20:39:48 -06:00
monty@donna.mysql.com
8e4968d9c7 Added max_user_connections
Fixes for Innobase
Don't reset whole to-buffer in strxnmov
2001-02-20 22:34:47 +02:00
monty@donna.mysql.com
b7a3dc2a9d Updates for innobase
Removed a ' that casued 'make paper' to fail
2001-02-15 18:00:30 +02:00
monty@donna.mysql.com
450d98e341 Changed --replace to --replace_result in mysqltest
Changed errmsg -> my_errmsg (portability issue)
Fixed that mysqlbinlog writes SET TIMESTAMP before all queries
Fixed comments in default my.cnf files
2001-02-15 03:43:14 +02:00
monty@donna.mysql.com
059ad7f078 Force sockets to be blocking on HPUX 11.0
Changed BITMAP to MY_BITMAP to avoid type conflict on windows
2001-02-07 23:27:19 +02:00
monty@donna.mysql.com
d487e5a9b1 Use new bitmap interface
Patches for Armstrong
Removed warnings when using REPAIR TABLE .. EXTENDED
2001-02-07 17:42:20 +02:00
monty@donna.mysql.com
9d120741d2 Portability fixes
Changed TRUNCATE table_name -> TRUNCATE TABLE table_name
2001-02-02 03:47:06 +02:00
monty@donna.mysql.com
c40b10730e merge 2001-01-28 21:41:10 +02:00
sasha@mysql.sashanet.com
7db4b9b466 merge 2001-01-27 15:38:22 -07:00
sasha@mysql.sashanet.com
70f619856b fixed up lock counting code - Monty's suggestions
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
2001-01-27 15:33:31 -07:00
jcole@tetra.spaceapes.com
519e7256a6 manual merge 2001-01-27 03:27:40 -06:00
jcole@tetra.spaceapes.com
31569172ee Added --temp-pool option to mysqld. This will cause temporary files
created to use a small set of filenames, to try and avoid problems
in the Linux kernel.
2001-01-27 03:24:05 -06:00
sasha@mysql.sashanet.com
5f6561ec88 Table_locks_waited
Table_locks_immediate
2001-01-26 20:00:42 -07:00
monty@donna.mysql.com
6b9a8a92c3 Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysql 2001-01-27 01:21:50 +02:00
monty@donna.mysql.com
a7c5b9c211 Portability fixes for OPENBSD, OS2 and Windows 2001-01-27 01:20:56 +02:00
sasha@mysql.sashanet.com
6e9f4dd013 Docs/manual.texi
updates for new code
sql/mysqld.cc
    catch SIGBUS and SIGILL
    print query and connection id on coredump if possible
2001-01-25 14:00:13 -07:00
sasha@mysql.sashanet.com
e8ffda5397 Added last_errno and last_error to show slave status
slave will skip the first SQL_SLAVE_SKIP_COUNTER events on start - 
this is needed to recover from broken replication when the next log
event(s) should just be skipped.
Rotate binlogs when max_binlog_size is reached
2001-01-24 09:15:34 -07:00
monty@donna.mysql.com
62771338ca Changes for --with-server-suffix
Fixed mutex bug in logging (crash on windows when doing SET PASSWORD=)
Changed MERGE  tables to not use FILE
2001-01-21 16:30:16 +02:00
monty@donna.mysql.com
038fe2fc5c Added MYSQL_SERVER_SUFFIX to mysqld
Fixed bug in TRIM
changed strnmov -> strmake
2001-01-19 04:57:29 +02:00
monty@donna.mysql.com
c1b5a5b00f Removed not used variable 'last_ref'
Fixed problem with negative DECIMAL() keys
Fixed some bugs with NULL keys in BDB
More mysql-test tests
2001-01-16 06:02:05 +02:00
tim@donna.mysql.com
a7ab29a539 Merge donna.mysql.com:/home/my/bk/mysql
into donna.mysql.com:/home/tim/my/work
2001-01-14 12:56:01 +02:00
monty@donna.mysql.com
94bc7ce8d7 Fixed that --open-files-limit works on Linux 2001-01-14 12:25:30 +02:00
tim@donna.mysql.com
b9eaaf17b9 Add bdb_version variable, and a new test. 2001-01-13 16:12:45 +02:00
monty@donna.mysql.com
9c80d5cb70 Patches for NetBSD/macppc
Fixed bug in LEFT JOIN
Added bdb_log_buffer_size
2001-01-12 13:52:32 +02:00
monty@donna.mysql.com
6d0e529042 Fixed bug when having many binary log files
Fixed bug when deleting keys with possible NULL values
many changes to mysqltest
2001-01-08 00:04:30 +02:00
monty@donna.mysql.com
e9c2f7d439 Fixes to get mysql-test included in the distributions 2001-01-02 14:29:47 +02:00
monty@donna.mysql.com
78f7befa20 cleanups 2000-12-31 12:10:14 +02:00
monty@donna.mysql.com
4de5ac3327 Fixed new bug in BDB tables 2000-12-31 11:38:44 +02:00
monty@donna.mysql.com
07b1f0dccd Fixed --no-defaults in mysqltest 2000-12-29 16:06:10 +02:00
monty@donna.mysql.com
60677ffd2c Cleanup of tests
Fixed bug with ALTER TABLE on HEAP tables
2000-12-28 19:25:41 +02:00
monty@donna.mysql.com
361067e915 Extended mysqltest with --commands and 'require'
Fixed test results.
Added mysqld variable 'have_isam'
2000-12-27 03:31:06 +02:00
monty@donna.mysql.com
a12c1ffb9a --safe-show-db and have_xxx variables 2000-12-26 17:34:04 +02:00
monty@donna.mysql.com
6ba7c07ce2 merge 2000-12-24 15:22:33 +02:00
monty@donna.mysql.com
b590fa2567 New benchmark test
Fixed bug in REPLACE with BDB tables
Prepare for write lock on read for BDB
Inform the handler when we want to use IGNORE / REPLACE
New manual pages
2000-12-24 15:19:00 +02:00
sasha@mysql.sashanet.com
e0f3ef911c Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-12-19 18:03:24 -07:00
sasha@mysql.sashanet.com
2c2c9c9fd5 sql/mysqld.cc
small fixes in backtrace code
2000-12-19 18:02:25 -07:00
sasha@mysql.sashanet.com
abd31b570e fixes for backtracing, still will not push, just a local commit 2000-12-19 07:56:24 -07:00
monty@donna.mysql.com
11f7fd10f0 erge with 4.0 + updates for column types 2000-12-18 23:29:52 +02:00
sasha@mysql.sashanet.com
eccd463bd2 fixed logging bug in generate_table()
added message on all segfaults, and numeric backtrace of Linux i386
introduced a bug into ENCRYPT() to test backtrace - will clean up
before push, but need this commit locally to pull on slave repositories
to do further testing
2000-12-18 11:09:45 -07:00
monty@donna.mysql.com
155823ad51 Lots of new benchmark runs
Remember filename for temporary files created with mkstemp
Fixed wrongly allocated BDB share structure
Cleanups for SunPRO
2000-12-18 16:09:19 +02:00
monty@donna.mysql.com
5cce198b69 Fixed error when copying mysqld_multi
Fixes for mysql-test
Fixed race condition in SHOW LOGS
2000-12-16 23:41:45 +02:00
monty@donna.mysql.com
bed1668e23 Backed out the new LARGEFILE patch as it broked several things 2000-12-16 14:26:00 +02:00
monty@donna.mysql.com
f9dcc70932 configure fix to get Linux to work with new large file system detection 2000-12-16 04:35:17 +02:00
monty@tik.mysql.com
b186b4f27a Fixed that LPAD() and RPAD() cuts arguments
New test for string functions
2000-12-15 10:58:17 +02:00
sasha@mysql.sashanet.com
c8a915880b I hope I've fixed all the bugs by now, let's test it 2000-12-11 12:06:34 -07:00
sasha@mysql.sashanet.com
3cf810222a fixed up leaks found by --exit-info=256
better error diagnostic in SLAVE START
2000-12-09 14:28:51 -07:00
sasha@mysql.sashanet.com
72fc1259a1 logs were not being called with exiting set to true on server exit 2000-12-08 21:01:36 -07:00
sasha@mysql.sashanet.com
2cd21162ca sql/mysqld.cc
fixed auto set of server id
sql/sql_repl.cc
    do not allow slave to replicate if master id was not supplied
sql/sql_repl.h
    fix for server_id
2000-12-08 12:50:57 -07:00
monty@donna.mysql.com
87d9388e52 Only write full transactions to binary log
A lot of new functions for BDB tables
Fix for DROP DATABASE on windows
Default server_id variables
2000-12-07 14:08:48 +02:00
monty@narttu.mysql.fi
4d2076be87 Added innobase handler files
Change that handler gets file names in native format
2000-12-05 19:42:02 +02:00
sasha@mysql.sashanet.com
07b36014fc added loops and other cool stuff to mysqltest
fixed slave to preserve temp tables on slave stop; slave start
added abort-slave-event-count option to mysqld to test the above
added a test case for temp tables with a contantly aborting slave
removed warning in sql_parse.cc
fixed thimble.cc to compile
2000-12-02 10:11:50 -07:00
monty@donna.mysql.com
08a2c58ed1 Fixed bug in 'drop table'
Portability fixes
2000-11-29 05:09:28 +02:00
tim@threads.polyesthetic.msg
ea0a749132 Merge work.mysql.com:/home/bk/mysql
into threads.polyesthetic.msg:/usr/local/src/my/work
2000-11-28 13:46:59 -05:00
sasha@mysql.sashanet.com
25ae951289 Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-11-27 23:10:49 -07:00
tim@threads.polyesthetic.msg
b8dfb28e3c mysqld.cc minor formatting change 2000-11-27 21:52:09 -05:00
tim@threads.polyesthetic.msg
cfe4b99dcf Merged 2000-11-27 21:52:08 -05:00
monty@donna.mysql.com
74e7ffe987 New thr_alarm struct for better integration with OS2
Run bootstrap in separate thread
Fix bug in FLUSH TABLES table_name
2000-11-28 04:47:47 +02:00
tim@threads.polyesthetic.msg
a9c031ed5e Generalize handle_flush thread to also handle various management
tasks for different handlers.  Add a callback from berkeley db to
delete log files that are no longer needed.
2000-11-27 18:14:49 -05:00
sasha@mysql.sashanet.com
93c0180805 Merge work.mysql.com:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-11-27 11:13:05 -07:00
sasha@mysql.sashanet.com
dd24015eac Fixed temp tables to work with replication. It will not work if you stop the slave
while slave thread has temp tables - not hard to fix though, but it is time to go to bed

added a new test case for temp table replication and Slave_open_temp_tables
status variable.

Misc fixes
2000-11-25 23:29:01 -07:00
monty@donna.mysql.com
81bc313e99 All statements are now run in a sub transaction
Give warning if we are using non transactional tables and do ROLLBACK
Porting of crash-me and benchmarks to FrontBase
2000-11-24 01:51:18 +02:00
sasha@mysql.sashanet.com
46400961f7 mysql-test/mysql-test-run
cleanup - remove unneeded daeamon restarts
sql/log_event.cc
    fixed bug - do not confuse confused slaves even further if they try to 
    read less than LOG_EVENT_HEADER_LEN before the end of file
sql/mysqlbinlog.cc
    give error if constructor fails
sql/mysqld.cc
    --disconnect-slave-event-count for replication debugging
sql/slave.cc
    --disconnect-slave-event-count
    cleanup to remove unneeded sleeps when things go wrong - sleep only 
    when we have to
sql/slave.h
    --disconnect-slave-event-count

test cases for ALTER TABLE ORDER BY and replication offset off by 22 
confusion mystery bug (both pass)
2000-11-22 00:23:31 -07:00
sasha@mysql.sashanet.com
14854a669a fixed warning in sql_class.cc
added gdb support, mysqld options per test, and other cool stuff to mysql-test-run
added --replicate-wild-do/ignore-table
more test cases
2000-11-20 23:38:08 -07:00
monty@donna.mysql.com
61fd6baf4b Bug fix for NATURAL JOIN, Split manual sections and more statistic variables 2000-11-20 02:57:02 +02:00
monty@donna.mysql.com
b31d076879 Fixed some reported bugs 2000-11-18 23:13:48 +02:00
monty@donna.mysql.com
e5dcd8bed3 Portability fixes 2000-11-18 02:15:06 +02:00
monty@narttu.mysql.fi
22415489f2 Fixes for bugs in the usage of IO_CACHE 2000-11-17 02:36:46 +02:00
monty@narttu.mysql.fi
ca2cca8dce merge 2000-11-16 20:55:52 +02:00
monty@donna.mysql.com
217ef71afa Fixes for IO_CACHE 2000-11-16 20:47:28 +02:00
sasha@mysql.sashanet.com
eb0a423e0e merged 2000-11-15 18:58:59 -07:00
monty@narttu.mysql.fi
b689a1a752 merge 2000-11-16 00:24:11 +02:00
sasha@mysql.sashanet.com
f2b9a60ec4 repl-tests/test-repl-ts/repl-timestamp.master.reject
this file needs to be deleted
sql/log_event.cc
    fixed warnings
sql/log_event.h
    fixed () #define bug
sql/mysqlbinlog.cc
    fixed length argument - was supposed to be one less
sql/mysqld.cc
    replicate-do/ignore-table now works, wild does not yet
sql/mysql_priv.h
    updating argument to add_table_to_list() -- needed for replicate-do/ignore table
sql/slave.cc
    changes fore replicate-do/ignore-table
    close the socket before going to sleep sleeping after error
    bad event was being freed too early
sql/slave.h
    changes for replicate-do/ignore-table
sql/sql_class.cc
    slave_thread variable to THD
sql/sql_class.h
    added slave_thread to THD, fixed bug in end_time()
sql/sql_parse.cc
    updating argument to add_tables_to_list()
sql/sql_table.cc
    fixed bug in mysql_rm_table()
sql/sql_yacc.yy
    fixed up add_table_to_list() calls to accept updating argument
sql/table.h
    added updating to TABLE_LIST
2000-11-13 23:43:02 -07:00
monty@tik.mysql.com
7a013339f8 Bug fixes, TRUNCATE, safer passwords on command line and connect timeout 2000-11-13 23:55:10 +02:00
sasha@laptop.slkc.uswest.net
a25aed33d9 laptop commit, syncing with the repostitory. Fixed some bad bugs in replication 2000-11-11 14:50:39 -07:00
sasha@mysql.sashanet.com
fddab55df3 BitKeeper/triggers/post-commit
send the diffs
Docs/manual.texi
    updated change history
include/my_sys.h
    Moved safemalloc_mem_limit here
mysys/safemalloc.c
    fixed up safemalloc_mem_limit
sql/mysqld.cc
    moved safemalloc_mem_limit declaration to my_sys.h
2000-11-04 21:00:41 -07:00
sasha@mysql.sashanet.com
96815f82a6 libmysql/libmysql.c
keep vio from being freed twice when we are low on memory
mysys/safemalloc.c
    changes for --safemalloc-mem-limit
sql/mini_client.cc
    keep vio from being freed twice
sql/mysqld.cc
    changes for --safemalloc-mem-limit
sql/slave.cc
    prevent closing connection twice
sql/sql_string.h
    shrink() did not work right when my_realloc() failed
2000-10-28 23:26:48 -06:00
sasha@mysql.sashanet.com
75cd25a579 fixed --skip-slave-thread bug
added PURGE MASTER LOGS TO and SHOW MASTER LOGS
fixed the output of SHOW MASTER STATUS
updated docs
2000-10-26 22:11:55 -06:00
monty@donna.mysql.com
adeed9168d Added bdb_lock_max and fixed bug in BDB tables when using key parts 2000-10-25 01:50:46 +03:00
monty@donna.mysql.com
b5ad31dffe Give an error if you use a BLOB(X) where X > 255
Fixes for MIT pthreads
2000-10-22 01:19:05 +03:00
monty@donna.mysql.com
2fedd7bae7 Bug fixes + defines for INNOBASE 2000-10-20 17:39:23 +03:00
monty@donna.mysql.com
117d8b7f64 Automatic repair of MyISAM tables + small bug fixes 2000-10-17 00:47:15 +03:00
monty@donna.mysql.com
4337694a62 Merge 2000-10-14 03:20:00 +03:00
monty@donna.mysql.com
7ac13c89e6 Fix of LEFT JOIN optimizer bug, problem with key cache on Windows and
a lot of portability issues.
2000-10-14 03:16:35 +03:00
serg@serg.mysql.com
0a050cf464 SET OPTION SQL_QUOTE_SHOW_CREATE = 0 | 1
It makes SHOW CREATE TABLE to quote table and column names.
This is ON by default !
2000-10-10 21:31:00 +02:00
sasha@mysql.sashanet.com
f452ab6f90 sql/log.cc
Added magic number to binlog
sql/log_event.cc
    distinquish bogus data from truncated logs
sql/log_event.h
    added magic number
    added LOG_READ_TRUNC error
sql/mysqlbinlog.cc
    fixed to handle magic number
    added O_BINARY to my_fopen
sql/mysqld.cc
    added code for replicate-rewrite-db
sql/slave.cc
    replicate-rewrite-db
    O_BINARY
    handle magic
sql/sql_class.h
    added i_string_pair class
sql/sql_repl.cc
    added magic
    better error messages
support-files/magic
    added magic for binlog

Added test case for replication of queries with error
2000-10-05 17:58:16 -06:00
monty@donna.mysql.com
527113d370 merge 2000-10-04 23:22:53 +03:00
monty@tramp.mysql.fi
9f7c4563f7 First part of automatic repair of MyISAM tables.
Error on full disk on repair.
SIGHUP signal handling.
Update with keys on timestamp
Portability fixes
2000-10-03 14:18:03 +03:00
sasha@mysql.sashanet.com
62a6a0fdf1 bug fixes in server-id, moved replication functionality to
sql_repl.* will push this one, since the replication code now works
2000-09-29 17:20:26 -06:00
sasha@mysql.sashanet.com
079d859072 merge/resolve conflicts 2000-09-28 16:29:00 -06:00
sasha@mysql.sashanet.com
ea0f48ffb2 This one will not be pushed, I am committing to be able to pull in Monty's changes
added server id, mostly working
added --skip-slave-start, working
added --replicate-rewrite-db - just in the cmd line parses, currently noop
2000-09-28 16:24:50 -06:00
monty@donna.mysql.com
0814ea212a Bigger ranges if set_maximum_open_files fails + fix for release 2000-09-27 11:47:30 +03:00
monty@tramp.mysql.fi
e32799e4dd RIGHT JOIN, part of automatic repair of MyISAM tables, backup on repair,
reading from FIFO, fixes for FULLTEXT, @@IDENTITY
2000-09-26 00:33:25 +03:00
monty@donna.mysql.com
df280335b0 Fix for SAFE_MUTEX + MERGE tables 2000-09-21 01:58:38 +03:00
monty@donna.mysql.com
830d308960 Fix for SAFE_MUTEX on windows 2000-09-20 19:37:07 +03:00
monty@donna.mysql.com
dc4525636c Small bug fixes + code for DELETE QUICK 2000-09-20 04:54:10 +03:00
monty@donna.mysql.com
751f2d1f16 Faster log::write() call, memory leak fix, flush master fix. 2000-09-16 04:27:21 +03:00
monty@donna.mysql.com
2776500c22 Update to new root alloc, OPTIMIZE TABLE and some other changes 2000-09-12 03:02:33 +03:00
monty@donna.mysql.com
71b1a2990a Added create_tmp_disk_tables + comments for 3.23.24 2000-09-07 15:27:08 +03:00
monty@donna.mysql.com
f5c38fb48c Merge 2000-09-07 05:05:51 +03:00
monty@donna.mysql.com
be5e4e72b6 Small bug fixes 2000-09-07 04:55:17 +03:00
jcole@tetra.spaceapes.com
6355860b7c mysqld.cc: Making 80-column displays a little happier. 2000-09-04 08:21:14 -05:00
monty@donna.mysql.com
4496d43faa Quoting of TIMESTAMP columns and small optimizations 2000-09-02 07:58:42 +03:00
jcole@tetra.spaceapes.com
eaddff59b5 Cleaned up structs/enums in mysqld.cc 2000-09-01 18:10:56 -05:00
monty@donna.mysql.com
ce40c2fd83 --core-file ; To get a core on SIGSEGV when using Linuxthreads 2000-08-30 06:05:12 +03:00
monty@donna.mysql.com
306640e274 Updates for release 2000-08-29 19:38:32 +03:00
monty@donna.mysql.com
710b75f5b8 merge 2000-08-29 12:56:57 +03:00
monty@donna.mysql.com
066d55c0c0 Bug fixes for 3.23.23 2000-08-29 12:31:01 +03:00
serg@infomag.ape.relarn.ru
6236dfc7a3 Stopwords (English only); fulltext keys now can be repaired 2000-08-25 19:56:55 +04:00
monty@donna.mysql.com
f0952ce3e1 FLUSH TABLE table_list
Fixes for RENAME TABLE
Portability fixes
2000-08-22 00:18:32 +03:00
monty@donna.mysql.com
ea013c2152 Fixed for Ia64 + delayed key creation + a lot of small bug fixes 2000-08-15 20:09:37 +03:00
bk@work.mysql.com
f4c589ff6c Import changeset 2000-07-31 21:29:14 +02:00