Commit graph

710 commits

Author SHA1 Message Date
serg@sergbook.mysql.com
ecfa37baa5 Merge 2002-11-06 09:52:13 +01:00
gluh@gluh.(none)
98579955d6 Merge sgluhov@work.mysql.com:/home/bk/mysql-4.0
into gluh.(none):/home/gluh/mysql-4.0.bklast
2002-11-06 12:19:06 +04:00
serg@sergbook.mysql.com
d4783821ba merged 2002-11-05 17:10:31 +01:00
gluh@gluh.(none)
7bf903ea10 Error code for ssl connection
Fix bug when server hang(with SSL, with modified libmysql)
Add options master-ssl-capath and master-ssl-cipher
Add some error checking(SSL)
2002-11-05 12:05:58 +04:00
monty@hundin.mysql.fi
685dba5bac Fix to get core file on Linux 2002-11-05 00:04:36 +02:00
monty@hundin.mysql.fi
2bcd60e113 Merge 2002-10-31 10:44:20 +02:00
monty@mashka.mysql.fi
39329fd59a Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-10-30 11:58:53 +02:00
monty@mashka.mysql.fi
bb7f37ab2e merge 2002-10-29 23:54:37 +02:00
heikki@hundin.mysql.fi
9153d88c6b Many files:
Merge InnoDB-4.0.5: new isolation levels READ COMMITTED and READ UNCOMMITTED now supported, selective deadlock resolution
mysqld.cc:
  Change MySQL default isolation level to REPEATABLE READ; note that InnoDB has always had that default, and BDB and MyISAM always run at SERIALIZABLE level anyway
