Commit graph

216 commits

Author SHA1 Message Date
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