Commit graph

810 commits

Author SHA1 Message Date
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
monty@bitch.mysql.fi
410faef67e Fixed bug in ALTER TABLE for MERGE tables
Portability fixes
Fixed problem when giving wrong arguments to myisam_recover
Fix to remove warnings when using purify
2001-08-10 17:05:54 +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
84953bbad2 New dutch error message file. 2001-08-10 13:01:42 +03:00
jani@hynda.mysql.fi
36bfe9f1f6 Merge jamppa@work:/home/bk/mysql into hynda.mysql.fi:/data/my/bk/mysql 2001-08-10 12:51:34 +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
be4f7bbdcf Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-08-09 18:18:35 -06:00
sasha@mysql.sashanet.com
681cdbbdf9 mysqlbinlog->client 2001-08-09 18:16:43 -06:00
heikki@donna.mysql.fi
402c55fcd8 ha_innobase.h Fix Sort aborted bug 2001-08-09 20:42:32 +03:00
heikki@donna.mysql.fi
6e553a2c65 btr0cur.c Improve range size estimate for big ranges
ha_innobase.cc	Fix Sort aborted bug
2001-08-09 20:41:20 +03:00
jani@hynda.mysql.fi
44722151fd Added new optino --sql-mode to mysqld. 2001-08-09 18:51:38 +03:00
monty@tik.mysql.fi
2f8a49c096 Fix of big in SELECT DISTINCT ... HAVING 2001-08-08 03:50:25 +03: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
1ddb97f482 Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-07-30 22:51:02 +03:00
monty@tik.mysql.fi
1731161ff4 Fixed optimizer bug in ORDER BY where some ORDER BY parts where ignored.
Extended default arguments to be up to 4095 characters
2001-07-30 22:49:39 +03:00
sasha@mysql.sashanet.com
72c39117df do not log stray error codes in Query_log_event 2001-07-28 11:46:22 -06:00
tim@white.box
2b6776d337 Add test case for update/replace bug in bdb.
Remove unused argument to ha_berkeley::remove_key().
2001-07-24 12:23:17 -04:00
tim@white.box
c61f04b005 ha_berkeley.cc Fix bug in remove_key(), when key != primary_key it would
ha_berkeley.cc	core dump if cursor was invalid.
2001-07-24 12:00:23 -04:00
miguel@light.local
ffee8665bf Updated Translation English->Protuguese 2001-07-21 13:51:40 -03:00
heikki@donna.mysql.fi
be05b70c0d srv0srv.h Support raw disk as a data file
srv0start.c	Support raw disk as a data file
srv0srv.c	Support raw disk as a data file
ha_innobase.cc	Some error messages and support raw disk as a data file
2001-07-19 22:46:41 +03:00
monty@hundin.mysql.fi
40aa7c6d29 Merge 2001-07-18 23:35:13 +03: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
1c3dc8875e fixed mysterious offset confusion bug
added a test case for it - took some creative work to figure out
how to make it happen at will
updated the manual
2001-07-18 14:26:43 -06:00
monty@hundin.mysql.fi
de7d371900 Fixed problem with part keys and BDB tables 2001-07-18 11:31:18 +03:00
sasha@mysql.sashanet.com
ef88e50758 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-07-17 14:23:44 -06:00
sasha@mysql.sashanet.com
14c23716a6 added slave_net_timeout 2001-07-17 14:22:52 -06:00
monty@hundin.mysql.fi
b051b3ab8d Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-07-17 21:05:38 +03:00
monty@hundin.mysql.fi
aecef7614e Removed wrong warning from thr_lock
Fixed problem with UPDATE and BDB tables
Fixed problem with GRANT FILE privilege on database level
mysqld --warnings works now
Fixed problem with SHOW OPEN TABLES when not using BDB
Added some tests for ALTER TABLE to the test scripts
2001-07-17 21:04:01 +03:00
heikki@donna.mysql.fi
c9014d88a3 ha_innobase.cc Fix a bug in showing of Auto_increment in SHOW TABLE STATUS
ha_innobase.h	Fix a bug in showing of Auto_increment in SHOW TABLE STATUS
2001-07-16 21:10:29 +03:00
monty@tik.mysql.fi
7ff42f8218 Merge 2001-07-16 03:07:45 +03:00
monty@tik.mysql.fi
bf9876a195 Patch for netBSD
Added warning for tables where the auto_increment key is 0
Fixed DELETE ... LIMIT 0
Fixed UPDATE ..LIMIT 0
2001-07-16 03:04:30 +03:00
sasha@mysql.sashanet.com
fa4e355dac send kill signal to slave thread on shutdown 2001-07-11 21:33:19 -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
monty@tik.mysql.fi
cc35643e1c Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-07-07 23:28:51 +03:00
monty@tik.mysql.fi
19a99dd3fd dded volatile to replication variable 2001-07-07 23:26:06 +03: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
bad4129f99 bug fixed (sometimes it broke filesort, due to too late maybe_null=1) 2001-07-03 17:58:47 +02:00
miguel@light.local
373e2c4ad1 Merge miguel@work.mysql.com:/home/bk/mysql
into light.local:/home/miguel/bk/mysql
2001-06-29 05:18:58 -03:00
miguel@light.local
bd4c70b813 Completed the translation for the errmsg.txt Spanish file. 2001-06-29 05:15:54 -03:00
sasha@mysql.sashanet.com
e87028fda6 fixed typo 2001-06-28 19:17:04 -06:00
sasha@mysql.sashanet.com
d2704e470a Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-06-28 18:23:48 -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
heikki@donna.mysql.fi
187a16f1d2 ha_innobase.cc Update possible row timestamp column also in an update 2001-06-28 17:19:42 +03:00
monty@hundin.mysql.fi
3c3d0bbd57 Allow floats of type 1.0e1 2001-06-28 15:24:28 +03:00
monty@hundin.mysql.fi
96aac3f0f5 Cleanup 2001-06-28 10:58:04 +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
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
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
monty@hundin.mysql.fi
2d8d0362f5 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-06-19 14:30:37 +03:00
monty@hundin.mysql.fi
72fb81e888 Fixed bug in mysqlcheck when using --fast
Fixed problem when converting bigint to double.
Fixed bug in count(distinct null)
Fixed bug with empty BDB tables.
2001-06-19 14:30:12 +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
monty@hundin.mysql.fi
6aa6374e3e Added --skip-stack to mysql-test-run 2001-06-12 18:00:36 +03:00
monty@hundin.mysql.fi
6be95636b1 Fixed wrong mysql-test
New german error messages
2001-06-12 17:13:52 +03:00
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
b79da88808 Changed innodb_unix_file_flush_method -> innodb_flush_method
Cleaned up error messages.
2001-06-07 00:10:59 +03:00
mikef@nslinuxw4.bedford.progress.com
f614f19e88 sql_table.cc re-apply a lost change where we check to see if the
sql_table.cc	table handler supports temporary tables
2001-06-06 15:45:07 -04:00
heikki@donna.mysql.fi
16a1120d6e ha_innobase.cc Improved error message in the case the .frm file exists but InnoDB data dictionary does not conatin the table 2001-06-06 16:12:30 +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
0fd7d236f3 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-06-04 04:08:54 +03:00
monty@hundin.mysql.fi
bea6d78873 Fixed portability problem. 2001-06-04 04:08:30 +03:00
heikki@donna.mysql.fi
d9c18caa20 manual.texi website address change
row0sel.c	CHECK TABLE now also for InnoDB, a join speed optimization
trx0trx.c	CHECK TABLE now also for InnoDB, a join speed optimization
rem0cmp.c	CHECK TABLE now also for InnoDB, a join speed optimization
row0mysql.c	CHECK TABLE now also for InnoDB, a join speed optimization
page0page.c	CHECK TABLE now also for InnoDB, a join speed optimization
row0mysql.h	CHECK TABLE now also for InnoDB, a join speed optimization
trx0trx.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0btr.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0cur.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0pcur.h	CHECK TABLE now also for InnoDB, a join speed optimization
btr0pcur.ic	CHECK TABLE now also for InnoDB, a join speed optimization
btr0btr.c	CHECK TABLE now also for InnoDB, a join speed optimization
btr0cur.c	CHECK TABLE now also for InnoDB, a join speed optimization
btr0sea.c	CHECK TABLE now also for InnoDB, a join speed optimization
innodb.result	CHECK TABLE now also for InnoDB, a join speed optimization
ha_innobase.cc	CHECK TABLE now also for InnoDB, a join speed optimization
ha_innobase.h	CHECK TABLE now also for InnoDB, a join speed optimization
2001-06-03 22:58:03 +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
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
683a46a38b Added ER_SAFE() for cases when the error message could be out of bands 2001-06-01 04:10:53 +03:00
sasha@mysql.sashanet.com
bd109ae97c fixed bug in CHANGE MASTER TO 2001-05-31 16:54:16 -06:00
sasha@mysql.sashanet.com
0ca8dd1721 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-05-31 13:58:33 -06:00
sasha@mysql.sashanet.com
6d75659b42 deal with errno out of range when reading it from the master 2001-05-31 13:56:57 -06:00
monty@hundin.mysql.fi
8ad79ab09b Fixed typo from last checkin 2001-05-31 13:17:30 +03: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
mikef@nslinux.bedford.progress.com
d1fc2f3c4f Merge nusphere@work.mysql.com:/home/bk/mysql
into nslinux.bedford.progress.com:/usr1/mikef/MYSQL/there
2001-05-29 09:38:16 -04:00
mikef@nslinux.bedford.progress.com
ceac5f9227 Pushing all the Gemini changes above the table handler. 2001-05-29 09:29:08 -04:00
monty@donna.mysql.fi
acf598c50c Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-05-29 14:02:06 +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
444afa7597 Corrected error messages to avoid problems with too long error messages. 2001-05-28 02:56:22 +03:00
monty@tik.mysql.fi
7ea5c8104b Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-05-28 02:49:12 +03: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
sasha@mysql.sashanet.com
49ac18c7c9 BUILD/SETUP.sh@1.9
removed -ffixed-ebp from reckless flags
BUILD/compile-pentium@1.16
    use fast, not reckless flags for binary distribuition
