Commit graph

659 commits

Author SHA1 Message Date
monty@hundin.mysql.fi
f36f9d00ff Fixed bug in wait_for_update() that I had introduced.
Changed option variables to my_bool (to avoid bugs in my_getopt())
Added new thread specific mutex LOCK_delete to be able to free LOCK_thread_count early.
Changed usage of LOCK_thread_count -> LOCK_status for statistics variables
2002-08-22 16:50:58 +03:00
serg@serg.mysql.com
9fb3ceafff Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-21 21:16:20 +00:00
serg@serg.mysql.com
9498ed78c0 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-08-21 21:01:31 +00:00
serg@serg.mysql.com
99a954f405 InnoDB support for HANDLER 2002-08-21 20:55:34 +00:00
monty@hundin.mysql.fi
03b0179af9 Use our version of RWLOCKS on UNIXWARE 7
More DBUG info for replication
Better error messages from replication
Fixed bug in replication code when connecting to 'localhost' (time was not released properly)
Block ALARM signal on Linux for signal handler thread (Fixes problem with running mysqld with --debug)
Removed warning when setting an AUTO_INCREMENT field to NULL
2002-08-21 22:04:22 +03:00
monty@hundin.mysql.fi
a5edb20042 Fixed timing problem with rpl000001 replication test.
Fixed configure problems with HPUX and openbsd
SHOW SLAVE STATUS returns empty set if slave is not initialized
SHOW MASTER STATUS returns empty set if binary logging is not enabled.
Fixed shutdown problem on Solaris.
2002-08-18 16:04:26 +03:00
monty@hundin.mysql.fi
b9d7fcd279 Fixed bug in SAFEMALLOC for systems that requires longlong data to be aligned on 8 byte boundaries (like sparc)
Removed thread marking of safemalloc blocks (becasue of alignment problems)
Temporary fix for bigint comparison.
2002-08-17 05:18:06 +03:00
monty@hundin.mysql.fi
5ec63477ca merge 2002-08-17 00:39:58 +03:00
monty@hundin.mysql.fi
5773b6504a Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code)
Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column.
Fixed bug in pthread_mutex_trylock with HPUX 11.0
2002-08-17 00:35:51 +03:00
Sinisa@sinisa.nasamreza.org
c7f86c3373 A fix for bigints with quoted constants ..
Same princpile can be applied to other expressions
2002-08-16 20:31:48 +03:00
monty@hundin.mysql.fi
ae1ec6e16a Changed SQL variable delay_key_write to an enum
able delay_key_write as default (as it was in 4.0.2)
2002-08-13 02:18:39 +03:00
monty@hundin.mysql.fi
3ef9d44edc merge with 3.23.52 2002-08-12 04:04:43 +03:00
monty@hundin.mysql.fi
c99c1fd384 Changed IF(expr, column, NULL) to take type from column
Fixed some windows portability problems and removed some compiler warnings
 Cleaned up QUOTE() function and fixed bug in \0 and \Z handling.
2002-08-12 03:33:46 +03:00
monty@hundin.mysql.fi
b779b63862 Fixed problem with BIGINT and shutdown on AIX
Moved IF(test,column,NULL) code to 4.0
Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
Removed some CR's in os2 files.
2002-08-12 03:28:02 +03:00
Sinisa@sinisa.nasamreza.org
a80d185e40 A change in IF behaviour that several users asked for ... 2002-08-09 23:14:02 +03:00
monty@hundin.mysql.fi
43f1fb7972 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-08-09 16:50:24 +03:00
monty@hundin.mysql.fi
ac6e640c4d Fix for SSL and new my_getopt
Fix for syntax error bug in SET TRANSACTION ISOLATION
2002-08-09 16:47:16 +03:00
ram@ram.(none)
eb910c8d10 test case for the QUOTE() function 2002-08-09 17:58:30 +05:00
monty@hundin.mysql.fi
0751e55c46 Portability fix for AIX 2002-08-08 22:12:03 +03:00
monty@hundin.mysql.fi
ea3fe233e3 Portability fix for AIX 2002-08-08 22:09:25 +03:00
monty@hundin.mysql.fi
c46ec25eaf Reverted wrong patch for CREATE TABLE .. SELECT 2002-08-08 21:09:31 +03:00
monty@hundin.mysql.fi
8832927d5c Added nety_retry_count as a changeable variable
Make safe_mysqld a symlink to mysqld_safe in binary distribution
Fixed problem with CTRL-C when using mysqld --bootstrap
2002-08-08 20:49:06 +03:00
Sinisa@sinisa.nasamreza.org
68360dc11f bk resolve 2002-08-08 17:38:47 +03:00
monty@hundin.mysql.fi
087261482a merge with 3.23.52 2002-08-08 15:24:47 +03:00
Sinisa@sinisa.nasamreza.org
84ec8b9058 just manual differences resolving ..
Don't know what created the above three files ..