2002-10-29 23:16:46 +02:00
monty@mashka.mysql.fi
5343d4c969 Added --skip-safemalloc to mysqltest
Added bug fix from 3.23 for AIX 4.3.3 and gcc 3.x
Small change in EXCHANGE output
Propagate open-files-limit from mysqld_safe -> mysqld
Fixed speed bug in GROUP BY
Added quotes around database name in CREATE DATABASE db_name (for binary log)
2002-10-29 22:56:30 +02:00
monty@hundin.mysql.fi
1e0538324d Added back old LARGEFILE handling
Fixed reference to freed memory in acl_init()/grant_init()
Fixed possible memory leak. (Could only happen in very strange circumstances)
Fixed bug in ALTER TABLE with BDB tables
Updated mysql-test for valgrind
2002-10-29 21:59:03 +02:00
nick@mysql.com
84779e3999 Merge mysql.com:/home/nick/mysql/repository/mysql-3.23
into mysql.com:/home/nick/mysql/mysql-3.23
2002-10-29 12:28:45 -07:00
nick@mysql.com
e10d3ed129 moved RAND initialization from mysqld.cc to sql_class.cc:THD::THD() 2002-10-29 12:28:14 -07:00
peter@mysql.com
1545cbccd3 Merge mysql.com:/home/pz/mysql/mysql-4.1-root
into mysql.com:/home/pz/mysql/mysql-4.1
2002-10-27 13:13:31 +03:00
serg@serg.mysql.com
1a1cafce63 merged 2002-10-25 22:07:04 +00:00
nick@mysql.com
eba70d6c80 Moved rand initialization from mysqld.cc to sql_class.cc:THD::THD() 2002-10-24 14:33:24 -06:00
lenz@mysql.com
9b769dbd22 - replaced all occurences of HPUX with HPUX10 (to be prepared for eventual
differences in HPUX11)
2002-10-24 14:30:25 +02:00
hf@genie.(none)
a6b0579fcd Some code improvements 2002-10-23 16:55:35 +05:00
peter@mysql.com
bdee968a2a Automerge 2002-10-20 00:11:15 +04:00
peter@mysql.com
37245fd17f More work on secure connection protocol. commited in order to do the sync with new large pushed
bunch.
2002-10-19 23:18:31 +04:00
nick@mysql.com
00d47646d5 Moved rand initialization from mysqld.cc to sql_class.cc:THD::THD() 2002-10-17 14:57:01 -06:00
lenz@mysql.com
f00f2a6515 - fixed typo in mysqld.cc: "agaist" -> "against" 2002-10-17 11:08:04 +02:00
miguel@hegel.br
927472d025 Added optional NT service and fix the TZ variable bug 2002-10-16 21:51:03 -02:00
monty@hundin.mysql.fi
9ecc5783d6 Fix after merge 2002-10-16 22:48:51 +03:00
monty@hundin.mysql.fi
fbf6ab4465 merge with 4.0.5 2002-10-16 19:30:24 +03:00
monty@hundin.mysql.fi
26b1bbdbd1 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-10-16 16:34:29 +03:00
monty@hundin.mysql.fi
67d3cd643b Merge with 3.23.54 2002-10-16 13:11:25 +03:00
jani@rhols221.adsl.netsonic.fi
4143937723 Fixed some bugs in mysql, mysqladmin and mysqld. 2002-10-15 23:34:55 +03:00
serg@serg.mysql.com
68cd8c47fc --tmpdir=dir1:dir2... uses (is_windows ? ";" : ":") as a delimiter 2002-10-12 17:43:40 +00:00
monty@hundin.mysql.fi
367e2d4396 Remove wrong clear of mysql_port when using --skip-show-databases 2002-10-08 16:40:50 +03:00
serg@serg.mysql.com
3217f2cc06 support for --tmpdir=dir1:dir2:... 2002-10-08 12:39:37 +00:00
peter@mysql.com
c4ea39d810 Merge mysql.com:/home/pz/mysql/mysql-4.1-root
into mysql.com:/home/pz/mysql/mysql-4.1
2002-10-06 13:43:42 +04:00
bell@sanja.is.com.ua
199f667c19 merging 2002-10-04 14:15:59 +03:00
peter@mysql.com
de57e9ba35 Merge mysql.com:/home/pz/mysql/mysql-4.1-root
into mysql.com:/home/pz/mysql/mysql-4.1
2002-10-03 22:48:53 +04:00
peter@mysql.com
f3c51eec31 One more commit required to merge second pack of Monty's patches 2002-10-03 22:42:13 +04:00
monty@mashka.mysql.fi
0f39457613 Merge with 4.0.4 2002-10-02 17:55:12 +03:00
monty@mashka.mysql.fi
d69250a969 Fixes and code cleanups after merge with 4.0.3
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()

Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
monty@hundin.mysql.fi
5ce2900d48 Merge hundin.mysql.fi:/my/mysql-3.23
into hundin.mysql.fi:/my/bk/mysql-4.0
2002-09-27 12:13:28 +03:00
monty@hundin.mysql.fi
649413f773 Don't reset Delayed_insert_threads on FLUSH STATUS 2002-09-27 12:01:26 +03:00
lenz@mysql.com
019b5ab7b4 - backported gcc 3.0 linking fix from 4.0
- some cosmetical fixups (typos, comments)
2002-09-24 22:24:30 +02:00
monty@mashka.mysql.fi
cb8580a2cd Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
This should fix some issues where --lower-case-table-names doesn't work properly under windows.
2002-09-20 14:05:18 +03:00
monty@mashka.mysql.fi
ce4b584a85 Increased max possible max_allowed_packet to 1G
Small optimization to not do external locking of temporary MyISAM tables.
2002-09-19 17:49:41 +03:00
monty@mashka.mysql.fi
c85c33a5c1 Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
Fixed bug in SELECT ... ORDER BY ... LIMIT
Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names
Fixed hang when using --with-openssl
2002-09-16 15:55:19 +03:00
monty@mashka.mysql.fi
8b7521eb7f Merge with 3.23.53 2002-09-11 14:49:38 +03:00
monty@mashka.mysql.fi
f3a186c905 Portability fixes.
Improve mysql-test to be more robust.
Fix that GRANT doesn't delete SSL options
Change innobase_flush_log_at_trx_commit to uint.
Don't rotate logs if we read a rotate log entry from the master.
2002-09-11 06:40:08 +03:00
heikki@hundin.mysql.fi
48063238e2 mysqld.cc:
update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2 
ha_innobase.h, ha_innobase.cc:
  make innobase_flush_log_at_trx_commit a long, like other params