sql/share/english/errmsg.txt@1.24
    Point the user to the manual when he gets aborted connection message
2001-05-25 16:26:52 -06: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@donna.mysql.fi
86eda127f7 Remove wrong access check for locks.
Fixed problem with fuzzy dates.
2001-05-23 02:40:24 +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
tim@threads.polyesthetic.msg
a37b971595 Security fix: LOCK TABLES must check for sufficient privileges. 2001-05-22 16:21:07 -04:00
heikki@donna.mysql.fi
546c6eb3db dict0dict.h InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.h	InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.h	InnoDB now tries to provide autoinc column value from a counter table in data dict
univ.i  	InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0dict.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
dict0mem.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
sync0sync.c	InnoDB now tries to provide autoinc column value from a counter table in data dict
ha_innobase.cc	InnoDB now tries to provide autoinc column value from a counter table in data dict
2001-05-21 19:04:46 +03: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
tim@threads.polyesthetic.msg
b708df267d Merge work.mysql.com:/home/bk/mysql
into threads.polyesthetic.msg:/usr/local/src/my/3
2001-05-14 20:42:20 -04:00
sasha@mysql.sashanet.com
a37c82a5cf sql/stacktrace.c
fixed frame depth since we now are a frame deeper 
    on Alpha, use SP instead of FP
