Commit graph

326 commits

Author SHA1 Message Date
sasha@mysql.sashanet.com
b66cc56a0d Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-01-24 22:51:09 -07:00
sasha@mysql.sashanet.com
171948ba86 more predicatable slave behaviour with wait_for_slave_stop in mysqltest
fixed a couple of bugs with SEQ_READ_APPEND cache
rpl000016 still has non-deterministic result, but I am going to commit and
push since what I have is now better than what is in the main repository
2002-01-24 22:49:47 -07:00
monty@hundin.mysql.fi
a880ec9423 Merge 2002-01-24 13:47:17 +02:00
monty@hundin.mysql.fi
4609e627a5 Increase max package length to 512M for mysql and mysqldump.
Faster 'read_first_row' (Fixes slow 'preparing' state)
Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
This also fixes a complicated bug involving const tables.
2002-01-23 02:52:26 +02:00
jani@hynda.mysql.fi
c7ca29faf5 Fixed a bug in mysqldump.c 2002-01-23 00:04:43 +02:00
mwagner@cash.mwagner.org
71670dc93e mysqldump.c:
Added missing 'Q' for -Q option
2002-01-13 01:32:05 -06:00
mwagner@cash.mwagner.org
50c7fba4cf mysqldump.c:
Inc the version
2002-01-13 01:30:50 -06:00
mwagner@cash.mwagner.org
9888899918 mysqldump.c:
Added missing 'Q' for -Q option
2002-01-13 01:29:21 -06:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
monty@hundin.mysql.fi
cb8bb9a84c Backport of mysqldump from 4.0 2002-01-02 13:50:31 +02:00
monty@hundin.mysql.fi
9e9e765fbd Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-12-22 15:14:41 +02:00
monty@hundin.mysql.fi
9e1ed2e4dc Fixed access privilege bug in query cache.
Change tests to use database 'mysqltest' instead of 'foo'
Add option to not print access denied messages to check_table_access()
2001-12-22 15:13:31 +02:00
serg@serg.mysql.com
ed74119ee2 Merge 2001-12-21 13:38:06 +00:00
monty@hundin.mysql.fi
55a2ab6e7e Cleanup of alarm macros.
Fixed data corruption bug in query cache.
Made queries be dependent of the database in use.
2001-12-21 07:00:58 +02:00
serg@serg.mysql.com
7a6a543df1 mysqldump now adds "ALTER TABLE ... DISABLE KEYS" to the dump
manual updated
2001-12-20 18:14:55 +00:00
monty@hundin.mysql.fi
0048a58f03 Updated benchmarks
Portability fixes.
Fixed bug in mysqlbinlog when detecting binary log version
2001-12-18 05:34:00 +02:00
monty@hundin.mysql.fi
3b95f2570f --replace_result in mysqltest can now use variables 2001-12-15 04:41:20 +02:00
jani@hynda.mysql.fi
87430abb2d Fixed a bug in mysql.cc 2001-12-14 17:43:18 +02:00
monty@hundin.mysql.fi
db2e22bf7e Portability fixes.
Changed mysql-test-run.sh to test for files to get shorter, more reliable timeouts.
2001-12-10 18:16:51 +02:00
monty@hundin.mysql.fi
6b02f13cf3 Removed compiler warnings.
Added new operators to be used with gcc 3.0.x
Update of query cache code.
Added semaphores for Windows (not yet in use)
Added pthread_mutex_trylock for windows.
2001-12-10 00:08:24 +02:00
monty@hundin.mysql.fi
b658662ae4 Update copyright
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +02:00
monty@hundin.mysql.fi
7c3f8447c0 Extended manual section about MySQL states 2001-11-28 22:47:58 +02:00
jani@hynda.mysql.fi
3503f63ed2 Added quoting to XML in mysqldump. 2001-11-26 19:14:26 +02:00
monty@hundin.mysql.fi
777fdb5d5c Fixes for embedded version. 2001-11-25 13:50:48 +02:00
sasha@mysql.sashanet.com
586e812452 use env vars for socket/port in connect in mysqltest
--local-master option in mysql-test-run
do not log CREATE TABLE when doing table dump
fix replication to slave off 3.23 master
2001-11-17 17:23:46 -07:00
sasha@mysql.sashanet.com
beaf95b09d work to enable reading 3.23 logs - not yet finished
moved fail-safe replication routines from sql_repl.cc to repl_failsafe.cc
write start event only in the first log
2001-11-10 22:24:12 -07:00
monty@hundin.mysql.fi
30209c1d66 Portability fix.
Fixed linking problem with InnoDB.
2001-11-07 02:30:34 +02:00
monty@hundin.mysql.fi
9285b745d6 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-11-07 00:14:43 +02:00
monty@hundin.mysql.fi
4c60b41954 Portability fix
Cleanup typos (like SKIPP -> SKIP)
2001-11-07 00:13:29 +02:00
jani@hynda.mysql.fi
20e01ba399 Added internal command \! to mysql client which can be used
to execute system commands within the client in UNIX.
2001-11-06 23:00:03 +02:00
jani@hynda.mysql.fi
a1a308d311 Fixed a bug in mysql.cc 2001-11-06 02:29:59 +02:00
jani@hynda.mysql.fi
d0e8306203 Added xml patch to mysqldump.
Made innodb to compile more cleanly with debugging options
enabled. Fixed a few bugs and found a few possible bugs, which
I hope Heikki will check. Comments needs to be fixed too. Some
while() functions should be changed to do ... until for documenting
purposes, because some of them must and will be processed at least
once, or a variable would be used uninitialized.

