Commit graph

675 commits

Author SHA1 Message Date
monty@hundin.mysql.fi
e2a5c3e4cd Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-01-27 22:08:28 +02:00
sasha@mysql.sashanet.com
7275dcef35 misc replication bugfixes including some needed modifications in IO_CACHE
likely() and unlikely() branch prediction compiler hint macros
clean-up of comments
2002-01-26 22:26:24 -07:00
monty@hundin.mysql.fi
20530c307b merge 2002-01-26 01:24:38 +02: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
sasha@mysql.sashanet.com
8e43ad12c3 post-merge fixes, including slave-skip-errors backport
fixed too quick timeout in mysql-test-run which caused a race with the
 new server getting started before the old one completely finished 
 shutdown. This should fix the pid warning we've been getting as well as
 inconsistent results when running tests with the manager
2002-01-22 15:05:11 -07: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
df5f8c18eb Move HA_EXTRA_NO_READCHECK to ha_open
Fixed bug in multi-table-delete
2002-01-16 23:02:26 +02:00
monty@hundin.mysql.fi
bea12d761a merge 2002-01-16 01:08:29 +02:00
monty@hundin.mysql.fi
4d10a0cb7e Add support for NULL=NULL in keys (Used in GROUP BY optimization)
Add ISAM to Windows version
Fix of test results
Fixes for NULL keys in HEAP tables.
2002-01-16 00:42:52 +02:00
serg@serg.mysql.com
cffbd7e3d8 ft-bugfix (UPDATE something -> NULL) 2002-01-13 15:35:12 +00:00
serg@serg.mysql.com
66521277c2 Merge 2002-01-13 12:56:34 +00:00
bell@sanja.is.com.ua
11920dbbe7 New result block allocation strategy 2002-01-12 15:40:52 +02:00
serg@serg.mysql.com
5f1599e4b4 merged 2002-01-03 20:00:45 +00:00
serg@serg.mysql.com
ef8436beff BIT_LENGTH ODBC function 2002-01-03 19:47:14 +00:00
serg@serg.mysql.com
8b97f20024 handler+alter table 2002-01-03 14:31:54 +00:00
monty@hundin.mysql.fi
2597b1aadd New CAST syntax
Cleanup of multi-table-delete in sql_yacc.yy
Changed syntax of MAXIMUM QUERIES PER HOUR to MAX_QUERIES_PER_HOUR to
not get too many reserved words.
2002-01-03 00:46:43 +02:00
monty@hundin.mysql.fi
b0ea238d2e merge 2002-01-02 22:02:03 +02:00
monty@hundin.mysql.fi
fd0459a521 merge with 3.23 2002-01-02 21:34:12 +02: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
Sinisa@sinisa.nasamreza.org
1e3bd84217 DATE,TIME and DATETIME SQL typecasts 2001-12-29 20:56:50 +02:00
Sinisa@sinisa.nasamreza.org
ac98cf5c6d Just a missing comment ... 2001-12-29 15:17:09 +02:00
Sinisa@sinisa.nasamreza.org
d82830c591 Code that had to be changed so that CREATE ... SELECT ... always
creates proper column types, out of any function, expression or from
other tables.
2001-12-29 15:15:51 +02:00
monty@hundin.mysql.fi
2bd8bf31bd Bugfix for WHERE key=@a OR key=@b 2001-12-27 02:04:27 +02:00
Sinisa@sinisa.nasamreza.org
4ed4546004 Changes for the BitKeeper resolve.
One more notice:

limiting number of queries per hour for different users has been done
on 4.0.1 , but I can port it to 3.23.* 

This will require only certain changes, like number of columns in user
table.

I will also make a test case for it, after it is approved by Monty, 
as result file will depend on the error message text.
2001-12-26 17:42:06 +02:00
Sinisa@sinisa.nasamreza.org
038db406c1 This is a large push. Included are :
* multi-table updates
* new paid feature for limiting number of queries per hour for users
* optional syntax for multi-table deletes
* optimization for SQL_CALC_FOUND_ROWS
* a small addition for CREATE .. SELECT that will be of future use

I know that all this will require many additions to documentation, 
which I have not done, but I am at Arjen's disposal to help him document
all this.
2001-12-26 16:49:10 +02:00
monty@hundin.mysql.fi
5b77e33910 Fixed test case after HANDLER CLOSE fix 2001-12-23 03:03:09 +02:00
monty@hundin.mysql.fi
d2cae57402 Limit created keys to MAX_KEY_LENGTH.
Fix problem with query cache and database names
2001-12-23 02:43:46 +02:00
monty@hundin.mysql.fi
3eda53fb34 Fix for error message when using HANDLER OPEN on InnoDB tables. 2001-12-22 15:44:44 +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
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
05a3c0e8f6 Fixed shutdown problem on HPUX 2001-12-21 06:54:58 +02:00
monty@hundin.mysql.fi
f5a1abd861 merge 2001-12-20 13:52:04 +02:00
monty@hundin.mysql.fi
0eb46e4256 Fix insert delated + query cache.
Fix pthread_mutex_trylock on HPUX (needed for query cache).
2001-12-20 06:14:11 +02:00
monty@hundin.mysql.fi
1a4ac20bf9 Fixed bug in FLUSH QUERY CACHE
Changed 'send_file_to_server' to use less stack (Fixed replication problem on OSF1).
2001-12-19 15:45:04 +02:00
sasha@mysql.sashanet.com
7b672bc92c make replication work correctly if the master logs SELECT RELEASE_LOCK()
instead of DO RELEASE_LOCK()
2001-12-18 21:56:36 -07:00
sasha@mysql.sashanet.com
4c77f22c48 temp commit 2001-12-18 19:53:56 -07: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
1eb99ae80b Fix for purify 2001-12-18 00:23:56 +02:00
monty@hundin.mysql.fi
cb754eb5aa Fix after merge 2001-12-17 23:24:51 +02:00
monty@hundin.mysql.fi
1904d7a88d Portability fixes 2001-12-17 15:00:14 +02:00
monty@hundin.mysql.fi
4dbd9e061c Lots of portability fixes.
Fixed shutdown on HPUX.
Fixed bug in query cache.
2001-12-17 03:02:58 +02:00
serg@serg.mysql.com
fc3e066f36 freebsd fix for openssl
horrible bug fixed
2001-12-15 21:39:26 +01:00
serg@serg.mysql.com
15f84e2617 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-12-15 20:58:11 +01:00
monty@hundin.mysql.fi
4284a80049 Last changes after merge with 3.23.47 2001-12-15 06:00:01 +02:00
monty@hundin.mysql.fi
836f1608f7 Merge with 3.23.47 2001-12-15 05:12:21 +02:00
monty@hundin.mysql.fi
3b95f2570f --replace_result in mysqltest can now use variables 2001-12-15 04:41:20 +02:00
monty@hundin.mysql.fi
61be9477ec Removed not used functions from sql_cache
Added new tests to testsuite.
2001-12-14 16:02:41 +02:00