2001-05-14 14:11:26 -06:00
tim@threads.polyesthetic.msg
72b7de1487 Merge work.mysql.com:/home/bk/mysql
into threads.polyesthetic.msg:/usr/local/src/my/3
2001-05-14 14:23:45 -04: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
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
33fa6e04cc Merge 2001-05-05 09:44:25 +03:00
monty@donna.mysql.fi
f6a36e948d Added LOAD DATA CONCURRENT 2001-05-05 09:41:47 +03:00
sasha@mysql.sashanet.com
fe54369179 better error message in replication when packet is too large 2001-05-03 17:27:35 -06:00
sasha@mysql.sashanet.com
c6ceb04bd8 Docs/manual.texi
fixed bug
sql/sql_repl.cc
    undid virtual master change
2001-05-03 16:01:13 -06:00
sasha@mysql.sashanet.com
2bd1476a32 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-05-03 11:58:35 -06:00
sasha@mysql.sashanet.com
c8fdb95815 reversed virtual master 2001-05-03 11:46:49 -06:00
heikki@donna.mysql.fi
59ed711e41 sql_yacc.yy changed ...IN SHARE MODE to ...LOCK IN SHARE MODE to resolve a parsing bug after a WHERE clause 2001-05-03 14:41:03 +03:00
monty@donna.mysql.fi
68657024cb Fixed bug from last commit 2001-05-03 08:46:58 +03:00
monty@donna.mysql.fi
91c4407e1a Fixed a bug with SELECT DISTINCT and HAVING 2001-05-02 23:39:05 +03:00
monty@donna.mysql.fi
6371f9849d Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-04-29 16:07:58 +03:00
monty@donna.mysql.fi
e30fd503ec Cleanup 2001-04-29 16:07:40 +03:00
jani@hynda.mysql.fi
e5c36cbadc Merge jamppa@work:/home/bk/mysql into hynda.mysql.fi:/data/my/bk/mysql 2001-04-26 01:13:18 +03:00
jani@hynda.mysql.fi
96363cf024 Added a new option --result-file to mysqlbinlog. 2001-04-26 01:12:51 +03:00
sasha@mysql.sashanet.com
183af62f6a Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-04-25 15:21:47 -06:00
sasha@mysql.sashanet.com
bdb8077a55 fixed bug in mysqlbinlog 2001-04-25 15:20:59 -06:00
monty@donna.mysql.fi
f01a7fceb2 Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-04-25 22:44:57 +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
heikki@donna.mysql.fi
7fb48d9100 ha_innobase.cc Changed the error code HA_ERR_KEY_NOT_FOUND to HA_ERR_END_OF_INDEX in index_first to eliminate an error message 2001-04-25 14:44:35 +03:00
sasha@mysql.sashanet.com
41b502fc8b Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-04-24 17:40:25 -06:00
sasha@mysql.sashanet.com
be8f18e020 fixed redundant repetition of use db in mysqlbinlog
added support for virtual master ( replicating from a directory with binlogs)
test case for backup/restore with virtual master
2001-04-24 17:39:26 -06:00
monty@donna.mysql.fi
714560cbe9 Fix for release 2001-04-22 12:11:01 +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
0f37b1244b Fixed portability problems in mysqlcheck 2001-04-21 03:03:08 +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@donna.mysql.fi
5e8c4b76d5 Portability fixes 2001-04-20 15:18:46 +03:00
tim@threads.polyesthetic.msg
c1780adda1 Merge work.mysql.com:/home/bk/mysql
into threads.polyesthetic.msg:/usr/local/src/my/work
2001-04-19 15:15:34 -04:00
monty@donna.mysql.fi
a94ba10f8d Fix for BDB and LOCK TABLES 2001-04-19 20:41:19 +03:00
monty@donna.mysql.fi
bc6fd0acaa Added test for PTHREAD_YIELD
Removed test of default master parameter
Don't lock locked tables in REPAIR
Changed optimzation for SELECT * from table,table ORDER BY keypart LIMIT
2001-04-18 23:47:11 +03:00
tim@threads.polyesthetic.msg
1e3ab09a51 Merge 2001-04-17 09:18:37 -04:00
tim@threads.polyesthetic.msg
e19137f037 sql_select.cc sizeof(**TABLE) -> sizeof(*TABLE) in malloc() 2001-04-17 09:13:10 -04:00
serg@serg.mysql.com
13ef4d1db4 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2001-04-17 14:17:48 +02:00
serg@serg.mysql.com
389a7c0286 bugfix: HAVING MATCH 2001-04-17 14:17:22 +02:00
monty@donna.mysql.fi
c4aafedfc6 Moved test to keep Tim happy 2001-04-17 14:07:38 +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
1e80c3f3e1 Don't use ranges on HEAP tables with LIKE
Don't reconnect client on close
2001-04-17 03:55:25 +03:00
monty@donna.mysql.fi
1afbe4feba The environment variable PAGER is now used as the default pager
Fixed bug with float columns
2001-04-17 01:45:30 +03:00
monty@donna.mysql.fi
ac77076ff2 Fixed bug with HEAP tables when using LIKE 2001-04-16 14:05:55 +03:00
monty@donna.mysql.fi
2ba11380eb Fix RPM to be able to build MySQL-Max 2001-04-14 01:30:52 +03:00
monty@donna.mysql.fi
bc7731c0c7 Changed -O6 to -O3
Portability fix for Innodb
2001-04-13 22:09:33 +03:00
heikki@donna.mysql.fi
fc6dcf4df7 log0recv.c Change Innobase text to InnoDB
log0log.c	Change Innobase text to InnoDB
srv0start.c	Change Innobase text to InnoDB
srv0srv.c	Change Innobase text to InnoDB
ha_innobase.cc	Change Innobase text to InnoDB
2001-04-13 16:36:54 +03: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
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@donna.mysql.fi
dc933ad9d6 Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-04-11 20:23:31 +03:00
monty@donna.mysql.fi
d2dc65f1b4 Fixed bug in REGEXP for Linux Alpha 2001-04-11 20:19:52 +03:00
sasha@mysql.sashanet.com
835cd51e20 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-04-10 21:17:21 -06:00
sasha@mysql.sashanet.com
102c1945eb do not log the drop internal temporary tables into the binary log
mark killed partially completed updates with an error code in binlog
stop replication if the master reports a possible partial/killed update
test partially killed update
2001-04-10 20:56:54 -06:00
heikki@donna.mysql.fi
4709a1721a srv0srv.h Merging work for 3.23.37
os0thread.c	Set created thread priority to QUERY_PRIOR if specified
row0mysql.c	Drop table removes locks on the table, error handling changed
row0ins.c	Insert now always sets a shared lock on a duplicate or suspected duplicate record
lock0lock.h	Can remove locks from a table to be dropped
lock0lock.c	Can remove locks from a table to be dropped
srv0srv.c	Try to do log flush every second
srv0start.c	No need for a slash at the end of dir
trx0trx.h	Added an IGNORE option field to trx handle
trx0trx.c	Added an IGNORE option field to trx handle
ha_innobase.h	Added last_query_id field to handle
ha_innobase.cc	Fix drop table hang, roll-forward etc.
2001-04-10 21:58:07 +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
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
heikki@donna.mysql.fi
ae05b07fb7 univ.i Prevent inlining of functions on HP-UX because GCC is broken there
configure.in	Prevent inlining of functions on HP-UX because GCC is broken there
trx0trx.h	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
trx0trx.c	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
ha_innobase.cc	Fix trx->error_info in MySQL debug version: Innobase and ha_innobase.cc saw a different size for pthread_mutex_t
2001-04-06 20:37:31 +03:00
sasha@mysql.sashanet.com
fdf19ea879 moved bdb/innobase to compile-pentium-debug-max
fixed bug in variable assignment in mysqltest
fixed coredump on conversion from empty blob/text to date
added test case for empty blob conversion to date
2001-04-05 19:04:34 -06:00
sasha@mysql.sashanet.com
b1bfac4748 Merge mysql.sashanet.com:/home/sasha/src/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql-fast
2001-04-02 19:02:47 -06: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
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
65822120f5 Fixed bug in ALTER TABLE
Removed _mi_rkey() function
New fork_big.pl multi-thread test
2001-04-01 13:45:48 +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
e5da9a96de Fixed bug in lock tables introduced by shared locks.
New lock test
2001-03-27 13:05:48 +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
2ff0334c23 Fixed problem with Innobase and signals on Solaris 2001-03-26 02:01:05 +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
76e59081a0 Updating changelog 2001-03-25 13:19:05 +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@donna.mysql.fi
176147cd31 Merge work:/home/bk/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-03-24 20:15:43 +02: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
serg@serg.mysql.com
faa63c5013 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2001-03-24 16:21:41 +01:00
sasha@mysql.sashanet.com
2531f38803 added test case for the nasty join query crash 2001-03-23 21:56:18 -07:00
monty@tik.mysql.fi
bdb822ef49 Fixed bug with FLUSH TABLES when using temporary tables 2001-03-23 21:16:57 +02:00
monty@tik.mysql.fi
5c497ccf2f Merge work:/my/mysql into tik.mysql.fi:/home/my/mysql 2001-03-23 20:40:31 +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
sasha@mysql.sashanet.com
cb8962ac80 fixed bug on re-open of temp tables after FLUSH in the middle of open
added flush test case, but had to comment the fun part out because it
does not work for some reason - will investigate why.
2001-03-22 20:04:59 -07: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
3c48448042 Split setup_fields to setup_tables and setup_fields
Fixed problem with UPDATE TABLE when keys wheren't always used.
2001-03-21 20:13:46 +02:00
serg@serg.mysql.com
edba53f3b9 bug with mysql_change_db() fixed 2001-03-21 17:09:43 +01: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
c36f4fd0c2 Added tests if a user variable is changed in the same query. 2001-03-15 11:55:44 +02:00
monty@donna.mysql.fi
d0722d73b0 Added fix for using variables with distinct 2001-03-15 03:55:48 +02:00
monty@donna.mysql.fi
1bd0d416b2 merge 2001-03-15 00:30:32 +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
jcole@abel.spaceapes.com
84999eb5e2 Reversed SQL_ANSI_MODE per Monty's request. 2001-03-14 07:15:45 -06:00
jcole@tetra.spaceapes.com
fef4e75287 Merge work.mysql.com:/home/bk/mysql
into tetra.spaceapes.com:/usr/home/jcole/bk/mysql
2001-03-14 01:49:02 -06:00
jcole@tetra.spaceapes.com
1b9ce04050 Moved state_map copying to THD::THD(). 2001-03-14 01:18:16 -06:00
sasha@mysql.sashanet.com
0dd0d88e8f changed signal by fd close to signal by vio_close
added support for kill expr
fixed coredump in set @a := foo;
added testcase for user_var
added testcase for kill
2001-03-13 23:07:12 -07:00
serg@serg.mysql.com
555430819d mysql-test/r/order_by.result fixed for new test
sql/field.cc    ORDER BY bug fixed
2001-03-13 13:30:12 +01:00
serg@serg.mysql.com
97fc1cc32b sql_lex.cc per-thread state_map temporarily disabled
mysql-test-run.sh	PATH corrected
2001-03-13 12:54:43 +01:00
sasha@mysql.sashanet.com
e8e1e88335 Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-03-12 20:18:16 -07:00
sasha@mysql.sashanet.com
a2b6410965 untested changes to close socket on slave stop for OS's that do not
interrupt I/O after thr_alarm_kill()

