Commit graph

372 commits

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