BK does not let me discard those ...
2002-08-08 14:19:01 +03:00
monty@mashka.mysql.fi
1bb7665a9c merge 2002-08-08 03:29:36 +03:00
monty@mashka.mysql.fi
2c4fa340cc Lots of code fixes to the replication code (especially the binary logging and index log file handling)
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +03:00
Sinisa@sinisa.nasamreza.org
e4b3d6fa72 Merge 2002-08-07 22:53:44 +03:00
Sinisa@sinisa.nasamreza.org
eb45da0431 Fixed bugs with create table from ITEM_FUNC and make it over
once for all derived functions.
I also reverted my patch for MONTH() and added a test case.
My MONTH() patch was too specific. This is a general fix.

Plus a fix for security flaw in database hash
2002-08-07 22:35:47 +03:00
bell@sanja.is.com.ua
011fed6059 Fixed bug in query cache after temporary table creation. 2002-08-07 15:29:49 +03:00
Sinisa@sinisa.nasamreza.org
e679540cfd fixed two bugs in multi-table update 2002-08-06 21:24:12 +03:00
monty@hundin.mysql.fi
4e5b087172 Better error messages for mysql-test-run
Added option --host to mysqlhotcopy
2002-08-06 16:12:52 +03:00
monty@mashka.mysql.fi
621b5da80e Fixed bug with GROUP BY on NULL fields.
(Merge of code from 4.0)
2002-08-05 18:10:53 +03:00
bell@sanja.is.com.ua
9c49005ff5 fixed bug in truncating nonexisting table, found by Carsten 2002-08-05 11:45:39 +03:00
serg@sergbook.mysql.com
9fae3956c9 make SEARCH_PREFIX to work with complex (use_coll) charsets, namely latin1_de 2002-08-05 00:14:21 +02:00
Sinisa@sinisa.nasamreza.org
aa7231af18 A bug with tables with different ref_length's whose order is
changed in table initialization
2002-07-31 19:53:06 +03:00
bell@sanja.is.com.ua
fd0989e76a fixed query cahe resize bug 2002-07-28 22:36:34 +03:00
peter@mysql.com
c070c8e62d Merge mysql.com:/home/pz/mysql/mysql-4.0-root
into mysql.com:/home/pz/mysql/mysql-4.0
2002-07-25 09:38:06 +04:00
monty@mashka.mysql.fi
e701333bbf INSERT ... VALUES(DEFAULT) 2002-07-25 01:00:56 +03:00
monty@mashka.mysql.fi
c702a1f8fd Removed wrong implementation of CUBE/ROLLUP
Fixed bugfix of INSERT ... SET db_name.table_name.column_name
Changed locking to external-locking
Fix client hangup for some invalid SQL queries.
2002-07-24 19:55:08 +03:00
monty@mashka.mysql.fi
00089b8148 Merge work:/home/bk/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-07-23 22:09:54 +03:00
salle@geopard.online.bg
02aaf29d2f Fixed bug with INSERT .. SET db_name.tbl_name.col_name='' 2002-07-23 20:42:08 +03:00
monty@mashka.mysql.fi
4233d3a3d4 merge 2002-07-23 20:39:36 +03:00
monty@mashka.mysql.fi
dddc20d9d1 New SET syntax & system variables.
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
peter@mysql.com
2ae30d2e7d Trying to merge.... 2002-07-23 17:25:54 +04:00
serg@sergbook.mysql.com
a4384f852f merge.test:
merge.test - it was missed in the previous commit :(
manual.texi:
  fixed bad auto-merge of OLAP manual 
Docs/Makefile.am:
  removed ../MIRROR target (mirror list is no longer in the manual)
2002-07-22 00:46:30 +02:00
peter@mysql.com
8ee17f913c One more resolving because of pending log functions changes. Not sure if the manual is merged correctly again. Will ask arjen to check as soon as LOG changes will be pushed 2002-07-20 21:33:09 +04:00
Sinisa@sinisa.nasamreza.org
2e8fb546dc OLAP functionality plus some small bug fixes 2002-07-20 14:51:52 +03:00
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