Commit graph

176 commits

Author SHA1 Message Date
monty@tik.mysql.fi
1f409baf4c Changed compare in MyISAM to use my_pread()
Fixed that @VAR shows all decimals
Fixed problem with FLUSH TABLES and LOCK TABLE
CREATE ... SELECT now creates keys later
Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key
2001-06-11 15:01:28 +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
monty@hundin.mysql.fi
4014d2367c Added ABS() to make tests more portable.
New postgresql crash-me file.
Increased blob size in benchmarks from 65K to 1M.
2001-06-03 12:26:24 +03:00
monty@hundin.mysql.fi
18c02a05fb Fixed bugs in symlink code 2001-06-02 01:16:26 +03:00
monty@hundin.mysql.fi
e30ff2ece1 Fixed bug that caused client to hang because mysqld never did send an
error message if the table open or the index creation failed.
Updated portuguese error messages.
Fix for OS/2 that affected CHECK TABLE.
2001-06-02 00:03:16 +03: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
0a51e72aa3 Added symlink support to mysys library. 2001-06-01 03:53:14 +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
monty@donna.mysql.fi
3dc4b35a05 Fixed problems with decimals withing IF()
Force add of FN_LIBCHAR to symlinks on windows
2001-05-29 13:46:17 +03:00
monty@tik.mysql.fi
30dcb41f0b Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-05-23 02:40:20 +03:00
monty@tik.mysql.fi
684082ce79 Updated documentation of how to add new native functions.
Small cleanups
2001-05-23 02:30:17 +03:00
tim@threads.polyesthetic.msg
54e36baf11 Merge work.mysql.com:/home/bk/mysql
into threads.polyesthetic.msg:/usr/local/src/my/3
2001-05-22 16:22:12 -04: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
tim@threads.polyesthetic.msg
579d9c1e73 getvar.c atoll() -> strtoll() (portability fix) 2001-05-18 12:52:31 -04: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
369ea3bb8e cleanup 2001-05-12 01:00:46 +03:00
monty@donna.mysql.fi
6261dafb27 Fixed all mysqldump output to use 'result_file' 2001-04-26 00:10:43 +03:00
monty@donna.mysql.fi
4edafca6a3 Fixed that -ldl is not used for clients
Fixed rpl000001 to handle the most common mysql-test-run ports.
2001-04-17 14:02:28 +03:00
monty@donna.mysql.fi
3c82d4a2e1 Fixed bug with UPDATE/DELETE on UNIQUE key which could be NULL 2001-04-10 11:32:28 +03:00
sasha@mysql.sashanet.com
f754012ad0 got --with-other-libc to work, finally 2001-04-02 19:01:15 -06: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
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
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@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
1c298277f9 Fixes for innobase
Added test for ALTER TABLE ORDER BY
2001-02-21 14:16:00 +02:00
monty@donna.mysql.com
bfc0d5ca29 Fixed problem with concurrent inserts and read-previous
Fix for BSDI 4.0
2001-02-18 13:56:10 +02:00
monty@donna.mysql.com
0ccc30f40c Fixed that myisamchk -R works on text columns
Fixed typo when removing space from argument to -O
2001-02-18 01:39:09 +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
ffe3029814 Fixed bug in bitmap handling 2001-02-09 04:09:03 +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
728b63e0de Workaround for bug in thread library in Unixware 7
Fixed bug in GROUP BY on ELT()
Added SEQUENCE() to UDF examples
2001-02-03 18:00:29 +02:00
jcole@tetra.spaceapes.com
3634353e60 Changes prompted by manual comments. 2001-02-01 06:25:51 -06: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
sasha@mysql.sashanet.com
5f6561ec88 Table_locks_waited
Table_locks_immediate
2001-01-26 20:00:42 -07:00
monty@donna.mysql.com
a7c5b9c211 Portability fixes for OPENBSD, OS2 and Windows 2001-01-27 01:20:56 +02:00
monty@donna.mysql.com
5218a03a1d Merge work:/my/mysql into donna.mysql.com:/home/my/bk/mysql 2001-01-25 22:38:53 +02:00
monty@donna.mysql.com
e2a8a99d01 Lots of manual changes
Changed 'static inline' to 'inline' for SCO new's compiler
2001-01-25 22:38:26 +02:00
sasha@mysql.sashanet.com
0ae142f563 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-01-24 09:17:07 -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
jcole@tetra.spaceapes.com
f3b6472f58 Corrected misnamed DBUG_ENTER in create_temp_file 2001-01-23 03:41:22 -06:00
monty@donna.mysql.com
6f3984bb64 Merge 2001-01-21 16:33:39 +02:00
sasha@mysql.sashanet.com
bc4c786e16 delete test_vnsprintf.c 2001-01-20 11:21:09 -07: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
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
12d0f179cd Fixes for mysqltest 2001-01-15 22:56:44 +02:00
monty@donna.mysql.com
40494168ad Fixed test when exeeding file quota on write
Sanity checks when opening MyISAM files
2001-01-15 17:17:43 +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
07b1f0dccd Fixed --no-defaults in mysqltest 2000-12-29 16:06:10 +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
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
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
38fce965ea New error messages
Fix for creating read-only files on windows
Manual updates
2000-12-05 03:00:31 +02:00
serg@serg.mysql.com
a8066b43ad Makefile.am rm -> rm -f, to get rid of silly "remove this r-------- ?" 2000-11-29 22:07:26 +01: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
sasha@mysql.sashanet.com
a9ef0b4bf1 slave master.info FILE -> IO_CACHE
send_file() is more stack-friendly - changed large static buffer to alloc_root()
fixed my_b_seek() to work with WRITE_CACHE
test case to make sure the slave starts correctly after being stopped
truncated words file so the replication tests will take less time
2000-11-24 19:49:13 -07:00
monty@donna.mysql.com
4f91d5b5fe Fixed compilation in another dir 2000-11-21 19:01:29 +02:00
monty@donna.mysql.com
d43b4a2ae1 Fixed performance bug in lock tables 2000-11-20 22:25:59 +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@donna.mysql.com
b31d076879 Fixed some reported bugs 2000-11-18 23:13:48 +02:00
monty@donna.mysql.com
19a9f8f943 Merge work:/home/bk/mysql into donna.mysql.com:/home/my/bk/mysql 2000-11-17 14:39:26 +02:00
monty@donna.mysql.com
7f2aff3de4 Fixed bug with text key compares in BDB 2000-11-17 14:38:53 +02:00
sasha@mysql.sashanet.com
d528126359 fixed bugs in IO_CACHE and Load_event constructor. The code now passes
replication test suite
2000-11-16 22:59:50 -07:00
monty@narttu.mysql.fi
22415489f2 Fixes for bugs in the usage of IO_CACHE 2000-11-17 02:36:46 +02:00
sasha@mysql.sashanet.com
0decc269d4 BUILD/compile-pentium-debug
make -j 2
mysys/my_open.c
    my_umask is better than 0 - we do not want 0000 files when my_open() is called with O_CREAT
