monty@mashka.mysql.fi
2aecdd1a91
Big code cleanup/review before 4.0.2 release.
...
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
bell@sanja.is.com.ua
839d661b3c
removed unneeded table name pointer
...
transaction-live memory cleanup moved to ha_commit/ha_rollback
fixed query cache validator to work correctly on systems that allocate unaligned dat
2002-06-09 00:58:05 +03:00
bell@sanja.is.com.ua
bd7e31bc53
temporary preventing subselect in HAVING clause
2002-06-07 21:26:43 +03:00
bell@sanja.is.com.ua
ab56d9b51b
Prevent needless rexecuting empty subselects
2002-06-06 16:28:22 +03:00
bell@sanja.is.com.ua
289ac250af
merged
2002-06-05 21:32:22 +03:00
monty@hundin.mysql.fi
f0b28da6f9
merge with 4.0
2002-06-03 12:59:31 +03:00
bell@sanja.is.com.ua
fb2cd68b5d
new subselect tests
...
LIMIT fixed
AVG & STD with subselect fixed
join_free fixed to be depended queries compatible
sort_default removed from SELECT_LEX
2002-06-01 23:35:36 +03:00
bell@sanja.is.com.ua
1fb2babea7
limit clause fixed
2002-05-28 22:38:17 +03:00
bell@sanja.is.com.ua
59602212d2
merge
2002-05-26 22:57:08 +03:00
bar@gw.udmsearch.izhnet.ru
196aa19cf6
Now string values are created and filled with charset field
...
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
2002-05-17 16:29:52 +05:00
Sinisa@sinisa.nasamreza.org
d65671f778
Features made for Schlund plus several bug fixes.
...
Read a manual for more detail
2002-05-15 13:50:38 +03:00
bell@sanja.is.com.ua
e077890b04
simple subselects ported to new select_lex structures
2002-05-12 23:46:42 +03:00
bell@sanja.is.com.ua
ead6f225a4
new SELECT_LEX structures used for storing global ORDER BY, global LIMIT & limit counters
2002-05-08 23:14:40 +03:00
monty@hundin.mysql.fi
b5a145d872
merge
2002-04-13 15:34:39 +03:00
sasha@mysql.sashanet.com
be388422eb
replication updates. This changeset seems to be working fine on test systems.
...
If no problems are discovered in the next week, this will make the replication
code ready for 4.0.2 release.
2002-03-30 12:36:05 -07:00
bell@sanja.is.com.ua
c5d95b5e62
added building without query cache
2002-03-22 22:55:08 +02:00
bell@sanja.is.com.ua
63b2a551bf
processing trunsactional tables in query cache
2002-03-15 23:57:31 +02:00
bar@gw.udmsearch.izhnet.ru
c60a29f0ee
Hash now supports several charsets
2002-03-14 21:44:42 +04:00
Sinisa@sinisa.nasamreza.org
59d922a11f
small bug fix in max queries per hour
2002-02-08 17:44:50 +02:00
Sinisa@sinisa.nasamreza.org
20ca7ee268
Changes required for maximum queries per hour
2002-02-01 15:40:38 +02:00
sasha@mysql.sashanet.com
684f13ef4c
Ugly merge! But I am not done yet - there are a number of things I need to fix
...
before I can push
2002-01-19 22:46:25 -07:00
sasha@mysql.sashanet.com
56129ce634
Here comes a nasty patch, although I am not ready to push it yet. I will
...
first pull, merge,test, and get it to work.
The main change is the new replication code - now we have two slave threads
SQL thread and I/O thread. I have also re-written a lot of the code to
prepare for multi-master implementation.
I also documented IO_CACHE quite extensively and to some extend, THD class.
2002-01-19 19:16:52 -07: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
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
4c17825acd
Update of query cache code
2001-12-06 01:05:30 +02:00
monty@hundin.mysql.fi
1d26537da5
Query cache.
...
Remove some warnings
2001-12-02 14:34:01 +02:00
monty@hundin.mysql.fi
0bfec316ce
Don't do signal() on windows (Causes instability problems)
...
Safer, a bit faster filesort.
Code changes to avoid calls to current_thd() (faster code).
Removed all compiler warnings from readline.
2001-10-17 19:39:39 +03:00
monty@hundin.mysql.fi
06e719b7cc
Remved Gemini code.
2001-10-10 02:50:28 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
e251f9d827
Fixed problem with INSERT DELAYED
...
Make killing threads safer
2001-08-31 23:02:09 +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
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
sasha@mysql.sashanet.com
f6836bf81a
merged
2001-08-09 19:16:15 -06:00
jani@hynda.mysql.fi
44722151fd
Added new optino --sql-mode to mysqld.
2001-08-09 18:51:38 +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
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
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
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@hundin.mysql.fi
897b37b506
Changed safe_mysqld -> mysqld_safe
...
Added some alias to SHOW commands
Prepare for dynamic changing of MySQL variables
2001-06-28 10:49:16 +03:00
sasha@mysql.sashanet.com
46de2a9fe4
Added event sequence number and flags to binlog
...
Documented/cleaned up log event code
Updated tests
2001-06-19 15:03:48 -06: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
serg@serg.mysql.com
6a41e1f3a5
merged
2001-04-13 21:29:06 +02:00
serg@serg.mysql.com
ca0ba8e0ab
this won't be pushed
2001-04-13 16:18:44 +02:00
serg@serg.mysql.com
a6ebe74e3c
Preliminary commit of HANDLER syntax (w/o LIMIT or column-list)
2001-04-07 00:18:33 +02: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
add70fc1ba
Changed pthread_mutex_init() to use new MY_MUTEX_INIT.. macro
...
(For glibc 2.2)
2001-03-26 01:05:04 +03: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
6f9a73a1ba
Added isolation levels
...
Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE
2001-03-21 01:02:22 +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
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
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
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
sasha@mysql.sashanet.com
3cf810222a
fixed up leaks found by --exit-info=256
...
better error diagnostic in SLAVE START
2000-12-09 14:28:51 -07: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
3666dab516
Added innobase handler files + other updates for innobase
2000-12-06 01:54:17 +02:00
sasha@mysql.sashanet.com
25ae951289
Merge work.mysql.com:/home/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-11-27 23:10:49 -07: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
93c0180805
Merge work.mysql.com:/home/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-11-27 11:13:05 -07:00
sasha@mysql.sashanet.com
dd24015eac
Fixed temp tables to work with replication. It will not work if you stop the slave
...
while slave thread has temp tables - not hard to fix though, but it is time to go to bed
added a new test case for temp table replication and Slave_open_temp_tables
status variable.
Misc fixes
2000-11-25 23:29:01 -07: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
sasha@mysql.sashanet.com
14854a669a
fixed warning in sql_class.cc
...
added gdb support, mysqld options per test, and other cool stuff to mysql-test-run
added --replicate-wild-do/ignore-table
more test cases
2000-11-20 23:38:08 -07: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
ca2cca8dce
merge
2000-11-16 20:55:52 +02:00
monty@donna.mysql.com
217ef71afa
Fixes for IO_CACHE
2000-11-16 20:47:28 +02:00
sasha@mysql.sashanet.com
eb0a423e0e
merged
2000-11-15 18:58:59 -07: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
sasha@mysql.sashanet.com
f2b9a60ec4
repl-tests/test-repl-ts/repl-timestamp.master.reject
...
this file needs to be deleted
sql/log_event.cc
fixed warnings
sql/log_event.h
fixed () #define bug
sql/mysqlbinlog.cc
fixed length argument - was supposed to be one less
sql/mysqld.cc
replicate-do/ignore-table now works, wild does not yet
sql/mysql_priv.h
updating argument to add_table_to_list() -- needed for replicate-do/ignore table
sql/slave.cc
changes fore replicate-do/ignore-table
close the socket before going to sleep sleeping after error
bad event was being freed too early
sql/slave.h
changes for replicate-do/ignore-table
sql/sql_class.cc
slave_thread variable to THD
sql/sql_class.h
added slave_thread to THD, fixed bug in end_time()
sql/sql_parse.cc
updating argument to add_tables_to_list()
sql/sql_table.cc
fixed bug in mysql_rm_table()
sql/sql_yacc.yy
fixed up add_table_to_list() calls to accept updating argument
sql/table.h
added updating to TABLE_LIST
2000-11-13 23:43:02 -07: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
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
527113d370
merge
2000-10-04 23:22:53 +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
sasha@mysql.sashanet.com
79f12db007
Merge work:/home/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2000-09-29 17:21:13 -06:00
sasha@mysql.sashanet.com
ea0f48ffb2
This one will not be pushed, I am committing to be able to pull in Monty's changes
...
added server id, mostly working
added --skip-slave-start, working
added --replicate-rewrite-db - just in the cmd line parses, currently noop
2000-09-28 16:24:50 -06: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
751f2d1f16
Faster log::write() call, memory leak fix, flush master fix.
2000-09-16 04:27:21 +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
4496d43faa
Quoting of TIMESTAMP columns and small optimizations
2000-09-02 07:58:42 +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
aa3580924b
RENAME TABLE table_name TO new_table_name ; Faster Alloc
...
Small bug fixes
2000-08-21 03:00:52 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00