Commit graph

402 commits

Author SHA1 Message Date
monty@work.mysql.com
390e57687b merge 2001-09-28 06:28:04 +02:00
monty@tik.mysql.fi
e05bf277d6 Final fixes for INSERT into MERGE tables.
Move MAX_BLOB_WIDTH to be global
Added full support for unsigned BIGINT
Fixed spelling errors
2001-09-27 21:45:48 +03:00
Miguel@light.local
3b774da463 Changes on NT service for a more faster stop of the service on Win2k
and free the main thread of the service.
2001-09-25 01:13:19 -03:00
monty@hundin.mysql.fi
ed297508c4 Fixes for distributed build
Changed --do-pstack to --enable-pstack
Removed pstack from default build
2001-09-21 16:36:23 +03:00
serg@serg.mysql.com
24d282e7b6 mysqld.cc cannot use unireg_abort before unireg_init 2001-09-18 01:26:50 +02:00
monty@work.mysql.com
eb9cbe2cba merge 2001-09-17 23:26:00 +02:00
monty@hundin.mysql.fi
56cc14ab4c Added unique error for DEADLOCK
Include missing man pages into binary distribution
2001-09-17 23:43:53 +03:00
tim@black.box
7c65c72dc2 Merge 2001-09-16 22:10:50 -04:00
tim@black.box
e6e25a567b Add some examples for using libmysqld, including a hack for running the
mysql test suite.

A few minor libmysqld fixes.

Add mysql_server_init() and _end() to mysql.cc and mysqltest.c, so they
can be linked against libmysqlclient or libmysqld.
2001-09-16 21:41:22 -04:00
monty@hundin.mysql.fi
d1e3041ce9 Fixed bug in --safe-create-user 2001-09-15 15:24:56 +03:00
monty@hundin.mysql.fi
77ee990bca Cleanups 2001-09-15 05:03:16 +03:00
monty@work.mysql.com
18474d8419 Merge with 3.23.42 2001-09-13 09:52:35 +02:00
monty@hundin.mysql.fi
7a19987805 OS2 patch 2001-09-12 23:53:31 +03:00
monty@tik.mysql.fi
36a14aacaa merge 2001-09-08 03:53:04 +03:00
monty@tik.mysql.fi
fcb7292e48 Unlock tables on BEGIN 2001-09-08 01:01:10 +03:00
monty@hundin.mysql.fi
b4ec9cf608 Cleanups 2001-09-07 22:38:45 +03:00
monty@tik.mysql.fi
4f4e9e77ae Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-09-04 16:21:53 +03:00
monty@tik.mysql.fi
e108cc775d Portability fix 2001-09-04 16:17:31 +03:00
monty@work.mysql.com
447c18954e merge with 3.23.42 2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
825ad1f8e7 Added testing of IN(value-list)
Portability fixes
2001-09-02 16:03:37 +03:00
tonu@x153.internalnet
102cabfe4a Fixed compilation problems when HAVE_OPENSSL is not defined 2001-09-01 23:29:58 +08:00
tonu@x153.internalnet
6e490cb713 Yet another SSL fixes 2001-09-01 06:57:08 +08:00
tonu@x153.internalnet
9cd207e0ca OpenSSL fixes 2001-09-01 06:30:05 +08:00
monty@hundin.mysql.fi
e251f9d827 Fixed problem with INSERT DELAYED
Make killing threads safer
2001-08-31 23:02:09 +03:00
tonu@x153.internalnet
f194e4012a OpenSSL work 2001-08-30 04:28:55 +08:00
tonu@x153.internalnet
4194c075e8 Typo fix 2001-08-29 15:37:29 +08:00
sasha@mysql.sashanet.com
6680695f67 fixed compile error 2001-08-27 18:01:06 -06:00
tonu@x153.internalnet
43b6138a45 OpenSSL changes 2001-08-27 03:34:52 +08:00
tonu@x153.internalnet
b4815e5ec7 Warning fixes 2001-08-23 03:05:56 +08:00
monty@bitch.mysql.fi
b2c030e894 Fix to get core files on Solaris 2001-08-22 12:22:46 +03:00
monty@hundin.mysql.fi
733f865f54 Fixes for OS2.
Fix bug in isamlog
Add argument types to function declarations.
2001-08-22 01:45:07 +03:00
monty@hundin.mysql.fi
063a1a6557 Portability fixes.
Patches required by Gemini
Fix to properly detect if there is an active transaction in InnoDB
Fix to not lock thread structure when doing automatic rollback when thread ends
Allow -O lower_case_names=0 on UNIX
2001-08-21 20:06:00 +03:00
monty@hundin.mysql.fi
a1be2a894f Fix of UNION code
Added heap_delete_table
Added HA_EXTRA_PREPARE_FOR_DELETE
Added and use my_dup() for faster open of tables.
Removed not working no-mix-table-type
2001-08-19 14:43:51 +03:00
Sinisa@sinisa.nasamreza.org
1e1a1ec064 New startup options and some cleanups 2001-08-18 15:29:21 +03:00
sasha@mysql.sashanet.com
440bff2571 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-08-15 16:15:20 -06:00
sasha@mysql.sashanet.com
21424657e4 merged replication fixes from 3.23 2001-08-15 15:57:47 -06:00
sasha@mysql.sashanet.com
f6099e532e improvements for stopping the slave in SLAVE STOP and on shutdown 2001-08-15 15:41:52 -06:00
monty@hundin.mysql.fi
59e7c97dab Remove warnings and portability fixes
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
2001-08-14 20:33:49 +03:00
sasha@mysql.sashanet.com
8c4326057f fixed HUP bug, last fix was not complete 2001-08-13 20:09:21 -06:00
monty@hundin.mysql.fi
cf19429793 Cleanups 2001-08-13 17:59:40 +03:00
sasha@mysql.sashanet.com
7c344a582c post-merge fixes to make it compile. It still fails the fulltext test,
(wrong error code) but I'll push it so that Sergei could clean up
 my merge
