Commit graph

714 commits

Author SHA1 Message Date
peter@mysql.com
684bf18e4d Arjens LOG functions changes with small changes and tests added to mysql-test 2002-07-17 12:11:48 +04:00
monty@hundin.mysql.fi
daaf9b1a31 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-07-01 02:55:57 +03:00
monty@hundin.mysql.fi
4d4d6d34a2 Removed purify warning 2002-07-01 02:50:30 +03:00
serg@serg.mysql.com
07bd261c1b Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-06-30 23:35:59 +00:00
monty@hundin.mysql.fi
f87efa928b Update for running gcc 3.x (mainly on HPUX)
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
serg@sergbook.mysql.com
8bf5ea3ae0 Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-06-29 21:42:21 +02:00
Sinisa@sinisa.nasamreza.org
5a65b8b20a Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-06-29 16:32:45 +03:00
Sinisa@sinisa.nasamreza.org
816dc4eb28 Added functions :
* binary XOR
* logical XOR
* CHECK_LOCK("lock_name")
2002-06-29 16:25:09 +03:00
serg@sergbook.mysql.com
e0381217a6 Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-06-28 15:19:43 +02:00
serg@sergbook.mysql.com
84103d36d7 parser bug of "phrase search" fixed 2002-06-28 15:18:45 +02:00
monty@hundin.mysql.fi
33f84cf8fe Fixed bug in REPAIR table.
Portability fix in safemalloc.c
2002-06-28 15:06:04 +03:00
peter@linux.local
e773a26e6e Adding handling of numbers with exponent to decimal type. 2002-06-24 21:30:54 +04:00
monty@hundin.mysql.fi
89f8978731 Fixed some bugs after last merge
Added semaphore support to MIT-pthreads.
2002-06-20 15:25:02 +03:00
monty@hundin.mysql.fi
3184dc1f16 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-06-19 00:38:58 +03:00
Sinisa@sinisa.nasamreza.org
6ad30c9b2d Fixed some comments , plus introduced some tests so that I do not
make some new mistakes.
2002-06-18 17:38:06 +03:00
monty@hundin.mysql.fi
b1f7c1251c Merge with 3.23.52 2002-06-17 16:08:34 +03:00
Sinisa@sinisa.nasamreza.org
138e5d57eb Fixed a bug in optimiser with MERGE tables with non-unique values
with aggregating functions.

This consistently crashed Mysql
2002-06-15 20:59:42 +03:00
Sinisa@sinisa.nasamreza.org
eab0de7ce6 A fix for a bug which hits the optimiser when trying to group keys
for a seemingly impoosbile conds in WHERE....

This crashed MySQL in 4.0.2
2002-06-15 14:56:35 +03:00
Sinisa@sinisa.nasamreza.org
b559a6335c Merge 2002-06-14 15:15:24 +03:00
Sinisa@sinisa.nasamreza.org
078dada497 Fixed a rare bug when fulltext index is present and no tables are used.
A better fix would be to have a map of tables that are not used at all, 
and to annul just fledls in that TABLE.
2002-06-14 15:06:01 +03:00
peter@linux.local
f85a002c68 Merge 2002-06-14 15:24:22 +04:00
monty@mashka.mysql.fi
fb5c9ff0bf Merge work:/home/bk/mysql-4.0 into mashka.mysql.fi:/my/mysql-4.0 2002-06-12 15:08:22 +03:00
monty@mashka.mysql.fi
b8421d34ec Added the following new privleges:
SHOW DATABASES
CREATE TEMPORARY TABLE
LOCK TABLES
REPLICATION SLAVE & REPLICATION CLIENT
SUPER
EXECUTE

All scripts & documentation is updated for this change.
Added better error messages for global privileges
2002-06-12 15:04:18 +03:00
Sinisa@sinisa.nasamreza.org
8ebadc5d0a A fix for multi-table delete with tables optimised away.
Still not able to make a proper test case as this crashes on files 
where key and data pointers are 4 bytes each. Possibly a proper 
test case would require myisampack.
2002-06-11 22:45:51 +03:00
peter@linux.local
7e80b05884 Merge linux.local:/data/mysql-4.0-root into linux.local:/data/mysql-4.0 2002-06-11 13:56:58 +04:00
peter@linux.local
89b161d05d This changeset is mostly new version of previous commit modified according
to Monty's code style and optimization comments
2002-06-11 13:37:48 +04:00
monty@hundin.mysql.fi
ad04b7f677 Fixed bug in SQL_CALC_FOUND_ROWS + LIMIT 2002-06-10 13:33:25 +03:00
monty@hundin.mysql.fi
2c274c64b9 Bug fix for complicated GROUP BY ... ORDER BY query.
Fixed problem in access rights testing (from last patch)
2002-06-09 15:41:19 +03:00
Sinisa@sinisa.nasamreza.org
073d9e5f09 A bug fix and test case for a bug that appears in quereis where there
is a GROUP BY a column that is not NOT NULL and ORDER BY is done by
another column.