Regards,
Jani
2001-11-05 23:48:03 +02:00
monty@hundin.mysql.fi
96fc8a7de6 Make ft_xxx variables ulong to not break mysqld.cc init of variables.
mysqltest: replace_result now also affects error messages
2001-11-05 03:43:00 +02:00
monty@hundin.mysql.fi
3afb157ca2 Fixes up things after merge from 3.23.44
Portability fixes.
Don't delete temporary tables on FLUSH tables.
2001-11-05 01:04:08 +02:00
monty@hundin.mysql.fi
fd0780493d merge with 3.23.44 2001-11-04 16:14:09 +02:00
monty@hundin.mysql.fi
67951fdeb4 Fix error messages
mysqltest now also writes failed error messages to log
2001-11-04 15:43:41 +02:00
monty@hundin.mysql.fi
8cd4c2358d Fix that mysqladmin shutdown can be interrupted with ^C
Fixed bug with BLOB keys in BDB tables
Fixed problem with MERGE tables on OS with 32 bit files
Fixed that TIME_TO_SEC() works with negative times
2001-11-03 15:18:09 +02:00
tonu@volk.internalnet
24805fc748 SSL fixes. 2001-11-01 16:59:00 +02:00
monty@hundin.mysql.fi
5a9ce774dc Update for OS2 (patch from Yuri Dario).
Use LONG_TIMEOUT (one year) instead of ~0 for long timeouts
Fixed error messages.
Fixed problem with const propagation when comparing columns of different types
2001-10-31 03:22:31 +02:00
mwagner@evoq.mwagner.org
d66a33c192 mysql.cc Testing commit trigger 2001-10-15 23:22:42 -05:00
sasha@mysql.sashanet.com
a74811e72b 64-bit portability fixes in network I/O
use $MAX_TABLES mysqltest variable to make join test portable
make test now works with the manager on IA64 Linux
2001-10-13 09:28:35 -06:00
sasha@mysql.sashanet.com
2d3f96b483 changed manager to use my_net_*
fixed bug in master - unregister slaves when they disconnect
2001-10-12 09:37:25 -06:00
sasha@mysql.sashanet.com
2f27322adb Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-10-11 13:55:29 -06:00
sasha@mysql.sashanet.com
d10b81bf51 fixes for mysql-test to run without manager
a bit more work on failsafe replication
2001-10-11 13:54:06 -06:00
monty@hundin.mysql.fi
6afbeb4cf4 Cleanups 2001-10-11 22:02:16 +03:00
sasha@mysql.sashanet.com
24b9e87974 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-10-10 15:37:13 -06:00
sasha@mysql.sashanet.com
9b163ef5ae got the last changeset to compile/run
mysqltest can run without connecting to the manager for tests that do not 
require manager operations
2001-10-10 15:36:35 -06:00
monty@hundin.mysql.fi
6265dfccda Always build thread safe client libraries in the distributed build
Add mysqlmanager to binary distribution.
2001-10-10 23:44:07 +03: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
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
monty@work.mysql.com
0c81c7ea07 Merge 2001-10-07 13:31:12 +02:00
monty@hundin.mysql.fi
88e5ee0184 Fix for 'mysqladmin -w1 unknown-command'
Manual Changelog update
2001-10-07 14:18:09 +03:00
sasha@mysql.sashanet.com
a71f818aa2 Merge 2001-10-04 15:46:04 -06:00
sasha@mysql.sashanet.com
c3bab1c7be changes to make things work in the max version 2001-10-04 15:42:25 -06:00
jani@hynda.mysql.fi
f0ae1dbb70 Applied a patch for mysqldump 2001-10-04 20:43:06 +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@work.mysql.com
193ae61fc0 merge 2001-10-02 21:33:47 +02:00
monty@hundin.mysql.fi
db82d30bf0 Fix for make dist
Made replication test portable
Fixed buffer overrun bug in replication
2001-10-02 22:21:14 +03:00
monty@hundin.mysql.fi
d28f23c14f Fixed bug in INSERT DELAYED
Fixed some problems in SHOW CREATE TABLE
Fixed calculation of checksums in myisamchk
2001-10-02 21:08:08 +03: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
sasha@mysql.sashanet.com
6b37cce2ae mysqltest can now talk to manager and start/stop servers with
server_start/server_stop
changed rpl000018 to use the new server restart feature instead of a
hack
2001-10-01 16:13:55 -06:00
monty@hundin.mysql.fi
9f04e0e6d2 Portability fix 2001-09-30 18:35:08 +03:00
tonu@volk.internalnet
5658ff8237 SSL compiles and works as far as can see. Continue testing.. 2001-09-30 10:46:20 +08:00
sasha@mysql.sashanet.com
bb66c80aeb client/mysqlmanagerc.c
added support for quiet
    increased line buffer size