2001-08-11 19:54:31 -06:00
sasha@mysql.sashanet.com
7267133886 merged 2001-08-11 17:28:41 -06:00
sasha@mysql.sashanet.com
89ac8682dd Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-08-11 17:08:21 -06:00
monty@bitch.mysql.fi
df7a29214a Made SIGTERM safer for Solaris 2001-08-11 11:24:43 +03:00
tim@black.box
a1a834a650 Embedded mysql fixes.
There is now a mysql_server_init() function which needs to be
called at the beginning of the program (and _end() for the end
of the program).  This routine handles argument parsing for the
embedded server.

Use the embedded version of mysql_load_file() (ignore the LOCAL
argument, since the client and server are the same program).

There are now mysql_thread_init/end() functions for the client
to use in a multi-threaded app.  They are just wrappers for
my_thread_init/end().
2001-08-10 12:37:36 -04:00
monty@hundin.mysql.fi
65a711f40f Allow myisam-recover="" and --sql-mode="" 2001-08-10 19:02:23 +03:00
monty@hundin.mysql.fi
8a9d6072fa merge 2001-08-10 17:47:05 +03:00
monty@hundin.mysql.fi
e7575da7bb Portability fixes
Added record_rnd_buffer
Added --safe-user-create
Fix for ALTER TABLE RENAME on windows
2001-08-10 17:37:37 +03:00
jani@hynda.mysql.fi
0ca647c01c Fixed bug in show variables, it didn't show whether slow-query was
enabled or not.
2001-08-10 13:47:27 +03:00
jani@hynda.mysql.fi
0b68a21b5d changed variable display from string to int (bits) for myisam-recover
and sql-mode options.
2001-08-10 12:40:49 +03:00
sasha@mysql.sashanet.com
f6836bf81a merged 2001-08-09 19:16:15 -06:00
jani@hynda.mysql.fi
44722151fd Added new optino --sql-mode to mysqld. 2001-08-09 18:51:38 +03:00
sasha@mysql.sashanet.com
09eda84f2e LOAD DATA INFILE is now replicated properly, except for cleanup on
Stop event and bugs the test suite could not catch
Did some big restructuring of binlog event classes - most important
change is that now each event class has exec_event method and one does
not need to modify slave core code to add a new event. Slave code is
now much smaller and easier to read
2001-08-03 15:57:53 -06:00
monty@tik.mysql.fi
0d55e93614 Fix when using --without-server --with-thread-safe-client
Added prototype for my_thread_end
New error message for MATCH
Give error when using myisamchk --force --readonly
2001-08-04 00:10:00 +03:00
tonu@x153.internalnet
e1fa72edef Merge work.mysql.com:/home/bk/mysql-4.0
into x153.internalnet:/home/tonu/mysql-x
2001-07-24 15:00:36 +08:00
tonu@x153.internalnet
85c287a439 OpenSSL fixes. Should not affect anything else. 2001-07-24 14:07:46 +08:00
monty@work.mysql.com
01cda0929a merge 2001-07-18 23:58:10 +02:00
monty@hundin.mysql.fi
5a8e734b9a Upgrade TL_WRITE_CONCURRENT_INSERT to TL_WRITE_LOW_PRIORITY if
--low-priority-updates is used and the file has holes.
2001-07-18 23:34:04 +03:00
sasha@mysql.sashanet.com
14c23716a6 added slave_net_timeout 2001-07-17 14:22:52 -06:00
serg@serg.mysql.com
0bbd660c99 merged 2001-07-12 14:58:20 +02:00
sasha@mysql.sashanet.com
77e2af48c6 fixed uninitialized use of variable in mysqltest
fixed race condition in binary log auto-rotation
get rid of extention in binary log to avoid non-rotatable logs
2001-07-11 20:59:17 -06:00
sasha@mysql.sashanet.com
21a8aaa29d fixed race condition in automatic binlog rotation
remove extension from binary log if the user specifies one to avoid
    non-rotatable logs