2002-09-10 14:23:46 +03:00
monty@mashka.mysql.fi
5ee7d7e73c Merge 2002-09-05 17:17:22 +03:00
monty@mashka.mysql.fi
0281a6b160 Fixed searching after ssl directories.
Fixed that GRANT ... REQUIRE options are not forgot when doing new GRANT
Changed fn_ext to point at first '.' after directory.
FLUSH LOGS removed numerical extension for all future update logs.
Fixed the mysqld --help reports right values for --datadir and --bind-address
--log-binary=a.b.c now properly strips of .b.c
Fix that one can DROP UDF functions that was not loaded at startup
Made AND optional in REQUIRE
Added REQUIRE NONE
2002-09-05 16:17:08 +03:00
jani@rhols221.adsl.netsonic.fi
15ad3ee806 Fixed a bug in my_getopt and mysqld.cc 2002-09-05 14:22:52 +03:00
monty@mashka.mysql.fi
93e033fabc Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2002-09-03 15:46:13 +03:00
monty@mashka.mysql.fi
a01a0840dc Some trivial optimzations
Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
Better fix for ALTER TABLE on BDB tables.
2002-09-03 15:44:25 +03:00
bell@sanja.is.com.ua
d9989c635e merged 2002-09-03 10:06:10 +03:00
bell@sanja.is.com.ua
b07aaeb295 subselect with union
new error handling
Item_ref bug fixed
2002-09-03 09:50:36 +03:00
serg@serg.mysql.com
7c4e5bd9a8 reverted min limit for ft_min_word_len back to 1 2002-09-01 17:45:38 +00:00
Sinisa@sinisa.nasamreza.org
f883e5eb27 A nasty fix when all rows are deleted with a write lock 2002-08-30 22:17:24 +03:00
Sinisa@sinisa.nasamreza.org
5ec7991dbb missing option 2002-08-30 17:12:52 +03:00
monty@narttu.mysql.fi
7134ffec21 Merge with 4.0.3
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
monty@hundin.mysql.fi
631f395f16 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-08-28 19:16:43 +03:00
monty@hundin.mysql.fi
e720b5a6fb Portability fixes for windows 2002-08-28 17:00:58 +03:00
miguel@hegel.br
8c71a53b9c Small fixes 2002-08-27 10:55:12 -03:00
monty@hundin.mysql.fi
7dac7062fa Changed relay_log_space to ulonglong
Removed compiler warnings.
2002-08-23 15:14:01 +03:00
monty@hundin.mysql.fi
3ee79d3a50 Fixed bug in mysqld when using configure --localstatedir 2002-08-23 10:33:18 +03:00
monty@hundin.mysql.fi
c7499a1039 Portabilityfix in mysqladmin.c
Fix when using --localstatedir
Cleaned up mysql.server
2002-08-23 02:48:52 +03:00
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
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
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
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
4dfe327a06 Fix after merge 2002-08-12 06:49:28 +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
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
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
monty@hundin.mysql.fi
087261482a merge with 3.23.52 2002-08-08 15:24:47 +03:00
monty@hundin.mysql.fi
8be1cdeb89 merge 2002-08-08 12:05:18 +03:00
monty@mashka.mysql.fi
1bb7665a9c merge 2002-08-08 03:29:36 +03:00
monty@hundin.mysql.fi
a31406e34e Fix for Intel compiler (ecc)
Minor cleanups to other patches.
Make --temp-pool default
2002-08-08 03:14:44 +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
monty@mashka.mysql.fi
274f80626e Changed initialization of RND() to be less predictable.
Use MYSQL_CONFIG_NAME instead of "my" as the configuration file name.
2002-08-06 03:21:12 +03:00
jani@hynda.(none)
8300f92b5a Fixed a bug in option --lower-case-table-name in mysqld.cc 2002-08-05 18:51:29 +03:00
bar@bar.udmsearch.izhnet.ru
6340c79c05 Renamed some charset related constant
New fields in CHARSET_INFO for more nice SHOW CHARACTER SET
Dynamic charsets are now handled in faster way
SHOW CHARACTER SET now displays not only compiled charsets but dynamic charsets too
2002-07-30 14:02:29 +05:00
monty@mashka.mysql.fi
bc035c71f1 Merge with 3.23.51
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +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
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
Sinisa@sinisa.nasamreza.org
581c60d14f Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-07-17 14:52:09 +03:00
lenz@mysql.com
2877dc2f1c Fix a core dump that occured on AIX and Solaris (and probably others)
in get_options (thanks to Sinisa for fixing this)
2002-07-16 22:26:29 +02:00
Sinisa@sinisa.nasamreza.org
ff2608099d Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-07-16 22:45:59 +03:00
Sinisa@sinisa.nasamreza.org
6377f501df mysqld.cc ?
mysqld.cc	h
mysqld.cc	small fix for --bind-address
2002-07-16 22:36:47 +03:00
lenz@mysql.com
8c827e2800 Added some patches provided by SuSE to fix build problems on
ppc64 and x86-64, fixed a compile bug when building with TCP wrapper
support on Linux
2002-07-15 13:33:56 +02:00
jani@rhols221.adsl.netsonic.fi
6a95858ca0 Merge work:/home/bk/mysql-4.0/
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0-new
2002-07-10 20:19:36 +03:00
heikki@hundin.mysql.fi
7390d81f43 Many files:
Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
monty@hundin.mysql.fi
5949f901ab Disable symlinks if compiled with -DHAVE_BROKEN_REALPATH 2002-07-01 11:38:46 +03:00
jani@rhols221.adsl.netsonic.fi
b3d57979c7 Merge work:/home/bk/mysql-4.0/
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0-new
2002-07-01 10:14:55 +03:00
monty@hundin.mysql.fi
f160def295 Fix problem with gcc 3.1 2002-06-30 23:04:11 +03: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
jani@rhols221.adsl.netsonic.fi
7cad1f9313 Added interface for first set of dynamic variables. 2002-06-28 19:30:09 +03:00
heikki@hundin.mysql.fi
7a2b5b750a mysqld.cc:
Add option innodb_flush_log_at_trx_commit=2 which means we always write the log to file at commit, but only do fsync about once per second
2002-06-22 20:17:58 +03:00
monty@hundin.mysql.fi
b1f7c1251c Merge with 3.23.52 2002-06-17 16:08:34 +03:00
monty@hundin.mysql.fi
4d7030606e Fixed problem with innodb_log_group_home_dir and SHOW VARIABLES 2002-06-17 15:07:46 +03:00
monty@hundin.mysql.fi
0762b00d86 Backported fix from 4.0 which caused core dumps for some complex queries. 2002-06-17 15:00:06 +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
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
monty@hundin.mysql.fi
b0aa96dd81 Fixed mutex problem in TRUNCATE TABLE 2002-06-04 22:59:12 +03:00
monty@hundin.mysql.fi
fc8490a111 merge with 4.0 to get last fixes to last merge 2002-06-04 08:29:08 +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
f0b28da6f9 merge with 4.0 2002-06-03 12:59:31 +03:00
monty@hundin.mysql.fi
544f95c451 merge with 3.23 2002-06-02 20:46:03 +03:00
monty@hundin.mysql.fi
44a631f1fc Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-06-02 17:05:08 +03:00
Sinisa@sinisa.nasamreza.org
a2ec51cec1 Fixed a problem with --skip-networking.
This fix should be merged into 4.0 and 4.1
2002-05-31 13:35:20 +03:00
jani@hynda.(none)
c961494444 Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.

