Commit graph

1201 commits

Author SHA1 Message Date
serg@serg.mysql.com
069d313fd9 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-10-10 18:22:14 +02:00
tim@black.box
c0cd0f484a Add --without-isam configure switch.
Portability fix for mysqlmanager.
2001-10-09 18:11:44 -04:00
serg@serg.mysql.com
3911c81024 merged 2001-10-09 16:01:06 +02:00
serg@serg.mysql.com
9ec4ca9c4d get rid of comp() macro - CMP is already in place 2001-10-09 15:23:44 +02:00
serg@serg.mysql.com
3d3ef6528a Boolean search passes _some_ tests 2001-10-09 14:53:54 +02:00
monty@hundin.mysql.fi
d5fe1db868 One should not only have to include my_net.h to work with sockets.
This wrapper noew will include all the necessary, system specific files,
which makes all normal source files much easier to write and maintain.
Portability fixes.
2001-10-09 03:35:29 +03:00
monty@hundin.mysql.fi
196f620e90 Portability fixes + a couple of bug fixes introduced by last push. 2001-10-08 23:20:19 +03:00
monty@hundin.mysql.fi
46a660f450 Portability fix 2001-10-08 07:52:53 +03:00
monty@hundin.mysql.fi
2f603156ed Cleanup after last merge 2001-10-08 07:24:04 +03:00
monty@hundin.mysql.fi
938a8dc2ef merge 2001-10-08 05:36:35 +03:00
monty@hundin.mysql.fi
88aff4bf85 Updated manual about embedded version.
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
sasha@mysql.sashanet.com
a71f818aa2 Merge 2001-10-04 15:46:04 -06:00
monty@hundin.mysql.fi
e801235019 New script: explain_log.sh
Portability fixes.
Handle cleanup when we get an error before the message file is read.
Fix bug in multi-table delete
2001-10-04 21:52:41 +03:00
monty@hundin.mysql.fi
62c8014171 Fixed some build problems.
Fix that compressed packets and normal packets looks indentical before calling net_real_write()
(Needed for query cache)
Optimize IS NULL handling
2001-10-04 02:44:18 +03:00
sasha@mysql.sashanet.com
c0f87c836a merged 2001-10-03 14:21:16 -06:00
monty@hundin.mysql.fi
880026ccf6 Cleaned up SSL documentation
Fixes for embedded server
Made key_cache more configurable
Fixed that one can change key blocksize in MyISAM
A lot of optimizations to make MyISAM slightly faster
2001-10-02 05:53:00 +03:00
monty@hundin.mysql.fi
34c3484fae Fixes to get openssl code to compile 2001-09-30 05:47:34 +03:00
tonu@volk.internalnet
a16796c8ac Merge work.mysql.com:/home/bk/mysql-4.0
into volk.internalnet:/home/tonu/mysql-4.0
2001-09-30 10:47:32 +08:00
tonu@volk.internalnet
5658ff8237 SSL compiles and works as far as can see. Continue testing.. 2001-09-30 10:46:20 +08:00
monty@hundin.mysql.fi
384ae2eff0 Fixed that one can always get a name for a compiled characterset 2001-09-28 07:21:24 +03: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
serg@serg.mysql.com
5a9a3e91e7 get rid of ft_search. Now there're two sets of ft_ functions, ft_nlq_* and ft_boolean_* 2001-09-25 20:31:02 +02:00
sasha@mysql.sashanet.com
043deed839 fixed const value clash for MY_FULL_IO 2001-09-22 22:52:48 -06:00
sasha@mysql.sashanet.com
eccda8f86d merged 2001-09-22 21:51:17 -06:00
sasha@mysql.sashanet.com
1a0a77389f added mysqlmanager-pwgen
added set_exec_stdout and set_exec_stderr to mysqlmanager to be able 
to redirect stdout and stderr
added support for MY_FULL_IO to my_read, so we can tell it to read
a number of bytes in as many chunks as it takes instead of one try
2001-09-22 21:47:57 -06:00
monty@hundin.mysql.fi
e390a99573 Added support of INSERT to MERGE tables
Fixes for embedded libary and openssl
2001-09-22 17:40:57 +03:00
serg@serg.mysql.com
57e4c8ef3b Initial checkin of the new boolean fulltext search code 2001-09-21 18:38:17 +02:00
sasha@mysql.sashanet.com
545a2af56a merged 2001-09-19 14:39:11 -06:00
sasha@mysql.sashanet.com
2038a46e92 fixes for MYSQL manager 2001-09-19 14:30:43 -06:00
monty@work.mysql.com
55485f5c2d Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-18 04:17:52 +02:00
monty@hundin.mysql.fi
cd78a8be66 Fix for LOAD DATA FROM MASTER when using tables with checksum
Fixed some wrong test cases
2001-09-18 04:58:15 +03: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
monty@hundin.mysql.fi
295107457f Fixed bug with SELECT * ... UNION 2001-09-17 15:40:03 +03:00
monty@hundin.mysql.fi
c55cde7c1c Added my_global.h 2001-09-15 05:12:46 +03:00
monty@hundin.mysql.fi
52b83ea218 Fixed bug in UNION
Fixed replication bug in load_master_data
2001-09-14 19:50:56 +03:00
monty@hundin.mysql.fi
7cadc6e711 Changed to use my_global.h
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
2001-09-14 02:54:33 +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@hundin.mysql.fi
e24bdfa8bb More debug info
Fix DBUG_ASSERT()
Optimization for BDB tables
Fix for BDB under Win98
2001-09-08 11:47:34 +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
81006dd227 Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-09-04 01:04:32 +02:00
monty@hundin.mysql.fi
0b2af6bdfd Ensure that libmysqlclient doesn't use raid
Fix problem with MyISAM and rows of length 65517-65520
2001-09-04 01:25:34 +03:00
monty@work.mysql.com
447c18954e merge with 3.23.42 2001-09-02 18:38:33 +02:00
tonu@x153.internalnet
102cabfe4a Fixed compilation problems when HAVE_OPENSSL is not defined 2001-09-01 23:29:58 +08:00
monty@hundin.mysql.fi
7f4aee1c90 Make killing of threads safer 2001-09-01 10:38:16 +03:00
monty@hundin.mysql.fi
6000cd213a Portability fixes 2001-08-30 10:51:36 +03:00
monty@hundin.mysql.fi
3fb423fe39 Fix for OS2 2001-08-30 01:22:02 +03:00
monty@hundin.mysql.fi
2f93aa9e51 Test that all MERGE tables comes from the same database 2001-08-29 17:33:41 +03:00
monty@hundin.mysql.fi
dfcb208e53 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-08-23 00:59:19 +03:00
monty@hundin.mysql.fi
e127a952a6 Portability fixes 2001-08-23 00:55:48 +03:00
serg@serg.mysql.com
d9652cdc55 #include <my_pthread.h>
extern "C" {
2001-08-22 14:15:01 +02: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
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
monty@hundin.mysql.fi
b1cb5b6ff0 Portability fixes.
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
2001-08-18 10:49:00 +03: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
monty@hundin.mysql.fi
4a470fcc99 Fix error messages after merge from 3.23 2001-08-13 15:24:29 +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
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
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
sasha@mysql.sashanet.com
a98a7ffe7e Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-08-03 16:09:36 -06:00
monty@tik.mysql.fi
7e2d4d8faa New error messages for MATCH and UNION 2001-08-04 01:09:35 +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
monty@tik.mysql.fi
b13d453d50 Fix UNION
New faster list iterators
Change list code to be simpler and faster
Optimize count(distinct)
New error messages for UNION
Make create_tmp_table more general to be usable by UNION
2001-08-02 06:29:50 +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
sasha@mysql.sashanet.com
f935dcf2be merged 2001-07-20 16:32:13 -06:00
sasha@mysql.sashanet.com
008456c9b6 added pre/post read callbacks to IO_CACHE
#ifdefed out code not used in the server from log events
started on new LOAD DATA INFILE events
2001-07-20 16:22:54 -06: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
monty@tik.mysql.fi
fc81fdb4ba Redefinition of myisam_bulk_insert_tree_size
Removed new error message
Fixed test case for varbinary
Threads are again killable in "merge_buffers"
Cleanup of sql_repl.cc
SHOW OPEN TABLES now works when no tables are opened
2001-07-10 15:53:08 +03:00
sasha@mysql.sashanet.com
c739f7f426 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-07-04 18:41:17 -06:00
sasha@mysql.sashanet.com
c01d4e1ef7 SHOW NEW MASTER FOR SLAVE WITH ... 2001-07-04 17:14:31 -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
924dadef97 merged new 3.23 errors
fixed bugs in log seq - now starting to look good
fixes for SHOW BINLOG EVENTS
will push this one
2001-06-22 08:35:18 -06:00
sasha@mysql.sashanet.com
1e76c806eb fixed drop/create database bug when holding global read lock
preserve originating server id in Intvar events to avoid inifinite loops
2001-06-21 15:59:51 -06:00
sasha@mysql.sashanet.com
992f889878 added SHOW BINLOG EVENTS
fixed log sequence bugs
fixed bugs in handling Slave event
added test case with SHOW BINLOG EVENTS
have not fixed all the bugs - found some that are also in 3.23,
will fix them there first, then do pull and cleanup

will not push this changeset
2001-06-21 13:19:24 -06:00
sasha@mysql.sashanet.com
a6788beace Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-08 19:26:11 -06:00
sasha@mysql.sashanet.com
24f89c754a auto-magic replication redirection logic support in the client,
compiles, passes test suite, does magic, has bugs, but none that I know 
at this point. Have not tested everything yet, though. Changed
a lot of code in the client, but normal stuff appears to be working.
2001-06-08 19:24:41 -06:00
tonu@hundin.mysql.fi
bc2aca9a63 Fixed compile-time warnings 2001-06-08 22:28:57 +03:00
tim@hundin.mysql.fi
ae9e69efe3 Merge work:/my/mysql-4.0 into hundin.mysql.fi:/home/tim/mysql-4.0 2001-06-05 04:18:23 +03:00
tim@hundin.mysql.fi
403b96c54d violite.h Don't define st_vio if EMBEDDED_LIBRARY. 2001-06-05 04:15:13 +03:00
sasha@mysql.sashanet.com
3aafd368a4 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-04 18:06:27 -06: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
tonu@hundin.mysql.fi
6988b7476d vio.c Vio code bugfix
violite.h	Code cleanup
2001-06-05 02:28:33 +03:00
monty@hundin.mysql.fi
f02ed5fe0b Declare stpcpy() to fix portability problem on AIX with gcc 2.95.3
Fixed problem with command line arguments on 64 bit machines when
we use ~0 to indicate 'no limit'
2001-06-03 16:45:49 +03:00
sasha@mysql.sashanet.com
1d05b89980 some code for replication awareness support - this is a temporary
commit - it compiles, and test suite still passes, but it is not finished . The
purpose of the commit is backup/code sharing/code review
2001-06-02 20:02:43 -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
monty@hundin.mysql.fi
126da692cb Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-06-01 04:28:34 +03:00
monty@hundin.mysql.fi
866a82782c Added support for symlinked tables.
myisamchk: Don't force a repair if the only problem was that the
open count wasn't correct.
Added missing error messages.
2001-06-01 04:27:59 +03:00
monty@work.mysql.com
e595fe3b34 Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0
2001-06-01 03:13:02 +02:00
monty@hundin.mysql.fi
0a51e72aa3 Added symlink support to mysys library. 2001-06-01 03:53:14 +03:00
tonu@hundin.mysql.fi
f515a3ae4a make vio compile 2001-05-31 17:42:37 +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@hundin.mysql.fi
762f423d91 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-05-31 14:08:00 +03:00
monty@hundin.mysql.fi
b7c3a28149 Removed compiler warnings.
Added preliminary handling of symlinks in MyISAM.
When using myisamchk to check tables with --force, don't repair
tables that are marked as 'not closed' if they are ok.
Change fn_format() to use my_real_path and my_symlink
2001-05-31 14:07:17 +03:00
monty@work.mysql.com
df56b252a7 merge 2001-05-31 12:56:05 +02:00
monty@hundin.mysql.fi
be188b117b Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-05-31 12:19:16 +03:00
monty@hundin.mysql.fi
6a387c7cdf 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!
Fixed bug in new mutex handling in InnoDB
Make allow_break() and dont_break() defines.
2001-05-31 12:18:53 +03: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
mikef@nslinux.bedford.progress.com
ceac5f9227 Pushing all the Gemini changes above the table handler. 2001-05-29 09:29:08 -04:00
sasha@mysql.sashanet.com
8f6b34f950 updates for LOAD DATA FROM MASTER + some cleanup of replication code 2001-05-28 19:18:23 -06: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
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
d536c0d787 vio.h BitKeeper file /home/tonu/bk/mysql-4.0/include/vio.h 2001-05-20 23:31:36 +02:00
sasha@mysql.sashanet.com
ef27ec42c2 option to free_root() to not my_free() the blocks
fixed bug/updated count_distinct2 test
changed reset in count distinct to avoid calls to my_free()
2001-05-12 19:50:51 -06:00
sasha@mysql.sashanet.com
c706bf40f3 use tree for count(distinct) when possible 2001-05-11 15:07:34 -06:00
sasha@mysql.sashanet.com
a12117f036 change tree to use qsort_cmp2 - compare function with 3 instead of 2 arguments 2001-05-10 18:14:15 -06:00
sasha@mysql.sashanet.com
7c9b9f471c Merged with 3.23, needs further fix-up 2001-05-10 15:06:35 -06:00
serg@serg.mysql.com
8e882bcafa Merge 2001-05-02 12:18:05 +02: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
monty@donna.mysql.fi
9ee2a297c0 Fixes for embedded MySQL
Some limit optimization
2001-04-25 01:11:29 +03:00
monty@donna.mysql.fi
97c3927679 Portability fixes 2001-04-23 03:28:08 +03:00
monty@donna.mysql.fi
1e3df575b9 Fixed probelm with count(*) and normal functions when no matchin rows.
Changed 'lib' to 'master-data'
Fix for slow slaves
2001-04-21 17:12:59 +03:00
monty@donna.mysql.fi
c8fbe93890 Fixed that database name is shown for CHECK TABLE 2001-04-20 17:14:53 +03:00
monty@work.mysql.com
93de112238 Merge 2001-04-19 00:58:30 +02:00
serg@serg.mysql.com
185c2beaea ft_* variables added 2001-04-17 21:30:02 +02:00
tim@threads.polyesthetic.msg
c3e3a336b6 Try to make MySQL compile under Cygwin.
Bug fix for Dec OSF on Alpha.

Minor bug fix for server RPM.
Tweak RPM support for mysqld-max.
2001-04-14 13:04:20 -04: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
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
aa11573380 Added defines for fast mutex in glibc 2.2 (should be safe)
Fixed crash in SELECT DISTINCT SUM(...)
Fix return value of mysortncmp() for innobase
Fix join_crash bug
2001-03-24 20:15:14 +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
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
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
jcole@tetra.spaceapes.com
ab60ef6d81 Fixed a bug that allowed:
SET @foo=bar;

This would cause a deadlock in mysqld, it now generates the error:
ER_SET_CONSTANTS_ONLY as follows:

mysql> set @foo=bar;
ERROR 1204: You may only use constant expressions with SET
2001-03-02 05:03:18 -06:00
monty@donna.mysql.fi
1c298277f9 Fixes for innobase
Added test for ALTER TABLE ORDER BY
2001-02-21 14:16:00 +02: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
d218ebcc51 Added locks needed for Innobase
Fixed mutex problem when doing automatic repair of MyISAM tables
2001-02-18 00:03:37 +02:00
monty@donna.mysql.com
c533308a15 Added Innobase to source distribution 2001-02-17 14:19:19 +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
1b2c841864 Check that __FLOAT_WORD_ORDER is defined 2001-02-08 04:43:55 +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
227a2775c7 Added missing file 2001-02-03 18:18:58 +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
bdbc0ef7a0 New myisamchk option --sort-recover
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()
2001-01-31 04:47:25 +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
monty@donna.mysql.com
a7c5b9c211 Portability fixes for OPENBSD, OS2 and Windows 2001-01-27 01:20:56 +02: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
b3392db290 Fixes for OSF1
Made test more reliable on slow machines
2001-01-22 15:33:34 +02:00
monty@donna.mysql.com
6f3984bb64 Merge 2001-01-21 16:33:39 +02: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
sasha@mysql.sashanet.com
634ba86ad7 client/mysqltest.c
added send/reap/dirty_close
include/mysql.h
    mysql_send_query()/mysql_reap_query()
libmysql/libmysql.c
    mysql_send_query()/mysql_reap_query()
mysys/my_vsnprintf.c
    fixed critical bug that codedumped when connection aborted
sql/sql_parse.cc
    0
mysql-test/r/dirty-close.result
    New BitKeeper file ``mysql-test/r/dirty-close.result''
mysql-test/t/dirty-close.test
    New BitKeeper file ``mysql-test/t/dirty-close.test''
2001-01-19 22:40:16 -07:00
tim@cane.mysql.fi
08d36171a9 Add --with-server-suffix (MYSQL_SERVER_SUFFIX). 2001-01-19 02:46:13 +02:00
tim@cane.mysql.fi
743f8a7d3e Merge work.mysql.com:/home/bk/mysql
into cane.mysql.fi:/usr/home/tim/my/work
2001-01-16 22:51:45 +02:00
tim@cane.mysql.fi
c40f815e1b Use C-style comments in common header files and C code. 2001-01-16 22:35:27 +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
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
e05df20dc5 Fixed gethostname_r tests to be more portable 2001-01-01 14:17:10 +02:00
monty@donna.mysql.com
74aefb4deb Update to new vio 2000-12-31 12:47:29 +02:00
monty@donna.mysql.com
5c18942398 cleanups 2000-12-31 12:21:42 +02:00
serg@serg.mysql.com
3bc697f7c2 Merge 2000-12-30 16:02:38 +01:00
monty@donna.mysql.com
07b1f0dccd Fixed --no-defaults in mysqltest 2000-12-29 16:06:10 +02:00
serg@serg.mysql.com
e9cc0d26a2 Merge 2000-12-24 15:34:30 +01:00
monty@donna.mysql.com
75dc09534b Fix duplicate symbol problem 2000-12-24 16:00:46 +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
serg@serg.mysql.com
c21c89cd67 raid.h moved my_raid_type() out of #ifdef USE_RAID
sql_show.cc	#define USE_RAID removed
2000-12-23 23:26:54 +01:00
tim@cane.mysql.fi
8f51a9f1f3 Style fix - keep os-specific stuff together. 2000-12-22 20:57:00 +02: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
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@donna.mysql.com
96f5b4f4fe Fix problem with S_ISLNK() on Linux 2000-12-16 03:10:13 +02:00
monty@donna.mysql.com
2803bcd8be Fixed missing long option
Portability fix for Linux
2000-12-16 02:28:39 +02:00
monty@donna.mysql.com
18f7b7b678 Configure updates
Fixed my_print_defaults --no-defaults
2000-12-16 01:17:13 +02:00
sasha@mysql.sashanet.com
9a5ce4d513 MIT fix 2000-12-13 16:43:18 -07:00
sasha@mysql.sashanet.com
8f9754873d global.h Fix for MIT-threads 2000-12-13 11:58:00 -07:00
monty@work.mysql.com
e1c55775e5 mysql.spec.sh Don't install BDB
Do-patch-file	Update for new web structure
Makefile.am	Added dependency for manual_toc.html
Makefile.am	Replaced chmod with RM to avoid error message
2000-12-13 12:43:45 +01:00
monty@donna.mysql.com
10693572ed Fixed delete in tables with hidden primary key
Remove not used BDB logs on shutdown
Don't give warnings for repair on slaves
Fixed transaction log files
2000-12-12 04:34:56 +02:00
monty@donna.mysql.com
7617d198a4 Lots of fixes for BDB tables
Change DROP TABLE to first drop the data, then the .frm file
2000-12-08 17:04:57 +02: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@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
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
monty@donna.mysql.com
e049538cb0 Split error message for crashed table to 3 different error messages.
Fixes for Windows
2000-11-22 03:45:02 +02:00
monty@donna.mysql.com
b65dbb6114 Fixed problem with auto-repair of MyISAM tables
Fixed bug in ISAM and MyISAM when updating from multiple-processes
2000-11-21 03:43:34 +02: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@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
b689a1a752 merge 2000-11-16 00:24:11 +02:00
monty@narttu.mysql.fi
e69becf133 changed to use IO_CACHE instead of FILE 2000-11-15 23:00:06 +02: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
tim@threads.polyesthetic.msg
1157c688a8 Changes from teg@redhat.com - subtle bugs that only show up under
certain circumstances.
2000-11-06 12:23:19 -05: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
serg@serg.mysql.com
f39734eb07 fixed bug with FULLTEXT and ORDER BY 2000-11-04 15:48:06 +01: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
a67ff1bf08 Update of interface for BDB tables.
Fixed bug in SHOW CREATE TABLE
2000-10-24 02:39:54 +03:00
monty@donna.mysql.com
8dabd3b053 Fix of automatic repair 2000-10-23 15:35:42 +03:00
monty@donna.mysql.com
ee763533f2 Fixed benchmarks and compare of NULL with <> 2000-10-17 23:57:26 +03:00
monty@donna.mysql.com
117d8b7f64 Automatic repair of MyISAM tables + small bug fixes 2000-10-17 00:47:15 +03:00
monty@tik.mysql.com
9323e733ff Changed meaning of HA_EXTRA_RESET and start of hidden primary keys for BDB tables 2000-10-15 18:45:53 +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
monty@donna.mysql.com
5134b08422 merge 2000-10-11 01:18:03 +03:00
monty@tik.mysql.com
3456d7667c Merge narttu:/my/mysql into tik.mysql.com:/home/my/mysql 2000-10-11 00:54:01 +03:00
monty@narttu.mysql.fi
ae80d2a5a3 Portability fixes 2000-10-11 00:48:03 +03:00
monty@tik.mysql.com
09dce662e2 Automatic repair of MyISAM tables + portability fixes 2000-10-11 00:06:37 +03:00
tim@threads.polyesthetic.msg
395a1809a6 Show charsets dir in error message, instead of just "path: default". 2000-10-09 16:10:41 -04:00
monty@tramp.mysql.fi
207548a836 DISTINCT optimization
Fixes when using column privileges
Manual updates
2000-10-06 21:15:03 +03:00
monty@donna.mysql.com
b55de19ed2 Portability fixes 2000-10-04 23:20:16 +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
monty@donna.mysql.com
083e1852e1 Fixes for release 2000-09-27 02:40:54 +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
50486eeb80 Fixes for MyISAM and packed keys + AIX 2000-09-22 01:46:26 +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
f2f515e5c2 Fix that REPAIR/ALTER TABLE use myisam_tempdir 2000-09-16 19:06:21 +03:00
monty@donna.mysql.com
30bcd690f2 Merge work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql 2000-09-16 04:27:49 +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
sasha@mysql.sashanet.com
44bc3f9b0e merge of conflicts 2000-09-15 11:00:35 -06:00
sasha@mysql.sashanet.com
44455063e5 BACKUP TABLE TO 'directory'
RESTORE TABLE FROM 'directory'
log on slave when it connects to the master
2000-09-14 16:34:50 -06:00
monty@donna.mysql.com
ac93ec4ae1 configure fix to handle my_config.h 2000-09-14 15:40:55 +03:00
monty@donna.mysql.com
25106ec755 configure fixes 2000-09-14 15:10:06 +03:00
monty@donna.mysql.com
b581f17be2 Fixes for MERGE TABLES and HEAP tables 2000-09-14 02:39:07 +03:00
monty@donna.mysql.com
4726593862 Fixes for FULLTEXT and TIME type 2000-09-13 01:08:34 +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
be5e4e72b6 Small bug fixes 2000-09-07 04:55:17 +03:00
monty@donna.mysql.com
0c07817b08 Abort patch 2000-09-02 08:20:54 +03:00
monty@donna.mysql.com
4496d43faa Quoting of TIMESTAMP columns and small optimizations 2000-09-02 07:58:42 +03:00
serg@infomag.ape.relarn.ru
c28988e7d0 Merge serg@work.mysql.com:/home/bk/mysql
into infomag.ape.relarn.ru:/usr/home/serg/src/mysql.safe/bk/mysql
2000-09-01 15:25:17 +04:00
monty@donna.mysql.com
7155d2a14c Portability changes 2000-08-31 22:00:09 +03:00
monty@donna.mysql.com
91033f872c Update to get 3.23.23 to compile 2000-08-31 17:25:30 +03:00
serg@infomag.ape.relarn.ru
6a52c42145 gen_lex_hash.cc values adjusted 2000-08-31 13:05:41 +04:00
monty@donna.mysql.com
74ebbd6cbd Fixes to get 3.23.23 to compile 2000-08-30 18:19:34 +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
d564acf14e Fixes for Ia64 2000-08-23 15:02:27 +03:00
monty@donna.mysql.com
0fcdce7bc4 Fix for snprintf 2000-08-22 00:55:45 +03: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
d79b0cc9cc Merge monty@work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql 2000-08-21 03:01:16 +03:00
monty@donna.mysql.com
aa3580924b RENAME TABLE table_name TO new_table_name ; Faster Alloc
Small bug fixes
2000-08-21 03:00:52 +03:00
tim@localhost.polyesthetic.msg
cf2e115ec3 Change the behavior of --enable-thread-safe-client. It now builds
both a non-threaded libmysqlclient and a threaded libmysqlclient_r.
2000-08-18 14:49:31 -04:00
serg@infomag.ape.relarn.ru
2006b4c551 Many MATCH'es per query now allowed (i.e. AND's and OR's now work, but
slow - full table scan); ORDER BY now works with MATCH (slow, full table
scan)
2000-08-17 19:30:36 +04:00
serg@infomag.ape.relarn.ru
8b86536844 Merge 2000-08-16 13:03:58 +04:00
monty@donna.mysql.com
2f450e4fc7 Delayed keys + portability fixes 2000-08-16 05:14:02 +03:00
serg@infomag.ape.relarn.ru
bf617db818 Merge 2000-08-15 21:52:42 +04: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
serg@infomag.ape.relarn.ru
5886090182 PART I: Keys support for MyMERGE tables
myisammrg/             |
Makefile.am            |
mymrgdef.h             |   support for keys
myrg_open.c            |          &
myrg_queue.c           |   bugfixes
myrg_rfirst.c          |
myrg_rkey.c            |
myrg_rlast.c           |
myrg_rnext.c           |
myrg_rprev.c           |
myrg_rrnd.c            |

include/myisammrg.h    | rkey/rnext/etc prototyped

sql/                   |
ha_myisammrg.cc        | support for keys
ha_myisammrg.h         |

myisam/                |
mi_rkey.c              | buf==NULL extension, _mi_rkey()
mi_rnext.c             |
mi_rprev.c             |

include/queues.h       | reinit_queue() - same as init_queue, but w/o malloc
mysys/queues.c         |

PART II: Miscellaneous

myisam/common_words    | deleted (looks like I checked it in by mistake)

some files (like acconfig.h, Makefile.am, COPYING.LIB, etc)
                       | Change mode to -rw-r--r-- (by `chmod a-x ')
2000-08-14 15:27:19 +04:00
tim@localhost.polyesthetic.msg
c6c775c982 Add const to [my_]sigwait() arg, to make all declarations match. 2000-08-09 14:47:25 -04:00
bk@work.mysql.com
f4c589ff6c Import changeset 2000-07-31 21:29:14 +02:00