fixed possible use of unitialized IO_CACHE in debug mode
2001-07-11 19:29:23 -06:00
sasha@mysql.sashanet.com
6bedc85977 merged 2001-07-07 15:17:25 -06:00
sasha@mysql.sashanet.com
b2f0171b32 HUP should not flush everything, just the logs 2001-07-06 15:30:52 -06:00
serg@serg.mysql.com
0043136882 merged 2001-07-02 21:52:22 +02:00
serg@serg.mysql.com
15b6738474 memory-limited tree
bulk inserts optimization: caching keys in binary tree
2001-07-02 21:18:57 +02:00
sasha@mysql.sashanet.com
12b442b649 post-merge fix
fixed bug in LOAD DATA FROM MASTER
2001-06-29 09:55:21 -06:00
sasha@mysql.sashanet.com
242037992f merged with 3.23 replication updates 2001-06-28 19:48:49 -06:00
sasha@mysql.sashanet.com
2e4d264c27 fixed message in post-commit trigger
added debugging options to master to behave sporadically, and a 
test case to make sure the slave can deal with it
2001-06-28 18:22:29 -06:00
monty@hundin.mysql.fi
65600db56d Fixed bug when sorting big files (introduced with multi-table-delete)
Changed mysql-test to use --language
Cleaned up parameters to filesort()
2001-06-25 11:35:22 +03:00
heikki@donna.mysql.fi
f6cfc8a80d mysqld.cc Put OPT_INNODB_UNIX_FILE_FLUSH_METHOD to mysqld.cc enum type 2001-06-24 20:45:57 +03:00
monty@work.mysql.com
7f68199648 merge 2001-06-21 11:03:54 +02:00
monty@hundin.mysql.fi
11e567229a UNIQUE keys are not anymore shown as PRIMARY KEY 2001-06-21 10:50:14 +03:00
monty@hundin.mysql.fi
34b528f13f Added --warnings to mysqld 2001-06-21 01:12:29 +03:00
heikki@donna.mysql.fi
fef5a6d84a manual.texi Had to revert name back to innodb_unix_file_flush_method because one line in mysqld.cc was not changed in 3.23.39
mysqld.cc	Had to revert name back to innodb_unix_file_flush_method because one line in mysqld.cc was not changed in 3.23.39
2001-06-13 19:27:51 +03:00
sasha@mysql.sashanet.com
f0c252e6a9 merged 2001-06-12 15:08:58 -06:00
monty@hundin.mysql.fi
6aa6374e3e Added --skip-stack to mysql-test-run 2001-06-12 18:00:36 +03:00
monty@work.mysql.com
0652902ab5 merge 2001-06-12 14:12:35 +02:00
monty@hundin.mysql.fi
e1d12383fa Removed --use-symbolic-links 2001-06-07 00:23:55 +03:00
monty@hundin.mysql.fi
b79da88808 Changed innodb_unix_file_flush_method -> innodb_flush_method
Cleaned up error messages.
2001-06-07 00:10:59 +03:00
monty@hundin.mysql.fi
704c03ca57 Updated benchmarks and crash-me for postgreSQL 7.1.1
Fixed option for symlinks
2001-06-05 04:05:33 +03:00
monty@hundin.mysql.fi
6cce897696 merge 2001-06-05 03:48:25 +03:00
monty@hundin.mysql.fi
4cbe66582c Symlinking of tables should not work.
Fixed error number handling bug in mysqltest.
Fixed that error number from insert delayed is reported correctly.
merged new vio code with old violite code.
2001-06-05 03:38:10 +03:00
sasha@mysql.sashanet.com
060da63ab3 Merge mysql.sashanet.com:/home/sasha/src/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-04 17:34:11 -06:00
monty@hundin.mysql.fi
bea6d78873 Fixed portability problem. 2001-06-04 04:08:30 +03:00
serg@serg.mysql.com
30bb7b5171 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2001-06-03 09:06:12 +02:00
serg@serg.mysql.com
8e4246ca97 misplaced #ifdef fixed 2001-06-03 09:03:24 +02:00
sasha@mysql.sashanet.com
ad0b92f941 do not show user/pass for slave unless running with show-slave-auth-info
cleanup of register_slave_on_master()
2001-06-01 21:15:15 -06:00
monty@work.mysql.com
ef8d161dea merge 2001-06-01 23:51:23 +02:00
monty@hundin.mysql.fi
dd83beb76a Added --skip-symlinks
Don't force repair of tables that are not closed properly.
2001-06-01 19:38:47 +03:00
tonu@hundin.mysql.fi
537846a412 Merge tonu@work.mysql.com:/home/bk/mysql-4.0
into hundin.mysql.fi:/home/tonu/mysql-4.0
2001-05-31 17:20:02 +03:00
tonu@hundin.mysql.fi
1519e5d01d Support for VIO library 2001-05-31 17:18:25 +03:00
monty@work.mysql.com
df56b252a7 merge 2001-05-31 12:56:05 +02:00
sasha@mysql.sashanet.com
a817bd3862 A slave now can optionally register with the master providing the
info on how to connect to the slave for the clients that connect to
the master, but would like to know where the slaves are
2001-05-30 18:50:56 -06:00
monty@tik.mysql.fi
38c035c098 Fixed portability bug in my_config.sh
Added print of --use-symbolic-links in mysqld
2001-05-28 02:45:19 +03:00
monty@donna.mysql.fi
3641a481d2 Merge work:/home/bk/mysql-4.0 into donna.mysql.fi:/home/my/bk/mysql-4.0 2001-05-23 23:54:18 +03:00
monty@work.mysql.com
b684e9aaeb Merge 2001-05-23 22:52:21 +02:00
monty@donna.mysql.fi
cc4e7310c8 Merge work:/home/bk/mysql-4.0 into donna.mysql.fi:/home/my/bk/mysql-4.0 2001-05-23 23:49:06 +03:00
heikki@donna.mysql.fi
587df0036a srv0srv.h One can now specify innodb_unix_file_flush_method in my.cnf
srv0srv.c	One can now specify innodb_unix_file_flush_method in my.cnf
srv0start.c	One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.cc	One can now specify innodb_unix_file_flush_method in my.cnf
ha_innobase.h	One can now specify innodb_unix_file_flush_method in my.cnf
mysqld.cc	One can now specify innodb_unix_file_flush_method in my.cnf
2001-05-23 18:04:49 +03:00
monty@tik.mysql.fi
8685094e15 Don't write rows in MyISAM tables when using count(distinct)
Don't read MyISAM header when running without locking
2001-05-23 02:40:46 +03:00
tonu@x3.internalnet
6a89fbd2e5 Merge work.mysql.com:/home/bk/mysql-4.0
into x3.internalnet:/home/tonu/bk/mysql-4.0-modified
2001-05-20 20:41:49 +02:00
tonu@x3.internalnet
b8670d4819 mysqld.cc openssl support 2001-05-20 20:36:59 +02:00
monty@work.mysql.com
914bbdca50 merge 2001-05-20 12:38:19 +02:00
monty@donna.mysql.fi
25a129c96f Force close of sockets on HPUX 10.20
Support option lines longer than 256 chars.
Close the slow log at shutdown.
Always allow debug options to mysqld.
Change some DBUG_PRINT tags.
2001-05-19 10:14:05 +03:00
monty@donna.mysql.fi
2ba0846a60 Fixed bug when using MERGE on files > 4G
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.
2001-05-17 00:46:50 +03:00
monty@donna.mysql.fi
329382c1e5 Cleanup up stacktrace code
Updated qsort source from glibc.
Add debugging of keycache when EXTRA_DEBUG is specified
2001-05-14 01:12:40 +03:00
monty@donna.mysql.fi
a4289cc0c8 Added information about using mysql-max 2001-05-12 09:24:35 +03:00
monty@donna.mysql.fi
10920d0be1 Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-05-12 01:01:27 +03:00
monty@donna.mysql.fi
369ea3bb8e cleanup 2001-05-12 01:00:46 +03:00
sasha@mysql.sashanet.com
7c9b9f471c Merged with 3.23, needs further fix-up 2001-05-10 15:06:35 -06:00
sasha@mysql.sashanet.com
4e04aa4abd sql/mysqld.cc
put back the things that the merge removed
2001-05-09 22:42:49 -06:00
sasha@mysql.sashanet.com
c77547ea06 merged 2001-05-09 22:29:21 -06:00
sasha@mysql.sashanet.com
e809e2df1b stack trace updates:
limited support on Alpha - in general case, even with frame pointer,
stack trace on alpha is impossible without looking at the symbol table
frame pointer does get saved on the stack, but you have no idea where
and where the return address is saved. So the best we can do without
the symbol table is look for magic opcodes and try to guess how big 
each frame is and where the return address was hidden from the 
instruction parameters. In practice, we can usually go up 3-4 frames 
before we hit some nasty frame that the current code cannot figure
out. This is actually not too bad, especially when we already have the query