test case for order by desc coredump
2001-03-12 20:17:32 -07:00
jcole@tetra.spaceapes.com
a855617f36 Added SQL_ANSI_MODE. 2001-03-12 18:16:30 -06:00
monty@donna.mysql.fi
26a8c8b823 Optimization of delete with record cache (for MyISAM tables)
Added missing files for innobase to the distribution
2001-03-11 23:09:09 +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
c1402e2d5c Fixed bug in MAX() optimizing for BDB tables 2001-03-10 17:05:10 +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
32d403f087 Fixed bug in INSERT DELAYED when INSERT generated an error 2001-03-08 21:49:15 +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
heikki@donna.mysql.fi
aba6b59b28 ha_innobase.cc Fix a bug in removal of trailing spaces of binary varchar strings, fix a bug in REPLACE 2001-03-07 19:43:46 +02:00
monty@donna.mysql.fi
becf27e6db Removed duplicated index_init() calls that causes problems with BDB
tables.
Merged maxsql.spec with mysql.spec
2001-03-07 14:06:39 +02:00
monty@donna.mysql.fi
d2b0512942 Merge work:/my/mysql into donna.mysql.fi:/home/my/bk/mysql 2001-03-06 20:39:10 +02:00
monty@donna.mysql.fi
e829e96dbc Patch from sleepycat to fix problem with BDB and log files
Print full command name to log files
Convert table type to supported onces on ALTER TABLE
2001-03-06 20:38:53 +02:00
heikki@donna.mysql.fi
0ba8d3efd2 trx0trx.h Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0ins.c	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0mysql.c	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
row0mysql.h	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
ha_innobase.cc	Innobase now returns the key number in a duplicate key error, removed innobase/include from make dirs
2001-03-06 19:45:10 +02:00