Changed some exit code names and corresponding numbers.

Fixed a bug in mysqld.cc, in replication related options.

Added a global flag in my_getopt, which can be set by any program
that is using my_getopt, which tells whether the client should
print the error message itself, or whether my_getopt should do it.
The default is that my_getopt will print the error messages.
2002-05-29 15:07:30 +03:00
monty@narttu.mysql.fi
e814ca4108 Small documentation change 2002-05-28 10:39:47 +03:00
jani@hynda.(none)
c2205c75ca Changed mysqlbinlog, mysqlmanager-pwgen, mysqlmanagerc, mysqltest,
thread_test and isamchk to use my_getopt.

Fixed a bug in my_getopt.
2002-05-22 00:05:05 +03:00
monty@hundin.mysql.fi
353fb57b74 New my_gethostbyname_r() handling
Changed some status variable names
Fix bug in GRANT ... PASSWORD string
2002-05-16 16:32:51 +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
jani@rhols221.adsl.netsonic.fi
d99be9ab43 Changed GET_STRALC to GET_STR_ALLOC 2002-05-15 20:24:00 +03:00
monty@hundin.mysql.fi
48067f3cd6 Removed some long from mysqld comments (should be in manual). 2002-05-15 16:36:41 +03:00
jani@rhols221.adsl.netsonic.fi
3893920cbe Some bug fixes. 2002-05-15 02:33:41 +03:00
jani@rhols221.adsl.netsonic.fi
00836cb3ad Fixed some bugs and added support for --loose-set-variable 2002-05-13 22:03:47 +03:00
miguel@hegel.local
15a54135e9 Add several services for NT 2002-05-08 05:46:30 -03:00
jani@rhols221.adsl.netsonic.fi
c445048341 Fixed some bugs in my_getopt.c, added functionality for new GET_*
types, migrated mysqld.cc to use my_getopt.
2002-05-07 20:35:06 +03:00
monty@hundin.mysql.fi
727122aadd merge 2002-04-25 01:16:42 +03:00
monty@tik.mysql.fi
e29bd611f9 Abort if 'listen()' on TCP/IP fails. 2002-04-17 11:45:26 +03:00
monty@tik.mysql.fi
c0d9954cc7 Fixed pthread_cond_timedwait() for HPUX and DCE threads
Cleanup of LIBWRAP handling
2002-04-16 16:29:14 +03: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
bell@sanja.is.com.ua
fc1fd8f4ed query cache code can be excluded from server 2002-04-15 16:00:05 +03:00
monty@hundin.mysql.fi
b5a145d872 merge 2002-04-13 15:34:39 +03:00
Sinisa@sinisa.nasamreza.org
0541b54fb7 libwrap bug fix for Linux only 2002-04-13 13:44:08 +03:00
sasha@mysql.sashanet.com
483377234b safemalloc cleanup. Maybe it will now compile on FreeBSD. I still not have
access to a FreeBSD box, though.
2002-04-05 23:07:25 -07:00
jani@hynda.mysql.fi
fd7b04ad74 Merged some sslopt-* include files, that will be removed in the near
future, in mysqld.cc.
2002-04-03 16:09:02 +03:00
jani@hynda.mysql.fi
6980eafe08 Merged in some changes made to MySQL clients by other
developers before pushing my_getopt.
2002-04-03 13:33:25 +03:00
jani@hynda.mysql.fi
c143f01dd1 Changed mysql, mysqladmin, mysqlshow, mysqldump, mysqlimport,
mysqlcheck and myisamchk to use new my_getopt struct.
2002-04-02 20:29:53 +03:00
monty@hundin.mysql.fi
eef794920d Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-04-02 19:52:58 +03:00
monty@hundin.mysql.fi
6e247490dc Merge 2002-04-02 19:46:26 +03:00
serg@serg.mysql.com
fa5717b950 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2002-04-02 14:59:40 +00: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
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
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
sasha@mysql.sashanet.com
f28f8d086d coverted my_thread_init() /end to use my_malloc()/my_free() to help track
down replication corruption
2002-03-26 22:19:23 -07:00
monty@hundin.mysql.fi
2faee46284 merge (remove conflicting zip files) 2002-03-27 06:44:23 +02:00
monty@hundin.mysql.fi
727e507bca merge with 3.23.50 2002-03-27 01:56:10 +02:00
miguel@hegel.local
6b290a7daf Fix compiler error on mysqld.cc 2002-03-26 18:47:50 -03:00
monty@hundin.mysql.fi
3a571c7c13 Fixed overflow bug 2002-03-26 13:24:50 +02:00
monty@hundin.mysql.fi
93948645e7 Fixes for --enable-named-pipe 2002-03-25 18:10:36 +02:00
miguel@hegel.local
14a22085e7 Changing on NT the default named pipe for an optional user
variable
2002-03-24 23:39:03 -03:00
bell@sanja.is.com.ua
c5d95b5e62 added building without query cache 2002-03-22 22:55:08 +02:00
monty@tik.mysql.fi
2ac18e9be9 Move back set_user after chroot 2002-03-22 07:23:01 +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
monty@tik.mysql.fi
1617f24aba Do chroot() after changing user. 2002-03-15 18:15:41 +02:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769 New ctype functions/macros to support many charsets at a time 2002-03-12 21:37:58 +04:00
monty@hundin.mysql.fi
e6b9734e0a merge 2002-03-12 12:21:51 +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
monty@tik.mysql.fi
2939863e87 Merge work:/my/mysql-4.0/ into tik.mysql.fi:/home/my/mysql-4.0 2002-03-10 04:35:10 +02:00
monty@tik.mysql.fi
f6c87d7cf7 Abort if listen() fails 2002-03-10 04:28:50 +02:00
Sinisa@sinisa.nasamreza.org
24ed42c624 Take a look at comments in 4.0 2002-03-09 14:21:34 +02:00
Sinisa@sinisa.nasamreza.org
025e66b71c A fix for the --with-libwrap for Linux.
I have tested it with tcpd wrapper and it worked on Linux.
I did not change setttings in hosts.deny, as I did not dare too.
2002-03-09 14:07:28 +02:00
monty@hundin.mysql.fi
e9ba8d58fe merge 2002-03-06 23:41:18 +02:00
monty@hundin.mysql.fi
fa38c84be7 merge 2002-03-06 19:53:31 +02:00
serg@serg.mysql.com
adf4f462ed apply freebsd/alpha portability patch 2002-03-04 17:04:21 +00:00
miguel@light.local
a4a150454e Changes for to control the tables and log clean up. 2002-02-20 23:20:15 -03:00
monty@hundin.mysql.fi
e070e9a01f merge with 3.23.49 2002-02-14 18:58:24 +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
fb44f7ce49 Fix for LOAD DATA LOCAL INFILE patch 2002-02-13 22:01:41 +02:00
monty@tik.mysql.fi
f13a451816 Merge hundin:/my/mysql-3.23 into tik.mysql.fi:/home/my/mysql-3.23 2002-02-13 22:01:40 +02:00
monty@tik.mysql.fi
1f9b1e1915 Made LOAD DATA LOCAL INFILE more secure 2002-02-13 21:53:26 +02:00
monty@hundin.mysql.fi
3286cb0294 Don't print out 'got signal' if not using --warnings 2002-02-13 17:49:21 +02:00
monty@hundin.mysql.fi
4abd402b87 merge with 3.23.48 2002-02-11 13:48:59 +02:00
monty@hundin.mysql.fi
fdb253467a Cleanup 2002-02-11 04:55:52 +02:00
monty@hundin.mysql.fi
2abdcf81af Fix for customer build 2002-02-10 02:28:24 +02: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
6a1b08cbd4 Added --sql-mode=NO_UNSIGNED_SUBTRACTION 2002-01-30 15:32:48 +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
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
bea12d761a merge 2002-01-16 01:08:29 +02:00
monty@tik.mysql.fi
7dd4eb71fe Added support of null keys in HEAP tables
Added ORDER BY optimization
2002-01-12 15:42:54 +02:00
miguel@light.local
558d88f977 Win32 Embedded Server Changes 2002-01-09 05:38:48 -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
monty@hundin.mysql.fi
ac8155cce1 Portability fixes 2001-12-27 13:31:10 +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
heikki@donna.mysql.fi
3fef3c7e5b mysqld.cc:
Changed default of file_io_threads to 4 and lock_wait_timeout to 50 seconds
  Added a missing break: if not specified, innodb_fast_shutdown got the same value as ..flush_log_at_trx commit