Also cleaned up messages, print more variables, tell the user of
how much memory mysqld could potentially use, and warn of
what can happen with default STACK_SIZE and a lot of connections if
coredump happens when there are more than 200 connections.
2001-05-09 22:22:04 -06:00
monty@donna.mysql.fi
965cd30f87 Applied patches for BDB tables
Fixes to InnoDB to compile on Windows
Fix for temporary InnoDB tables
Fixed bug in REPLACE()
Fixed sub char keys for InnoDB
2001-05-09 23:02:36 +03:00
monty@donna.mysql.fi
e30fd503ec Cleanup 2001-04-29 16:07:40 +03:00
monty@donna.mysql.fi
21e7c668ff Portability fixes for Ia64 and Sgi compiler
DROP DATABASE in mysqladmin asks for confirmation (again)
Added examined_rows to slow query log
SHOW CREATE for TEMPORARY table
2001-04-25 22:44:27 +03:00
serg@serg.mysql.com
185c2beaea ft_* variables added 2001-04-17 21:30:02 +02:00
serg@serg.mysql.com
f48ed45303 merged 2001-04-13 21:16:53 +02:00
monty@donna.mysql.fi
8700c02dae Changed Innobase to Innodb
Deleted a lot of old benchmark runs
2001-04-13 12:25:12 +03:00
sasha@mysql.sashanet.com
593e7ab4f3 Ugly merge of 3.23 changes into 4.0 - fix up needed 2001-04-11 19:09:00 -06:00
sasha@mysql.sashanet.com
2392c3abd7 fixed bugs in the new stuff in rpl000001 test
start slave thread if master.info is present and server_id is set
updates for rpl000015 and rpl000016 to remove master.info to make sure
master info struct does not get auto-initialized
2001-04-11 16:29:15 -06:00
monty@work.mysql.com
8f62579c38 Added all changes from old 4.0 version:
PSTACK, libmysqld and MySQL filesystem
UPDATE ... ORDER BY
DELETE ... ORDER BY
New faster fulltext handling
Faster compressed keys
2001-04-11 13:04:03 +02:00
monty@donna.mysql.fi
7f21a7a6da Fixed INSERT DELAYED with Innobase
Fix for shutdown on NT
Fixed bug when using wrong dates from blob field.
2001-04-09 21:08:56 +03:00
monty@donna.mysql.fi
9ea338ac3f Added INNODB as a synonym for INNOBASE
Fixed bug where FLUSH TABLES could make indexes unavailable for the next query
Added --skip-safemalloc
2001-04-02 01:45:24 +03:00
monty@donna.mysql.fi
1a077f4a55 Let ALTER TABLE and LOAD DATA INFILE use sorting to create index
Call init_signals before intializing table handlers. This should fix the signal problem in Innobase on Solaris
2001-03-28 04:16:04 +03:00
monty@donna.mysql.fi
dab74107ab Fix a crash in Innobase with tables with many columns and a range query
Removed all Attic directories.
2001-03-26 16:49:11 +03:00
monty@donna.mysql.fi
44c0545ab9 Added test case that crashed Innobase 2001-03-26 13:27:36 +03:00
monty@donna.mysql.fi
add70fc1ba Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
(For glibc 2.2)
2001-03-26 01:05:04 +03:00
sasha@mysql.sashanet.com
c57b8bde25 sql/mysqld.cc
fixed concurrency bug with a very quickly disconnecting client -
    the client could disconnect and delete thd before pthread_create 
    could write to &thd->real_id 