sql/log.cc
    fixed up IO_CACHE to make replication work, not fully yet
sql/log_event.cc
    fixed up IO_CACHE
2000-11-16 10:37:30 -07:00
monty@donna.mysql.com
a9097ca323 changed to use IO_CACHE instead of FILE 2000-11-16 03:58:58 +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
sasha@mysql.sashanet.com
fddab55df3 BitKeeper/triggers/post-commit
send the diffs
Docs/manual.texi
    updated change history
include/my_sys.h
    Moved safemalloc_mem_limit here
mysys/safemalloc.c
    fixed up safemalloc_mem_limit
sql/mysqld.cc
    moved safemalloc_mem_limit declaration to my_sys.h
2000-11-04 21:00:41 -07:00
sasha@mysql.sashanet.com
96815f82a6 libmysql/libmysql.c
keep vio from being freed twice when we are low on memory
mysys/safemalloc.c
    changes for --safemalloc-mem-limit
sql/mini_client.cc
    keep vio from being freed twice
sql/mysqld.cc
    changes for --safemalloc-mem-limit
sql/slave.cc
    prevent closing connection twice
sql/sql_string.h
    shrink() did not work right when my_realloc() failed
2000-10-28 23:26:48 -06:00
sasha@mysql.sashanet.com
3bd51a5205 mysys/mf_format.c
workaround for SCO realpath() bug
sql/slave.cc
    fixed memory leak when slave runs bad query
2000-10-28 14:38:09 -06:00
monty@donna.mysql.com
2fedd7bae7 Bug fixes + defines for INNOBASE 2000-10-20 17:39:23 +03:00
monty@donna.mysql.com
828bff9195 Fixes for automatic recover of MyISAM tables 2000-10-17 16:19:24 +03:00
monty@donna.mysql.com
117d8b7f64 Automatic repair of MyISAM tables + small bug fixes 2000-10-17 00:47:15 +03:00
monty@donna.mysql.com
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
a7c5cc01b3 Small fixes 2000-10-05 01:00:36 +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
02fd65b970 Fixed indention, removed compiler varnings and fixed a bug
in FULLTEXT indexes.
2000-09-29 00:58:16 +03:00
monty@donna.mysql.com
083e1852e1 Fixes for release 2000-09-27 02:40:54 +03:00
monty@donna.mysql.com
c079bfc04e Small fixes 2000-09-26 02:57:29 +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