monty@hundin.mysql.fi
0573b66df3
Added support for rw_tryrdlock() and rw_trywrlock()
2002-06-29 20:26:33 +03:00
monty@hundin.mysql.fi
66f86faafd
Portability fix (for HPUX)
2002-06-29 01:00:56 +03:00
monty@hundin.mysql.fi
8fa3c789f6
Added support for semaphores in mysys.
...
(Needed for query cache for systems which doesn't have native semaphores)
2002-06-29 00:16:15 +03:00
jani@rhols221.adsl.netsonic.fi
7cad1f9313
Added interface for first set of dynamic variables.
2002-06-28 19:30:09 +03:00
monty@hundin.mysql.fi
33f84cf8fe
Fixed bug in REPAIR table.
...
Portability fix in safemalloc.c
2002-06-28 15:06:04 +03:00
monty@hundin.mysql.fi
ade20c5b19
Indentation cleanup & new comments
2002-06-28 09:18:23 +03:00
monty@hundin.mysql.fi
ddc8c5403e
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-27 14:16:44 +03:00
monty@hundin.mysql.fi
6b36860c9c
Made lock_io_cache() and unlock_io_cache() as functions.
2002-06-27 14:15:55 +03:00
bell@sanja.is.com.ua
347ca5ea4e
improvement in root memory allocator
2002-06-27 12:26:51 +03:00
monty@hundin.mysql.fi
5fa5172b64
merge
2002-06-27 11:35:50 +03:00
monty@hundin.mysql.fi
8a2daeac77
Removed mysql_ssl_clear()
...
Added statistics information for alarms (for bug tracking)
Don't store "incomplete" in the xxx.cfg file if we are not using --restart. (Crash-me)
Enlarged STACK_BUF_ALLOC becasue of failed crash-me test
Aded new script mysql_tableinfo to make a system directory.
2002-06-27 11:27:04 +03:00
serg@sergbook.mysql.com
a0cfa78970
post-merge fix
2002-06-24 22:22:23 +02:00
peter@linux.local
1d074b3d16
Fix some warning issued by Windows Compiler
2002-06-23 22:50:22 +04:00
serg@serg.mysql.com
f503efea62
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-06-21 19:17:54 +00:00
monty@hundin.mysql.fi
6ccf4e50a2
Fixes for compiling distribution with MIT-threads
2002-06-20 23:26:39 +03:00
serg@serg.mysql.com
099d78d4cb
resolving
2002-06-20 00:55:06 +00:00
serg@serg.mysql.com
5c83ae3fca
multithreaded repair-by-sort code
...
parallel read access to IO_CACHE
2002-06-19 23:54:45 +00:00
monty@hundin.mysql.fi
0d8e13979d
Made keyread (key scanning) a key specific attribute.
...
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
2002-06-19 00:22:30 +03:00
monty@mashka.mysql.fi
8d75ff64e1
Portability fix for HPUX
2002-06-17 09:56:27 +03:00
monty@hundin.mysql.fi
6d69e1205f
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-17 09:46:38 +03:00
monty@mashka.mysql.fi
fc52abc50f
Cleanup of checking of user resources
...
Added missing checking of no_keyread
2002-06-16 17:06:12 +03:00
peter@linux.local
f85a002c68
Merge
2002-06-14 15:24:22 +04:00
peter@linux.local
d505803728
This is just code style/minor optimizations cleanup changeset
2002-06-14 15:14:30 +04: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
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@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
jani@rhols221.adsl.netsonic.fi
c038efd877
Some enhancements in my_getopt. Made code more readable and better
...
optimized in some places.
2002-06-09 23:27:07 +03:00
monty@hundin.mysql.fi
e4130b11c9
removed init_count from IO_CACHE.
...
Added missing mutex_unlock to slave replication code.
2002-06-05 23:04:38 +03:00
monty@hundin.mysql.fi
8cba72fe1f
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-04 00:41:32 +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
jani@rhols221.adsl.netsonic.fi
3e989a9049
Fixed two bugs in my_getopt.
2002-06-03 03:02:32 +03:00
monty@hundin.mysql.fi
544f95c451
merge with 3.23
2002-06-02 20:46:03 +03:00
jani@dsl-jkl1657.dial.inet.fi
0b5e2d9896
Fixed a bug in my_getopt.
2002-05-31 16:23:36 +03: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
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
Sinisa@sinisa.nasamreza.org
db8cf95a63
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.0
2002-05-28 13:40:39 +03:00
Sinisa@sinisa.nasamreza.org
07fd76a332
Fixing a small bug in new code for cond_timedwait fix
2002-05-28 13:36:51 +03: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
monty@hundin.mysql.fi
07886933b8
Split raid C function to separate file to make things more portable.
...
Fixed some portability things in my_gethostbyname_r
Portability fix for type_decimal.test
2002-05-27 10:02:00 +03:00
jani@rhols221.arenanet.fi
16e3b892a6
Changed ft_dump, ft_eval, ft_test1, mi_test1, myisampack, gen_lex_hash,
...
mysqlmanager from using GNU getopt to use my_getopt.
Changed some files that just included old getopt.h to include
my_getopt.h now.
Fixed a bug in my_print_help() in my_getopt.c.
Made better documentation for option -G in mysql client.
2002-05-24 14:06:58 +03:00
jani@hynda.(none)
c66162b464
my_getopt:
...
- some minor bugfixes
- made code more readable
- support for printing GET_BOOL type options in my_print_variables(),
value is either TRUE or FALSE
2002-05-22 20:45:19 +03:00
jani@hynda.(none)
475bc6c3be
Removed GNU getopt from MySQL distribution (replaced by my_getopt)
2002-05-22 18:16:54 +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
3cfdd984f0
merge
2002-05-19 11:10:06 +03:00
monty@hundin.mysql.fi
0c5c517db6
Fixed some compilation problems in last changeset
2002-05-16 23:35:09 +03:00
Sinisa@sinisa.nasamreza.org
03658d265f
Merge sinisa@work.mysql.com:/home/bk/mysql
...
into sinisa.nasamreza.org:/mnt/mail/work/mysql
2002-05-16 19:00:55 +03:00
Sinisa@sinisa.nasamreza.org
b3005bf70f
A final and proper fix for HP-UX problems with pthread_cond_timedwait.
...
This time I did it "by the book" as this function can return any
of the down cited values after timeout !! This is now done 100 %
according to HP-UX DCE documentation.
This made Hewlett-Packard very happy.
2002-05-16 18:58:50 +03:00
monty@hundin.mysql.fi
f5ed8784a2
merge with 3.23.51
2002-05-16 18:20:49 +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
jani@rhols221.adsl.netsonic.fi
d99be9ab43
Changed GET_STRALC to GET_STR_ALLOC
2002-05-15 20:24:00 +03:00
jani@rhols221.adsl.netsonic.fi
3893920cbe
Some bug fixes.
2002-05-15 02:33:41 +03:00
jani@rhols221.adsl.netsonic.fi
9eda54d153
- Added new type GET_STRALC to my_getopt.
...
- Fixed some bugs, wrongly freed pointers, in some clients.
- Removed unneccessary code.
- Fixed some other minor bugs and added some options into
variables category, which had accidently been left out earlier.
2002-05-14 21:41:55 +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
3facae335e
Sergei's MyODBC fix
2002-05-12 23:01:45 -03:00
jcole@mugatu.spaceapes.com
54b0d0140c
Merge jcole@work.mysql.com:/home/bk/mysql-4.0
...
into mugatu.spaceapes.com:/home/jcole/bk/mysql-4.0
2002-05-12 00:20:16 -05:00
jani@dsl-jkl1657.dial.inet.fi
4945fd4a05
- Fixed some option types in my_getopt struct in all clients.
...
- Added special option/variable prefix '--loose-' to my_getopt.c
2002-05-11 14:36:34 +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
37d6a4e492
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-04-29 12:25:35 +03:00
monty@hundin.mysql.fi
9d0f8a1b5f
Fixed that enable-reads-from-master and repl-parse-query works in option files.
...
Fixed slowdown problem on win98
Fixed syntax for ALTER TABLE .. RENAME
2002-04-29 12:24:14 +03:00
serg@serg.mysql.com
b79f2f510d
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-04-28 21:27:21 +00:00
serg@serg.mysql.com
900788b2a1
init_dynamic_array MyODBC compatibility fix
2002-04-28 21:22:37 +00:00
monty@hundin.mysql.fi
727122aadd
merge
2002-04-25 01:16:42 +03:00
monty@hundin.mysql.fi
1f5f3612f3
Fixed syntax error in mysql.cc
2002-04-24 15:23:32 +03:00
jcole@mugatu.spaceapes.com
7b2c9943e2
Merge jcole@work.mysql.com:/home/bk/mysql-4.0
...
into mugatu.spaceapes.com:/home/jcole/bk/mysql-4.0
2002-04-17 20:12:42 -05:00
Sinisa@sinisa.nasamreza.org
9fc8200249
Small fix for HP-UX 10.20 with DCE threads
...
Also --with-libwrap is tested on Linux just fine.
2002-04-16 21:19:00 +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
bell@sanja.is.com.ua
486c9c3ccb
allocated bigger blocks if it needed
2002-04-13 12:08:12 +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
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
sasha@mysql.sashanet.com
48af52bfc4
fixes to make it compile and pass the test suite again after the last
...
accidental push of broken code.
2002-04-04 21:36:24 -07:00
jani@hynda.mysql.fi
314e2d8891
Merge work:/home/bk/mysql-4.0/ into hynda.mysql.fi:/home/my/bk/mysql-4.0
2002-04-03 15:44:59 +03:00
jani@hynda.mysql.fi
70a258757c
Merge and two bug fixes in my_getopt.c
2002-04-03 15:44:20 +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
monty@hundin.mysql.fi
6462c98028
Make safemalloc work without threads
2002-04-03 00:31:40 +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
d80ebc17d6
Cleanups
...
Don't use DBUG library for struct st_my_thread_var to make code less complicated.
2002-04-02 17:54:57 +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
jcole@mugatu.spaceapes.com
9a1fcd5056
Merge jcole@work.mysql.com:/home/bk/mysql-4.0
...
into mugatu.spaceapes.com:/home/jcole/bk/mysql-4.0
2002-03-27 05:40:27 -06:00
jcole@mugatu.spaceapes.com
a071afc856
mysys/testhash.c: Changed Swedish comments to English.
2002-03-27 05:37:55 -06: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
ce541b292a
support for unsigned FLOAT/DOUBLE
2002-03-27 00:50:54 +02: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
e9ba8d58fe
merge
2002-03-06 23:41:18 +02:00
monty@hundin.mysql.fi
b5a4f89ea6
Portability fixes
...
Fix bug when using option groups
2002-03-06 22:12:08 +02:00
monty@hundin.mysql.fi
fa38c84be7
merge
2002-03-06 19:53:31 +02:00
sasha@mysql.sashanet.com
f59809c85a
load local fix
...
overrun sentry in my_vsnprintf() test
will not be pushed yet
2002-03-02 12:45:44 -07:00
sasha@mysql.sashanet.com
b305a27ac1
post-merge fixup
2002-03-01 21:14:13 -07:00
sasha@mysql.sashanet.com
aa67831207
merged from 3.23 to pull the LOAD DATA INFILE fix as rpl000001 was failing.
...
Let's hope this did not break anything. Will not push this one until Monty
gets back
2002-03-01 19:36:46 -07:00
sasha@mysql.sashanet.com
40be5306e1
make my_vsnprintf() work with oversized strings
...
fixed replication bug - flush_master_info() needs to be called every time we read an
event from master
this is will not be pushed yet
2002-03-01 17:12:15 -07:00
serg@serg.mysql.com
f2e7bb1204
mf_qsort.c:
...
qsort implementation backported from 4.0 tree, the old one was buggy
2002-02-23 15:22:19 +00:00
serg@serg.mysql.com
26e0a5c5eb
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
2002-02-20 12:03:43 +00: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
jani@rhols221.adsl.netsonic.fi
d57b95b695
Bug fixes and new functionality added in my_getopt and myisamchk
2002-02-06 17:22:43 +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
sasha@mysql.sashanet.com
65989dacb5
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-01-31 11:04:49 -07:00
sasha@mysql.sashanet.com
cef13d5b8e
temporary commit to pull Monty's changes
2002-01-31 11:02:11 -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
jani@hynda.mysql.fi
784e1d8b34
New functionality to my_getopt. myisamchk now uses my_getopt
...
only.
2002-01-30 05:08:17 +02:00
sasha@mysql.sashanet.com
2d3cb29249
temporary commit - need to pull Monty's changes
2002-01-29 13:50:09 -07: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
jani@rhols221.adsl.netsonic.fi
40fcae6d4b
Added my_getopt struct and modified myisamchk to the bk tree.
2002-01-25 23:34:37 +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
serg@serg.mysql.com
ec0f506a82
Framework to simplify memory leak tracing
2002-01-22 15:59:32 +00: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
ff17389116
Fix for FLUSH QUERY CACHE
...
Fix for new bug in CREATE TABLE when sorting keys.
2002-01-05 22:51:42 +02:00
miguel@light.local
d4a8e8d61e
Minors changes for the Windows 3.23.47 release
2001-12-30 00:22:01 -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
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
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
monty@hundin.mysql.fi
836f1608f7
Merge with 3.23.47
2001-12-15 05:12:21 +02:00
sasha@mysql.sashanet.com
0d67738e20
misc cleanup
2001-12-13 17:21:04 -07: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
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
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
tonu@volk.internalnet
fb3d3e18e9
Misc fixes
2001-12-10 10:57:14 +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
90004e340b
Fixed bug in LEFT JOIN
2001-12-05 23:15:05 +02: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
ce7a0a0293
Fix not critical MyISAM bug in locking.
...
Free character sets properly (for embedded).
Add missing mutex in HANDLER CLOSE
2001-11-29 21:46:51 +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
4d5d1ae2ef
Added read log caching and fixed a possible bug in write cacheing.
...
This should cause fewer seeks when using replication.
2001-11-28 15:18:29 +02:00
monty@hundin.mysql.fi
5fedd2dda7
Fix for IO_CACHE.
...
Portability fixes.
2001-11-28 03:47:15 +02:00
monty@bitch.mysql.fi
d0ccff5090
New improved IO_CACHE
2001-11-28 02:55:52 +02:00
monty@hundin.mysql.fi
e4bdf26066
Small safety fix
2001-11-28 02:24:22 +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
964c292caa
Fixed typo in last changeset
2001-11-25 14:38:43 +02:00
monty@hundin.mysql.fi
777fdb5d5c
Fixes for embedded version.
2001-11-25 13:50:48 +02:00
monty@hundin.mysql.fi
9265a4df45
merge
2001-11-22 14:40:38 +02:00
monty@hundin.mysql.fi
a2a838f887
Portability fix
2001-11-22 13:15:17 +02:00
serg@serg.mysql.com
4caf57c33c
bugfix
2001-11-17 14:28:04 +01:00
sasha@mysql.sashanet.com
beaf95b09d
work to enable reading 3.23 logs - not yet finished
...
moved fail-safe replication routines from sql_repl.cc to repl_failsafe.cc
write start event only in the first log
2001-11-10 22:24:12 -07:00
sasha@mysql.sashanet.com
79806fadff
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-11-08 22:29:29 -07: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
monty@hundin.mysql.fi
578ab3f1b1
new crash-me results for Interbase.
2001-11-08 17:40:55 +02: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
30209c1d66
Portability fix.
...
Fixed linking problem with InnoDB.
2001-11-07 02:30:34 +02:00
monty@hundin.mysql.fi
9285b745d6
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-11-07 00:14:43 +02:00
serg@serg.mysql.com
e3849552b1
Merge
2001-11-06 16:43:47 +01:00
serg@serg.mysql.com
1f5c997667
ft boolean search by table scan; queue_fix()
2001-11-06 16:17:31 +01:00
tim@black.box
9d304d8c31
Merge
2001-11-06 07:50:58 -05:00
tim@black.box
34e2c4b2ab
Do not print a warning message when the server's character set is
...
not found by the client. This is especially important for PHP, which
only includes the latin1 character set in the bundled libmysql.
2001-11-05 19:15:45 -05:00
monty@bitch.mysql.fi
4ff48e4617
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
2001-11-05 01:42:47 +02:00
monty@hundin.mysql.fi
3afb157ca2
Fixes up things after merge from 3.23.44
...
Portability fixes.
Don't delete temporary tables on FLUSH tables.
2001-11-05 01:04:08 +02:00
monty@hundin.mysql.fi
fd0780493d
merge with 3.23.44
2001-11-04 16:14:09 +02: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
0716bf4d0e
Portability fixes
2001-10-31 20:28:43 +02:00
monty@hundin.mysql.fi
d89690e606
Portability fixes
...
Fix for consistent 0000-00-00 date handling
Close + open binary logs on flush tables
Fix for AVG() in HAVING.
2001-10-31 18:27:49 +02: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
sasha@mysql.sashanet.com
be4dfd21dd
cleanup
...
removal of duplicate code in mf_iocache.cc
work on failsafe replication
work on SEQ_READ_APPEND io cache
2001-10-23 13:28:03 -06: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@bitch.mysql.fi
b14f5e2bb2
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
2001-10-11 19:55:38 +03:00
monty@hundin.mysql.fi
075a0fbde0
Portability fixes
...
Fixed bug with long log-filenames in Innobase.
2001-10-11 04:25:00 +03:00
monty@bitch.mysql.fi
5fe7461d5b
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
2001-10-09 00:30:30 +03:00
monty@hundin.mysql.fi
196f620e90
Portability fixes + a couple of bug fixes introduced by last push.
2001-10-08 23:20:19 +03:00
monty@bitch.mysql.fi
9358311cab
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
2001-10-08 07:33:12 +03: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
a71f818aa2
Merge
2001-10-04 15:46:04 -06:00
monty@bitch.mysql.fi
7be9a3efbf
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
2001-10-04 02:50:51 +03:00
monty@hundin.mysql.fi
62c8014171
Fixed some build problems.
...
Fix that compressed packets and normal packets looks indentical before calling net_real_write()
(Needed for query cache)
Optimize IS NULL handling
2001-10-04 02:44:18 +03:00
sasha@mysql.sashanet.com
c0f87c836a
merged
2001-10-03 14:21:16 -06:00
monty@hundin.mysql.fi
55a6911bb1
Portability fixes.
2001-10-03 17:02:14 +03:00
monty@hundin.mysql.fi
880026ccf6
Cleaned up SSL documentation
...
Fixes for embedded server
Made key_cache more configurable
Fixed that one can change key blocksize in MyISAM
A lot of optimizations to make MyISAM slightly faster
2001-10-02 05:53:00 +03:00
monty@bitch.mysql.fi
8286030f54
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
2001-09-28 20:11:14 +03:00
monty@hundin.mysql.fi
f8828f0977
Portability fix
2001-09-28 07:42:18 +03:00
monty@bitch.mysql.fi
18482ae82d
Merge hundin:/my/mysql-4.0 into bitch.mysql.fi:/my/mysql-4.0
2001-09-28 07:28:06 +03:00
monty@hundin.mysql.fi
3fc4f0731f
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-09-28 07:28:05 +03:00
monty@work.mysql.com
390e57687b
merge
2001-09-28 06:28:04 +02:00
monty@hundin.mysql.fi
384ae2eff0
Fixed that one can always get a name for a compiled characterset
2001-09-28 07:21:24 +03:00
monty@hundin.mysql.fi
a4bc23add6
Fixed bug in counting open files when using many files
...
Fixed bug in JOIN
2001-09-27 22:02:37 +03:00
monty@tik.mysql.fi
e05bf277d6
Final fixes for INSERT into MERGE tables.
...
Move MAX_BLOB_WIDTH to be global
Added full support for unsigned BIGINT
Fixed spelling errors
2001-09-27 21:45:48 +03:00
sasha@mysql.sashanet.com
1a0a77389f
added mysqlmanager-pwgen
...
added set_exec_stdout and set_exec_stderr to mysqlmanager to be able
to redirect stdout and stderr
added support for MY_FULL_IO to my_read, so we can tell it to read
a number of bytes in as many chunks as it takes instead of one try
2001-09-22 21:47:57 -06:00
sasha@mysql.sashanet.com
545a2af56a
merged
2001-09-19 14:39:11 -06:00
sasha@mysql.sashanet.com
2038a46e92
fixes for MYSQL manager
2001-09-19 14:30:43 -06:00
monty@bitch.mysql.fi
76bfc23409
Better purify information
2001-09-19 01:18:47 +03:00
monty@hundin.mysql.fi
52b83ea218
Fixed bug in UNION
...
Fixed replication bug in load_master_data
2001-09-14 19:50:56 +03:00
monty@hundin.mysql.fi
7cadc6e711
Changed to use my_global.h
...
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
2001-09-14 02:54:33 +03:00
monty@work.mysql.com
18474d8419
Merge with 3.23.42
2001-09-13 09:52:35 +02:00
monty@hundin.mysql.fi
7a19987805
OS2 patch
2001-09-12 23:53:31 +03:00
monty@hundin.mysql.fi
e24bdfa8bb
More debug info
...
Fix DBUG_ASSERT()
Optimization for BDB tables
Fix for BDB under Win98
2001-09-08 11:47:34 +03:00
monty@hundin.mysql.fi
b4ec9cf608
Cleanups
2001-09-07 22:38:45 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
7f4aee1c90
Make killing of threads safer
2001-09-01 10:38:16 +03:00
monty@hundin.mysql.fi
e251f9d827
Fixed problem with INSERT DELAYED
...
Make killing threads safer
2001-08-31 23:02:09 +03:00
tonu@x153.internalnet
1d0346afb1
Removed tens of annoying warnings about implicit declaration of memcpy(), strlen() and about unused variables.
2001-08-27 16:30:13 +08:00
monty@hundin.mysql.fi
b0a0c54257
Fixed bug in auto-increment handling with InnoDB
...
Some small speedups
2001-08-26 23:24:48 +03:00
tonu@x153.internalnet
451e3c8c3b
Some warning fixes and some SSL testprograms check-in
2001-08-26 00:18:20 +08:00
monty@hundin.mysql.fi
733f865f54
Fixes for OS2.
...
Fix bug in isamlog
Add argument types to function declarations.
2001-08-22 01:45:07 +03:00
monty@hundin.mysql.fi
e743944f21
Add my_dup.c
2001-08-19 15:16:52 +03:00
monty@hundin.mysql.fi
a1be2a894f
Fix of UNION code
...
Added heap_delete_table
Added HA_EXTRA_PREPARE_FOR_DELETE
Added and use my_dup() for faster open of tables.
Removed not working no-mix-table-type
2001-08-19 14:43:51 +03:00
monty@bitch.mysql.fi
2eacfdddf2
Fix for bug in the Sun Workshop compiler
2001-08-18 13:11:58 +03:00
sasha@mysql.sashanet.com
f6836bf81a
merged
2001-08-09 19:16:15 -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
1731161ff4
Fixed optimizer bug in ORDER BY where some ORDER BY parts where ignored.
...
Extended default arguments to be up to 4095 characters
2001-07-30 22:49:39 +03:00
sasha@mysql.sashanet.com
f935dcf2be
merged
2001-07-20 16:32:13 -06: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@work.mysql.com
01cda0929a
merge
2001-07-18 23:58:10 +02:00
monty@hundin.mysql.fi
5a8e734b9a
Upgrade TL_WRITE_CONCURRENT_INSERT to TL_WRITE_LOW_PRIORITY if
...
--low-priority-updates is used and the file has holes.
2001-07-18 23:34:04 +03:00
sasha@mysql.sashanet.com
b5f76be024
merged with 3.23
2001-07-17 16:23:36 -06:00
monty@hundin.mysql.fi
aecef7614e
Removed wrong warning from thr_lock
...
Fixed problem with UPDATE and BDB tables
Fixed problem with GRANT FILE privilege on database level
mysqld --warnings works now
Fixed problem with SHOW OPEN TABLES when not using BDB
Added some tests for ALTER TABLE to the test scripts
2001-07-17 21:04:01 +03:00
serg@serg.mysql.com
db4a860203
cleanups
2001-07-10 20:23:37 +02:00
monty@tik.mysql.fi
fc81fdb4ba
Redefinition of myisam_bulk_insert_tree_size
...
Removed new error message
Fixed test case for varbinary
Threads are again killable in "merge_buffers"
Cleanup of sql_repl.cc
SHOW OPEN TABLES now works when no tables are opened
2001-07-10 15:53:08 +03:00
serg@serg.mysql.com
f3299061e1
bulk insert optimization documented
2001-07-04 17:31:43 +02:00
serg@serg.mysql.com
0043136882
merged
2001-07-02 21:52:22 +02:00
serg@serg.mysql.com
15b6738474
memory-limited tree
...
bulk inserts optimization: caching keys in binary tree
2001-07-02 21:18:57 +02:00
Sinisa@sinisa.nasamreza.org
ce09acfbeb
Making multi-table delete BETA !!
2001-07-01 13:20:53 +03:00
monty@work.mysql.com
0652902ab5
merge
2001-06-12 14:12:35 +02:00
monty@tik.mysql.fi
1f409baf4c
Changed compare in MyISAM to use my_pread()
...
Fixed that @VAR shows all decimals
Fixed problem with FLUSH TABLES and LOCK TABLE
CREATE ... SELECT now creates keys later
Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key
2001-06-11 15:01:28 +03:00
monty@hundin.mysql.fi
6cce897696
merge
2001-06-05 03:48:25 +03:00
monty@hundin.mysql.fi
4cbe66582c
Symlinking of tables should not work.
...
Fixed error number handling bug in mysqltest.
Fixed that error number from insert delayed is reported correctly.
merged new vio code with old violite code.
2001-06-05 03:38:10 +03:00
sasha@mysql.sashanet.com
060da63ab3
Merge mysql.sashanet.com:/home/sasha/src/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-04 17:34:11 -06:00
monty@hundin.mysql.fi
f4a0f179ea
.
...
Changed usage of sumlink/realpath in fn_format() to be compatbile
with old MySQL code
2001-06-04 15:16:26 +03:00
monty@hundin.mysql.fi
f02ed5fe0b
Declare stpcpy() to fix portability problem on AIX with gcc 2.95.3
...
Fixed problem with command line arguments on 64 bit machines when
we use ~0 to indicate 'no limit'
2001-06-03 16:45:49 +03:00
monty@hundin.mysql.fi
4014d2367c
Added ABS() to make tests more portable.
...
New postgresql crash-me file.
Increased blob size in benchmarks from 65K to 1M.
2001-06-03 12:26:24 +03:00
sasha@mysql.sashanet.com
68adfd2322
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-01 20:06:51 -06:00
monty@work.mysql.com
a3e99bcd84
merge
2001-06-02 00:20:06 +02:00
monty@hundin.mysql.fi
18c02a05fb
Fixed bugs in symlink code
2001-06-02 01:16:26 +03:00
sasha@mysql.sashanet.com
390ea98f2d
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql-4.0
2001-06-01 16:08:40 -06:00
sasha@mysql.sashanet.com
a2cc81a85d
fixed new bug in fn_format()
2001-06-01 16:07:14 -06:00
monty@work.mysql.com
ef8d161dea
merge
2001-06-01 23:51:23 +02:00
monty@hundin.mysql.fi
e30ff2ece1
Fixed bug that caused client to hang because mysqld never did send an
...
error message if the table open or the index creation failed.
Updated portuguese error messages.
Fix for OS/2 that affected CHECK TABLE.
2001-06-02 00:03:16 +03:00
monty@hundin.mysql.fi
dd83beb76a
Added --skip-symlinks
...
Don't force repair of tables that are not closed properly.
2001-06-01 19:38:47 +03:00
monty@hundin.mysql.fi
126da692cb
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-06-01 04:28:34 +03:00
monty@work.mysql.com
e595fe3b34
Merge work.mysql.com:/home/bk/mysql
...
into work.mysql.com:/home/bk/mysql-4.0
2001-06-01 03:13:02 +02:00
monty@hundin.mysql.fi
0a51e72aa3
Added symlink support to mysys library.
2001-06-01 03:53:14 +03:00
monty@hundin.mysql.fi
762f423d91
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2001-05-31 14:08:00 +03:00
monty@hundin.mysql.fi
b7c3a28149
Removed compiler warnings.
...
Added preliminary handling of symlinks in MyISAM.
When using myisamchk to check tables with --force, don't repair
tables that are marked as 'not closed' if they are ok.
Change fn_format() to use my_real_path and my_symlink
2001-05-31 14:07:17 +03:00
monty@work.mysql.com
df56b252a7
merge
2001-05-31 12:56:05 +02:00
monty@hundin.mysql.fi
6a387c7cdf
Added functions for symbolic link handling to make it possible to
...
backport things from 4.0. This is safe as the functions are not used!
Fixed bug in new mutex handling in InnoDB
Make allow_break() and dont_break() defines.
2001-05-31 12:18:53 +03:00
monty@donna.mysql.fi
3dc4b35a05
Fixed problems with decimals withing IF()
...
Force add of FN_LIBCHAR to symlinks on windows
2001-05-29 13:46:17 +03:00
monty@donna.mysql.fi
3641a481d2
Merge work:/home/bk/mysql-4.0 into donna.mysql.fi:/home/my/bk/mysql-4.0
2001-05-23 23:54:18 +03:00
monty@work.mysql.com
b684e9aaeb
Merge
2001-05-23 22:52:21 +02:00
monty@donna.mysql.fi
cc4e7310c8
Merge work:/home/bk/mysql-4.0 into donna.mysql.fi:/home/my/bk/mysql-4.0
2001-05-23 23:49:06 +03:00
monty@donna.mysql.fi
02f007436f
Added Unique class to be used for duplicate removal in multi-table delete.
2001-05-23 23:47:08 +03:00