sql/sql_list.h
    while tracking down the bug, made new/delete go through my_malloc/my_free
    for ilink - did not help, but this is better anyway - cleaner exit with a message in
    out of memory codition at least.
2001-03-24 23:33:26 -07:00
monty@donna.mysql.fi
5487d7a8c0 Fixed bug in send in mysqltest
Removed usage of @r/result as this made life hard when testing different
table handlers.
Allow concurrent inserts if no update/binary log.
Don't remove key_cache at flush tables.
Fixed bug in SELECT DISTINCT SUM()...
2001-03-25 01:02:26 +02:00
monty@tik.mysql.fi
3099c54d94 Test case for bug when updating on key
Fixed bug in CONCAT_WS()
Print the default ISOLATION level.
Change lock type for CREATE ... SELECT and INSERT/REPLACE ... SELECT
2001-03-23 20:38:42 +02:00
mikef@nslinux.bedford.progress.com
d145a6b97e Add support for Gemini table handler, Monty has checked and approved
Fix bug when read return error
2001-03-21 15:34:16 -05:00
monty@tik.mysql.fi
6f9a73a1ba Added isolation levels
Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE
2001-03-21 01:02:22 +02:00
monty@tik.mysql.fi
66ba6da014 Fixed CLIENT_TRANSACTIONS define
Fixed bug in SHOW VARIABLES when using innobase tables
2001-03-14 23:12:15 +02:00
monty@donna.mysql.fi
5985de2db5 Added new tests to benchmark suite 2001-03-11 21:20:15 +02:00
monty@donna.mysql.fi
267c8760cb Fixed wrong option in mysql_install_db
Added delayed_user for delayed_threads
Don't use record cache when doing deletes
2001-03-09 03:38:18 +02:00
monty@donna.mysql.fi
cb3dfd8252 Changed --with-innobase-db to --with-innobase
Updated manual about INNOBASE and BDB
2001-03-08 03:15:54 +02:00
monty@donna.mysql.fi
98c70da357 Fixed test cases for innobase
Fixed bug introduced with last ORDER BY optimization
Changed log position to longlong to avoid warnings.
2001-03-07 23:50:44 +02:00
monty@donna.mysql.fi
bda3e09935 Merged some functions and removed some unused client functions.
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.
2001-03-06 15:24:08 +02:00
monty@donna.mysql.fi
5ccbbd83f2 Fixes for innobase usage
Fixed bug when using TEXT columns with BDB tables
Allow LOAD DATA INFILE to use numbers with ENUM and SET columns
2001-03-03 03:03:12 +02:00
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