client/mysqltest.c
    fixed memory leak
    added query logging to result file
    added error message logging to result file
    added enable_query_log/disable_query_log
mysql-test/mysql-test-run.sh
    converted tests to use mysqlmanager

Updated test results
2001-09-27 23:05:54 -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
5d9be4de24 Portability fix 2001-09-22 17:40:59 +03: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
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
monty@hundin.mysql.fi
5a14bb2a7e Integrated table->ref_primary_key into table->part_of_key
Fixed bug in UNION
2001-09-21 03:38:35 +03:00
sasha@mysql.sashanet.com
915106582e GRANT ... REQUIRE ( for SSL). 2001-09-19 19:45:13 -06: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
eb9cbe2cba merge 2001-09-17 23:26:00 +02:00
monty@hundin.mysql.fi
295107457f Fixed bug with SELECT * ... UNION 2001-09-17 15:40:03 +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
13fd01aad3 Portability fixes 2001-09-17 00:32:45 +03:00
sasha@mysql.sashanet.com
8fff8f1856 fixed bug in mysqltest
updated mysql-test-run with features from 4.0
added a test case for broken load data from master for MyISAM tables
with checksum
2001-09-15 22:09:12 -06: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@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
jani@hynda.mysql.fi
d836dbf912 Forgot to change the version number. 2001-09-03 16:16:07 +03:00
jani@hynda.mysql.fi
5c994ad67f Fixed a problem with dumping string values in float and double
fields (inf,nan,...); should be dumped as "NULL".
2001-09-03 16:09:25 +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
tonu@x153.internalnet
921cae2c5c SSL fixes 2001-09-01 05:18:01 +08:00
monty@hundin.mysql.fi
91db5836e0 Portability fixes 2001-08-30 21:16:39 +03:00
monty@hundin.mysql.fi
85fe710b48 Portability fix 2001-08-30 12:51:58 +03:00
monty@hundin.mysql.fi
b0a0c54257 Fixed bug in auto-increment handling with InnoDB
Some small speedups
2001-08-26 23:24:48 +03: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
tim@white.box
f811aa44b1 Merge 2001-08-21 19:24:35 -04:00
tim@white.box
c8e078263f Portability fix in mysqlbinlog.cc (include my_pthread.h)
Clean up 'unused argument' warnings

Add extern "C" { ... } in my_pthread.h
2001-08-21 19:14:04 -04: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