Even better fix would be to make a separate function for this.
2002-06-08 20:02:49 +03:00
sasha@mysql.sashanet.com
81a3130d5b spurious binlog error code logging on temp table auto-drop fixed
added a new replication test
2002-06-05 20:16:44 -06:00
Sinisa@sinisa.nasamreza.org
7fcb8b52f4 Bug fix for multi-table delete with test case and manual entry 2002-06-04 20:34:13 +03:00
monty@hundin.mysql.fi
4b1836ee36 Enable LOAD DATA LOCAL INFILE in mysql_test
Added syntax for column comments (for compability with 4.1)
Fix of ALTER TABLE RENAME
2002-06-04 00:40:27 +03:00
monty@hundin.mysql.fi
544f95c451 merge with 3.23 2002-06-02 20:46:03 +03:00
nick@nick.leippe.com
5f93b1e46a Merge nleippe@work.mysql.com:/home/bk/mysql
into nick.leippe.com:/home/nick/mysql/mysql
2002-05-31 16:56:48 -07:00
nick@nick.leippe.com
fc52e079d0 fixed 'load table from master' hang when host is empty
added respective test case
2002-05-31 16:56:02 -07:00
monty@hundin.mysql.fi
e2a116411e Portability fixes for SCO and HPUX
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name
2002-05-31 15:22:38 +03:00
nick@nick.leippe.com
e62283b900 Fixed bug: load table from master w/empty master would hang.
Now it properly returns error.
Added respective test case.
2002-05-30 17:31:25 -07:00
monty@hundin.mysql.fi
7e0358e509 fixed tests after merge 2002-05-28 10:21:56 +03:00
monty@hundin.mysql.fi
bbebc75163 merge with 3.23.51 2002-05-27 23:52:21 +03:00
monty@hundin.mysql.fi
6d0e43c73b Renamed stripp_sp -> strip_sp
Remove end space from ENUM and SET strings
2002-05-27 23:21:49 +03:00
Sinisa@sinisa.nasamreza.org
da0c70f5f3 Test re-grouping 2002-05-24 18:34:34 +03:00
Sinisa@sinisa.nasamreza.org
4d8211e2f3 Changing tests 2002-05-24 18:25:17 +03:00
monty@hundin.mysql.fi
c4a2d3d5d6 Portability fixes
Fixed problem with --password in mysql
2002-05-22 21:07:23 +03:00
Sinisa@sinisa.nasamreza.org
4f676e281f test cases for the GROUP BY bug ... 2002-05-22 16:33:00 +03:00
Sinisa@sinisa.nasamreza.org
53000468d1 A check that group by bug from 4.0.2 is not here ... 2002-05-22 15:12:42 +03:00
monty@hundin.mysql.fi
b4c35885d8 Fixes for gcc 3.1
Fixed bug in new code for regexp LIKE NULL
2002-05-21 20:35:58 +03:00
monty@hundin.mysql.fi
3cfdd984f0 merge 2002-05-19 11:10:06 +03:00
monty@hundin.mysql.fi
ce1353a454 Optimize LIKE with turbo-boyer-more algoritm 2002-05-17 16:45:00 +03:00
monty@hundin.mysql.fi
73392ebee1 Fix bug in CONCAT_WS()
Update of glibc patch from MySQL 4.0
2002-05-17 10:50:57 +03:00
monty@hundin.mysql.fi
0c5c517db6 Fixed some compilation problems in last changeset 2002-05-16 23:35:09 +03:00
monty@hundin.mysql.fi
f5ed8784a2 merge with 3.23.51 2002-05-16 18:20:49 +03:00
monty@hundin.mysql.fi
4ca4f4788b merge 2002-05-16 16:26:02 +03:00
monty@hundin.mysql.fi
5080d64c6b Fix bug in SELECT SQL_CALC_FOUND_ROWS 2002-05-16 16:06:57 +03:00
serg@sergbook.mysql.com
8667b0a2d9 yet another ft-trunc bug fixed 2002-05-15 20:31:24 +02:00
monty@hundin.mysql.fi
14b55bcc72 Fixed bug in datetime range optimization 2002-05-15 01:01:26 +03:00
serg@serg.mysql.com
7347504ed6 phrase search parser bug 2002-05-08 16:47:27 +00:00
serg@serg.mysql.com
a902712b93 "duplicated rows" bug 2002-05-07 18:27:39 +00:00
monty@hundin.mysql.fi
d025029de4 Fix for ISNULL() 2002-05-07 19:08:56 +03:00
monty@hundin.mysql.fi
5463fdfe28 Fixed bug in ISNULL(not_null_expression) 2002-05-04 11:11:00 +03:00
monty@hundin.mysql.fi
152734e3da Fixed test results after last changes 2002-05-02 18:19:52 +03:00
monty@hundin.mysql.fi
e90c6b481d Fixed problems with DECIMAL() type on overflow. 2002-05-02 18:04:21 +03:00
monty@hundin.mysql.fi
0b6a786540 Don't change FLOAT(X+1,X) to FLOAT(X+2,X) 2002-04-26 13:56:32 +03:00
monty@hundin.mysql.fi
d367495e39 Portability fixes 2002-04-26 08:56:28 +03:00
monty@hundin.mysql.fi
727122aadd merge 2002-04-25 01:16:42 +03:00
monty@tik.mysql.fi
ecf2c4e15a New if tests 2002-04-22 23:41:55 +03:00
monty@work.mysql.com
f6c0b2c448 Fixing Innodb test results 2002-04-21 12:06:34 +02:00
serg@serg.mysql.com
2e6b3c2673 ftb bug fixed 2002-04-18 18:44:18 +00:00
monty@tik.mysql.fi
f94d84a9ec SHOW VARIABLES LIKE ... are now case insensitive
Fixed stack overflow checking with crash-me with gcc 3.0.4
Using @@unknown_variable doesn't hang client anymore
Added @@VERSION variable
2002-04-18 18:24:14 +03:00
serg@serg.mysql.com
366fe664b0 Merge 2002-04-18 14:26:47 +00:00
serg@serg.mysql.com
3cc69d5a64 phrase search 2002-04-18 14:12:29 +00:00
sasha@mysql.sashanet.com
af9a3e88dc Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-04-15 17:12:02 -06:00
sasha@mysql.sashanet.com
d7b7e09293 reckless slave option
bison 1.34 yacc rule compliance
more robust handling of relay log corruption
2002-04-15 17:09:30 -06:00
monty@tik.mysql.fi
9088383e0f merge 2002-04-12 21:53:41 +03:00
monty@tik.mysql.fi
056175a1ce Update for BTREE keys in HEAP tables
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
2002-04-12 21:35:46 +03:00
sasha@mysql.sashanet.com
d196201107 fixed bug in truncating temp tables
fixed compilation problem on FreeBSD
added test for truncating temporary tables
2002-04-08 18:20:24 -06:00
Sinisa@sinisa.nasamreza.org
34998c5ad4 fix for SQL_CALC_FOUND_ROWS in UNION's 2002-04-03 17:52:31 +03:00
Sinisa@sinisa.nasamreza.org
b98a84a19f Fix for a bug with EXPLAIN and (....) UNION (....) order by 2002-04-02 20:08:55 +03:00
sasha@mysql.sashanet.com
14603a3620 relay_log_space_limit
DBUG_ macro cleanup
buffer boundary cleanup
This changeset, although not fully tested, works for me better than 
anything I've had so far, including what is in the repository. I will 
push it unless something crashes while I am writing this :-)
2002-04-01 21:46:23 -07:00
sasha@mysql.sashanet.com
ab1fdbdeac Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-03-26 22:23:51 -07:00
monty@hundin.mysql.fi
2faee46284 merge (remove conflicting zip files) 2002-03-27 06:44:23 +02:00
monty@hundin.mysql.fi
6dde6627cf Updated results 2002-03-27 06:29:07 +02:00
monty@hundin.mysql.fi
727e507bca merge with 3.23.50 2002-03-27 01:56:10 +02:00
bell@sanja.is.com.ua
2a32eaf82d Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/work-qc-4.0
2002-03-23 00:18:20 +02:00
bell@sanja.is.com.ua
c5d95b5e62 added building without query cache 2002-03-22 22:55:08 +02:00
monty@hundin.mysql.fi
ed040fe21e Fix for bug in WHERE key='j' or key='J' 2002-03-22 14:03:42 +02:00
Sinisa@sinisa.nasamreza.org
8766627d73 Fixes for offset bug in UNION's and making UNION's obey
SELECT_DEFAULT_LIMIT
2002-03-22 13:26:13 +02:00
Sinisa@sinisa.nasamreza.org
87eea66796 fix for the limit bug in UNION's and some additional syntax
checkings
2002-03-19 14:07:52 +02:00
sasha@mysql.sashanet.com
2e6b48afd3 replication updates and bugfixes. Still not perfect - there is some strange
memory corruption I can only repeat on one system.
2002-03-15 18:44:44 -07:00
bell@sanja.is.com.ua
b642599f96 Merge sanja.is.com.ua:/home/bell/mysql/mysql-4
into sanja.is.com.ua:/home/bell/mysql/work-qc
2002-03-15 23:59:51 +02:00
bell@sanja.is.com.ua
63b2a551bf processing trunsactional tables in query cache 2002-03-15 23:57:31 +02:00
Sinisa@sinisa.nasamreza.org
ec80dec9b0 Making full-text queries working with UNION's 2002-03-15 14:11:11 +02:00
serg@serg.mysql.com
b948d0853f merged 2002-03-13 17:27:45 +00:00
serg@serg.mysql.com
3f51fcf1f1 mi_check flags cleanup
CHECK/REPAIR syntax cleanup
REPAIR ... USE_FRM syntax
2002-03-13 17:20:17 +00:00
monty@hundin.mysql.fi
a522720a03 fix after merge 2002-03-13 01:02:45 +02:00
monty@hundin.mysql.fi
8eadb024dc Fixed mysqldumpslow for new dump format.
Fix for HEAP tables with many rows deleted.
Add '' arround database names in SHOW GRANT
2002-03-12 11:52:41 +02:00
monty@hundin.mysql.fi
a01775c5eb Added help for --local-infile
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
Allow SET PASSWORD for anonymous user
2002-03-12 11:38:22 +02:00
serg@serg.mysql.com
f1a14b4c1a merged 2002-03-09 13:23:35 +00:00
Sinisa@sinisa.nasamreza.org
c65ac4e7ac tests for bug fix 2002-03-07 15:36:14 +02:00
monty@hundin.mysql.fi
771e668732 Update test results 2002-03-07 00:21:37 +02:00
monty@hundin.mysql.fi
e9ba8d58fe merge 2002-03-06 23:41:18 +02:00
monty@hundin.mysql.fi
668d09cc5c Fixed bug in DATE_FORMAT when used with GROUP BY 2002-03-06 18:36:31 +02:00
serg@serg.mysql.com
2d9d140771 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-03-06 15:11:23 +00:00
Sinisa@sinisa.nasamreza.org
1086e7c52f several bug fixes and tests 2002-03-05 14:22:32 +02:00
serg@serg.mysql.com
2a973ced22 bug with indexless boolean fts fixed 2002-03-04 13:17:49 +00:00
monty@tik.mysql.fi
cb3499b7de merge 2002-03-02 13:59:26 +02:00
monty@tik.mysql.fi
9d9bcf25e7 Fix sorting of NULL values (Should always be first)
Fix problem with HAVING and MAX() IS NOT NULL
2002-03-02 09:51:24 +02:00
serg@serg.mysql.com
863b5da02d Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-03-01 16:58:06 +00:00
serg@serg.mysql.com
4e6150d4c7 fulltext+const_table bug fixed 2002-03-01 16:57:08 +00:00
Sinisa@sinisa.nasamreza.org
90629e2ccd many fixes 2002-02-28 21:58:32 +02:00
monty@hundin.mysql.fi
6c4b4ad859 Fix after merge from 3.23 2002-02-15 02:49:02 +02:00
monty@hundin.mysql.fi
15e9ca785a Fix for gethostbyname_r detection (for solaris). 2002-02-14 18:10:44 +02:00
monty@tik.mysql.fi
2f3cfff0a2 Added --user=userid to mysqld
Fix for ctypes on windows
Cleanup max_queries_per_hour
2002-02-13 22:37:19 +02:00
monty@hundin.mysql.fi
368731a915 Fixed bug in full join with many NULL fields. 2002-02-10 12:47:37 +02:00
sasha@mysql.sashanet.com
8ef07c4ffa updated test suite to be able to run 3.23 master and 4.0 slave
got LOAD DATA INFILE replication from 3.23 master to 4.0 slave to work
for some reason query_cache now fails - will push anyway and document the
failure if I can repeat it.
2002-02-09 13:58:53 -07:00
monty@hundin.mysql.fi
d36ac6b669 Fix some bugs introduced with the new my_getopt
Added counting of rollback's and commits
Fixed bug in 'SELECT 0 LIMIT 0'
Fixed bug in 'SELECT SQL_CALC_FOUND_ROWS'
2002-02-08 03:21:34 +02:00
monty@hundin.mysql.fi
f84ca37ed7 Fixed results after Heikki's last change 2002-02-07 23:46:29 +02:00
monty@hundin.mysql.fi
d713fee16b Update to autoconf 2.52
Fix of InnoDB variables in SHOW VARIABLES
Fix for ALTER TABLE and InnoDB
2002-02-07 21:34:35 +02:00
sasha@mysql.sashanet.com
b9637dae05 fixed wrong DBUG_ASSERT() in IO_CACHE
fixed apparent typo in opt_sum.cc
I will push this Changeset although it fails select test - failing select 
is better than the code that does not compile.
2002-01-31 16:17:24 -07:00
monty@hundin.mysql.fi
4000b036c0 Fixes for new getopt
Bug fix when using --no-deaults
Sets ref_length to right value (faster rnd_pos() handling in InnoDB).
Fixed problem with multi-table-delete and InnoDB
Fixed problem with truncate table, which required a COMMIT before.
Fixed multi-table-delete bug with InnoDB.
Remove not used index from EXPLAIN
2002-01-31 04:36:58 +02:00
monty@hundin.mysql.fi
be46289855 New error messages
Test of unsigned BIGINT values
Fixes for queries-per-hour
Cleanup of replication code (comments and portability fixes)
Make most of the binary log code 4G clean
Changed syntax for GRANT ... QUERIES PER HOUR
2002-01-29 18:32:16 +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
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
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
89fa5f13d9 Fixed bug when making a range join based on information from a const table. 2002-01-18 00:43:50 +02: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
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
05a3c0e8f6 Fixed shutdown problem on HPUX 2001-12-21 06:54:58 +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
cb754eb5aa Fix after merge 2001-12-17 23:24:51 +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
serg@serg.mysql.com
a43ceee6ba Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-12-14 11:02:24 +01:00
sasha@mysql.sashanet.com
0d67738e20 misc cleanup 2001-12-13 17:21:04 -07:00
sasha@mysql.sashanet.com
9db9b463d6 merged 2001-12-13 13:17:19 -07:00
monty@hundin.mysql.fi
0c0a170fa7 Fix that SHOW STATUS works with SSL.
Add 4.0 commands to SHOW STATUS.
2001-12-13 22:03:09 +02:00
monty@hundin.mysql.fi
c95adec1e4 New test results 2001-12-13 20:20:19 +02:00
monty@hundin.mysql.fi
70e053fba0 Fixed problem with default & InnoDB tables. 2001-12-13 19:06:14 +02:00
monty@hundin.mysql.fi
1d3e058c4b Added FLUSH DES_KEY_FILE.
New HEX() function.
Final (?) cleanup of des_encrypt() / des_decrypt().
Added missing files to Makefiles.
2001-12-13 15:53:18 +02:00
sasha@mysql.sashanet.com
f7acf09d9c slave-skip-errors
added extra/mysql_install.c - will work on it in 4.0, but it does not hurt
to have it sit in 3.23 tree for now since it will eventually be backported 
to 3.23 anyway
2001-12-12 18:55:33 -07:00
monty@hundin.mysql.fi
87fd219d67 Fixed sleep time in mysql-test-run
Fixed bug in query cache.
Cleaned up des_crypt code.
2001-12-13 02:31:19 +02:00
serg@serg.mysql.com
34779f4ee2 test added 2001-12-12 12:25:20 +01:00
monty@hundin.mysql.fi
8bef3771f4 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-12-11 20:47:07 +02:00
serg@serg.mysql.com
e9595dee53 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-12-11 14:40:56 +01:00
monty@hundin.mysql.fi
db2e22bf7e Portability fixes.
Changed mysql-test-run.sh to test for files to get shorter, more reliable timeouts.
2001-12-10 18:16:51 +02:00
monty@hundin.mysql.fi
12058c2996 Fixed bug in GROUP BY ... DESC 2001-12-10 17:51:07 +02:00
serg@serg.mysql.com
3e4bdf6014 test for truncation operator in indexless bolelan fts
mysys/queue.c: /* comment added */
2001-12-10 12:59:11 +01:00
monty@hundin.mysql.fi
6b02f13cf3 Removed compiler warnings.
Added new operators to be used with gcc 3.0.x
Update of query cache code.
Added semaphores for Windows (not yet in use)
Added pthread_mutex_trylock for windows.
2001-12-10 00:08:24 +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
5c94a16422 merge with 3.23.47 2001-12-06 01:16:28 +02:00
monty@hundin.mysql.fi
4c17825acd Update of query cache code 2001-12-06 01:05:30 +02:00
monty@hundin.mysql.fi
81ea1a6e1a Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-05 23:26:14 +02:00
monty@hundin.mysql.fi
90004e340b Fixed bug in LEFT JOIN 2001-12-05 23:15:05 +02:00
sasha@mysql.sashanet.com
e78a11f0e4 use $MASTER_PORT 2001-12-01 15:00:32 -07:00
sasha@mysql.sashanet.com
e57311045f added build-tags
added test case that supposedly will crash mysqld built with 2.96
2001-11-30 22:09:44 -07:00
monty@hundin.mysql.fi
8a8617075a Update test results 2001-11-29 22:27:58 +02:00
monty@hundin.mysql.fi
4b513347c4 Better optimization for InnoDB and BDB tables for ORDER BY 2001-11-29 15:34:37 +02:00
monty@hundin.mysql.fi
76ed6c26fc Fix of testcases after merge.
Small improvement to write caching.
2001-11-28 16:11:05 +02:00
monty@hundin.mysql.fi
69f6802632 merge 2001-11-28 14:52:11 +02:00
monty@hundin.mysql.fi
5fedd2dda7 Fix for IO_CACHE.
Portability fixes.
2001-11-28 03:47:15 +02:00
sasha@mysql.sashanet.com
5d2f2c8369 fixed alias drop bug in binlog
fixed skip counter to do the RightThing (TM) when the user messes up.
Still do RightThing when he gets it right.
2001-11-27 18:20:24 -07:00
monty@bitch.mysql.fi
3c057478c2 Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0 2001-11-28 02:59:54 +02:00
monty@bitch.mysql.fi
d0ccff5090 New improved IO_CACHE 2001-11-28 02:55:52 +02:00
monty@hundin.mysql.fi
66a31433a4 Fixed bug when joining with caching.
Fixed race condition when using the binary log and INSERT DELAYED which could cause the binary log to have rows that was not yet written to MyISAM tables.
2001-11-27 02:50:20 +02:00
tonu@volk.internalnet
f7e04edc6a Changed incomplete testcase to another incomplete testcase which works even if localhost.localdomain is first in /etc/hosts file for 127.0.0.1 2001-11-27 02:33:15 +02:00
tonu@volk.internalnet
38f7225904 func_encrypt.result Drop table here too.... 2001-11-26 17:13:06 +02:00
tonu@volk.internalnet
877b6a4922 Merge work.mysql.com:/home/bk/mysql-4.0
into volk.internalnet:/home/tonu/mysql-4.0
2001-11-26 15:58:01 +02:00
tonu@volk.internalnet
a0d9711074 des_encrypt()/des_decrypt() are now ASCII protected and pass testsuite 2001-11-26 15:54:33 +02:00
monty@hundin.mysql.fi
d3288575de Patch for SCO
Update test results for MySQL 4.0
2001-11-26 03:52:23 +02:00
monty@hundin.mysql.fi
cefe361b82 merge 2001-11-26 03:30:16 +02:00
monty@hundin.mysql.fi
5738117970 Fix race condition in ANALYZE TABLE.
Fixed bug where one got an empty set instead of a DEADLOCK error when using BDB tables.
2001-11-26 02:16:38 +02:00
monty@hundin.mysql.fi
22e418b405 merge 2001-11-25 13:56:03 +02:00
monty@hundin.mysql.fi
777fdb5d5c Fixes for embedded version. 2001-11-25 13:50:48 +02:00
serg@serg.mysql.com
79258183fd memory leak fixed 2001-11-24 17:45:22 +01:00