2001-12-25 23:44:41 +02:00
monty@hundin.mysql.fi
05a3c0e8f6 Fixed shutdown problem on HPUX 2001-12-21 06:54:58 +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
monty@hundin.mysql.fi
1904d7a88d Portability fixes 2001-12-17 15:00:14 +02:00
monty@hundin.mysql.fi
b3fb88dc72 Don't use symlinks when using HAVE_purify.
Fix compile problem in sql_cache.cc
2001-12-17 04:16:10 +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
monty@hundin.mysql.fi
836f1608f7 Merge with 3.23.47 2001-12-15 05:12:21 +02:00
monty@hundin.mysql.fi
ee9a6f5460 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-15 04:40:08 +02:00
monty@hundin.mysql.fi
7464639226 Fixed wrong case in variablename 2001-12-15 04:39:29 +02:00
monty@hundin.mysql.fi
c8f87750a4 Always compile rPM's with --enable-thread-safe-client 2001-12-13 23:57:55 +02: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
6aeb40bd3f merge 2001-12-13 20:54:20 +02:00
monty@hundin.mysql.fi
bdc5a62104 Added status variables for all MySQL commands. 2001-12-13 20:06:44 +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
tonu@volk.internalnet
178822672f --des-key-file functinality added 2001-12-10 11:02:26 +02: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
b4da2fb0ab Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-12-06 02:36:19 +02:00
serg@serg.mysql.com
b048cb34a0 bulk_insert feature can be turned off 2001-12-05 23:26:56 +01:00
monty@hundin.mysql.fi
1de4fff5ba Update of query cache code.
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
2001-12-05 13:03:00 +02:00
monty@hundin.mysql.fi
1d26537da5 Query cache.
Remove some warnings
2001-12-02 14:34:01 +02:00
monty@hundin.mysql.fi
5fedd2dda7 Fix for IO_CACHE.
Portability fixes.
2001-11-28 03:47:15 +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
b96c309f99 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-11-22 19:40:50 +01:00
serg@serg.mysql.com
59f3a95834 ft_boolean_syntax variable 2001-11-22 19:35:35 +01:00
monty@hundin.mysql.fi
a66ddaf8ba Fixed fulltext after merge from 3.23.45
First (incomplete) version of transaction and as3ap tests.
2001-11-22 17:55:18 +02:00
monty@hundin.mysql.fi
911ba4be24 Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-11-22 03:35:04 +02:00
sasha@mysql.sashanet.com
00774d74fc backport of shutdown fix for platforms that cannot break a syscall with a
signal. Tested to the extent that it does not break Linux. Could not test on
Darwin because the machine was not reachable. Will push anyway - at least it
does not make things worse. Testing on Darwin is needed, however.
2001-11-21 18:25:08 -07:00
monty@bitch.mysql.fi
d33c13e4fe Merge 2001-11-21 15:24:02 +02:00
monty@bitch.mysql.fi
9cb670df71 Generate core file on Solaris. 2001-11-21 15:08:01 +02:00
miguel@light.local
7c77952106 Removing registry service parameter code 2001-11-17 15:48:22 -02:00
miguel@light.local
ecd4471c22 Removing registry service parameter code 2001-11-17 15:40:59 -02:00
sasha@mysql.sashanet.com
a56c72a214 fixed memory leak in replication
fixed bugs in new IO_CACHE code so that the old calls work
fixed shutdown bug
clean-up of mysql-test-run
2001-11-08 22:27:55 -07:00
sasha@mysql.sashanet.com
2593a7cb33 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-11-07 16:53:11 -07:00
sasha@mysql.sashanet.com
c0e55b9d16 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-11-07 16:27:30 -07:00
sasha@mysql.sashanet.com
cc95bc5765 manager clean-up ( added pid-file and kill in mysql-test-run when things go wrong)
fixes for IO_CACHE
need to pull Monty's fixes - this is not final, will not be pushed
2001-11-07 16:17:40 -07:00
monty@hundin.mysql.fi
4c60b41954 Portability fix
Cleanup typos (like SKIPP -> SKIP)
2001-11-07 00:13:29 +02:00
monty@hundin.mysql.fi
fd0780493d merge with 3.23.44 2001-11-04 16:14:09 +02:00
sasha@mysql.sashanet.com
4f106fe87e Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-11-03 16:55:39 -07:00
sasha@mysql.sashanet.com
b00eee622e more work on IO_CACHE
portability fixes for systems with broken syscalls that do not interrupt on 
a signal
temporary commit - will not be pushed, need to sync up
2001-11-03 16:54:00 -07:00
monty@hundin.mysql.fi
5a9ce774dc Update for OS2 (patch from Yuri Dario).
Use LONG_TIMEOUT (one year) instead of ~0 for long timeouts
Fixed error messages.
Fixed problem with const propagation when comparing columns of different types
2001-10-31 03:22:31 +02:00
monty@donna.mysql.fi
7fcbd7e3da Merge 2001-10-30 17:38:44 +02:00
serg@serg.mysql.com
4939bb6dd1 'mysqld --help|grep -A1 safe-user-create' output clarification 2001-10-25 17:33:54 +02:00
miguel@light.local
03bf236f4a Adding code for NT service in the install and remove
routines for avoid to leave the Service Control Manager
in bad state. Print messages for to reduce the current
user errors when are trying to install or start the service.
Adding the option to install the service for manual start:
--install-manual.
2001-10-25 05:57:15 -02:00
monty@work.mysql.com
35f2d831a8 merge 2001-10-20 10:27:01 +02:00
monty@hundin.mysql.fi
6ee6fbf700 Don't use signal() on windows.
Added missing InnoDB variables to SHOW VARIABLES.
Fixed bug when doing WHERE 'column_name=NULL' on an indexed column that had NULL values.
Fixed bug when doing 'LEFT JOIN ...  ON (column_name = constant) WHERE column_name = constant'
2001-10-19 22:10:54 +03:00
monty@hundin.mysql.fi
6afbeb4cf4 Cleanups 2001-10-11 22:02:16 +03:00
sasha@mysql.sashanet.com
9b163ef5ae got the last changeset to compile/run
mysqltest can run without connecting to the manager for tests that do not 
require manager operations
2001-10-10 15:36:35 -06:00
sasha@mysql.sashanet.com
af82bc245b merged 2001-10-09 20:59:42 -06:00
sasha@mysql.sashanet.com
d7c47dcf86 Added rpl_status. This is a midway commit to be able to pull so I can save
myself a run of compile-pentium-debug. I have not even tried to compile the 
new code
2001-10-09 20:56:24 -06:00
monty@hundin.mysql.fi
06e719b7cc Remved Gemini code. 2001-10-10 02:50:28 +03:00
sasha@mysql.sashanet.com
8c6a01bf81 Merge work:/home/bk/mysql-4.0
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-10-08 13:49:47 -06:00
sasha@mysql.sashanet.com
b13bd81cb1 groundbreaking on fail-safe replication - added a token feature to have an
excuse to have a test case. Mental trick to get things moving faster...
2001-10-08 13:07:50 -06:00
monty@hundin.mysql.fi
938a8dc2ef merge 2001-10-08 05:36:35 +03:00
monty@hundin.mysql.fi
88aff4bf85 Updated manual about embedded version.
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version.  All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
sasha@mysql.sashanet.com
a169482a9b fixed bug in SSL code
updated results - now ready to push
2001-10-04 16:45:35 -06:00
monty@hundin.mysql.fi
e801235019 New script: explain_log.sh
Portability fixes.
Handle cleanup when we get an error before the message file is read.
Fix bug in multi-table delete
2001-10-04 21:52:41 +03:00
monty@hundin.mysql.fi
6c1344a113 Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-10-04 02:44:54 +03:00