Commit graph

372 commits

Author SHA1 Message Date
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