head 1.7; access; symbols pkgsrc-2013Q2:1.7.0.54 pkgsrc-2013Q2-base:1.7 pkgsrc-2012Q4:1.7.0.52 pkgsrc-2012Q4-base:1.7 pkgsrc-2011Q4:1.7.0.50 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q2:1.7.0.48 pkgsrc-2011Q2-base:1.7 pkgsrc-2009Q4:1.7.0.46 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.7.0.44 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.42 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.40 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.38 pkgsrc-2008Q2-base:1.7 pkgsrc-2008Q1:1.7.0.36 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.34 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.7.0.32 pkgsrc-2007Q3-base:1.7 pkgsrc-2007Q2:1.7.0.30 pkgsrc-2007Q2-base:1.7 pkgsrc-2007Q1:1.7.0.28 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.7.0.26 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.24 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.22 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.6.0.6 netbsd-1-6-1-base:1.6 netbsd-1-6:1.6.0.8 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.4 pkgviews-base:1.6 buildlink2:1.6.0.2 buildlink2-base:1.6 netbsd-1-5-PATCH003:1.5; locks; strict; comment @# @; 1.7 date 2003.10.05.17.55.34; author martti; state dead; branches; next 1.6; 1.6 date 2002.04.14.13.32.37; author veego; state Exp; branches; next 1.5; 1.5 date 2002.04.11.16.16.49; author fredb; state Exp; branches; next 1.4; 1.4 date 2001.10.08.17.24.17; author veego; state dead; branches; next 1.3; 1.3 date 2001.07.08.13.59.16; author bad; state Exp; branches; next 1.2; 1.2 date 2001.03.26.13.46.20; author bad; state dead; branches; next 1.1; 1.1 date 2001.01.10.06.03.14; author briggs; state Exp; branches; next ; desc @@ 1.7 log @Updated mysql-server to 3.23.58 A lot of bug and security fixes since 3.23.51... @ text @$NetBSD: patch-ag,v 1.6 2002/04/14 13:32:37 veego Exp $ --- mit-pthreads/config/Makefile.in-orig Thu Feb 14 18:30:14 2002 +++ mit-pthreads/config/Makefile.in Sun Apr 14 15:21:53 2002 @@@@ -53,4 +53,7 @@@@ #install : install-bin install-include install: +# Ditto for NetBSD-1.6 +libinstall: + .include @ 1.6 log @Now, fix PR pkg/16038 for real. Remember to do a clean build after adding a patch, a Makefile could be overwritten by a Makefile.in. So we have to patch Makefile.in and not the Makefile. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Ahh, the pitfalls of including bsd.*.mk. Keep up with NetBSD-1.5ZC, and don't install libpthread.a there, either. Closes PR pkg/16038. @ text @d3 3 a5 3 --- mit-pthreads/Makefile.orig Thu Apr 11 06:31:43 2002 +++ mit-pthreads/Makefile @@@@ -54,4 +54,7 @@@@ @ 1.4 log @Update mysql to 3.23.43. - mysqlbinlog moved from the mysql-server to the mysql-client package - some pkgsrc patches are now part of the mysql distribution. Changes in release 3.23.43 -------------------------- * Fixed a bug in INSERT DELAYED and FLUSH TABLES introduced in 3.23.42. * Fixed unlikely bug, which returned not matching rows, in SELECT with many tables and multi-column indexes and 'range' type. * Fixed a unlikely core-dump bug when doing EXPLAIN SELECT when using many tables and ORDER BY. * Fixed bug in LOAD DATA FROM MASTER when using table with CHECKSUM=1. * Added unique error message when one gets a DEADLOCK during a transaction with BDB tables. * Fixed problem with BDB tables and UNIQUE columns defined as NULL. * Fixed problem with myisampack when using pre-space filled CHAR columns. * Applied patch from Yuri Dario for OS2. * Fixed bug in --safe-user-create Changes in release 3.23.42 -------------------------- * Fixed problem when using LOCK TABLES and BDB tables. * Fixed problem with REPAIR TABLE on MyISAM tables with row lengths between 65517 - 65520 bytes * Fixed rare hang when doing mysqladmin shutdown when there was a lot of activity in other threads. * Fixed problem with INSERT DELAYED where delay thread could be hanging on upgrading locks without any apparent reasons. * Fixed problem with myisampack and BLOB. * Fixes problem when one edited .MRG tables by hand. (Patch from Benjamin Pflugmann). * Enforce that all tables in a MERGE table come from the same database. * Fixed bug with LOAD DATA INFILE and transactional tables. * Fix bug when using INSERT DELAYED with wrong column definition. * Fixed coredump during REPAIR of some particularly broken tables. * Fixed bug in InnoDB and AUTO_INCREMENT columns. * Fixed bug in InnoDB and RENAME TABLE columns. * Fixed critical bug in InnoDB and BLOB columns. If one has used BLOB columns larger than 8000 bytes in an InnoDB table, one must dump the table with mysqldump, drop it and restore it from the dump. * Applied large patch for OS/2 from Yuri Dario. * Fixed problem with InnoDB when one could get the error Can't execute the given command... even when one didn't have an active transaction. * Applied some minor fixes that concern Gemini. * Use real arithmetic operations even in integer context if not all arguments are integers. (Fixes uncommon bug in some integer contexts). * Don't force everything to lower cases on Windows. (To fix problem with Windows and ALTER TABLE). Now --lower_case_names also works on Unix. * Fixed that automatic rollback that is done when thread end doesn't lock other threads. Changes in release 3.23.41 -------------------------- * Added option --sql-mode=option[,option[,option]]. See section 4.1.1 mysqld Command-line Options. * Fixed possible problem with shutdown on Solaris where the `.pid' file wasn't deleted. * InnoDB now supports < 4 GB rows. The former limit was 8000 bytes. * The doublewrite file flush method is used in InnoDB. It reduces the need for Unix fsync calls to a fraction and improves performance on most Unix flavors. * You can now use the InnoDB Monitor to print a lot of InnoDB state information, including locks, to the standard output; useful in performance tuning. * Several bugs which could cause hangs in InnoDB have been fixed. * Split record_buffer to record_buffer and record_rnd_buffer. To make things compatible to previous MySQL versions, if record_rnd_buffer is not set, then it takes the value of record_buffer. * Fixed optimizing bug in ORDER BY where some ORDER BY parts where wrongly removed. * Fixed overflow bug with ALTER TABLE and MERGE tables. * Added prototypes for my_thread_init() and my_thread_end() to `mysql_com.h' * Added option --safe-user-create to mysqld. * Fixed bug in SELECT DISTINCT ... HAVING that casued error message Can't find record in '#... Changes in release 3.23.40 -------------------------- * Fixed problem with --low-priority-updates and INSERT's. * Fixed bug in slave thread when under some rare circumstances it could get 22 bytes ahead on the offset in the master. * Added slave_wait_timeout for replication. * Fixed problem with UPDATE and BDB tables. * Fixed hard bug in BDB tables when using key parts. * Fixed problem when using the GRANT FILE ON database.* ...; Previously we added the DROP privilege for the database. * Fixed DELETE FROM table_name ... LIMIT 0 and UPDATE FROM table_name ... LIMIT 0 acted as though the LIMIT clause was not present (they deleted or updated all selected rows). * CHECK TABLE now checks if an AUTO_INCREMENT column contains the value 0. * Sending a SIGHUP to mysqld will now only flush the logs, not reset the replication. * Fixed parser to allow floats of type 1.0e1 (no sign after e). * Option --force to myisamchk now also updates states. * Added option --warnings to mysqld. Now mysqld only prints the error Aborted connection if this option is used. * Fixed problem with SHOW CREATE TABLE when you didn't have a PRIMARY KEY. * Properly fixed the rename of innodb_unix_file_flush_method to innodb_flush_method. * Fixed bug when converting UNSIGNED BIGINT to DOUBLE. This caused a problem when doing comparisons with BIGINT values outside of the signed range. * Fixed bug in BDB tables when querying empty tables. * Fixed a bug when using COUNT(DISTINCT) with LEFT JOIN and there wasn't any matching rows. * Removed all documentation referring to the GEMINI table type. GEMINI is not released under an Open Source license. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.3 2001/07/08 13:59:16 bad Exp $ d3 5 a7 10 --- sql/Makefile.in.orig Tue Jun 12 21:16:58 2001 +++ sql/Makefile.in Sat Jul 7 23:59:32 2001 @@@@ -198,7 +198,7 @@@@ gen_lex_hash_LDADD = $(LDADD) $(CXXLDFLAGS) mysqlbinlog_SOURCES = mysqlbinlog.cc mini_client.cc net_serv.cc mini_client_errors.c violite.c password.c -mysqlbinlog_LDADD = $(LDADD) $(CXXLDFLAGS) $(mysqld_LDADD) +mysqlbinlog_LDADD = $(LDADD) $(CXXLDFLAGS DEFS = -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"$(MYSQLBASEdir)\"" -DDATADIR="\"$(MYSQLDATAdir)\"" -DSHAREDIR="\"$(MYSQLSHAREdir)\"" @@DEFS@@ d9 4 @ 1.3 log @Update mysql to 3.23.39. Disable the mysql-test stuff entirely. Sync mysql-client's patch-af with mysql-server's. Changes in release 3.23.39 -------------------------- * If one dropped and added an `AUTO_INCREMENT' column, the `AUTO_INCREMENT' sequence wasn't reset. * `CREATE .. SELECT' now creates not unique indexes delayed. * Fixed problem where `LOCK TABLES table_name READ' followed by `FLUSH TABLES' put a exclusive lock on the table. * `REAL' @@variables with was represented with 2 digits when converted to strings. * Fixed problem that client 'hung' when `LOAD TABLE FROM MASTER' failed. * Running `myisamchk --fast --force' will no longer repair tables that only had the open count wrong. * Added functions to handle symbolic links to make life easier in 4.0. * We are now using the `-lcma' thread library on HP-UX 10.20 to get *MySQL* more stable on HP-UX. * Fixed problem with `IF()' and number of decimals in the result. * Fixed date-part extraction functions to work with dates where day and/or month is 0. * Extended argument length in option files from 256 to 512 chars. * Fixed problem with shutdown when `INSERT DELAYED' was waiting for a `LOCK TABLE'. * Fixed coredump bug in InnoDB when tablespace was full. * Fixed problem with `MERGE' tables and big tables (> 4G) when using `ORDER BY'. Changes in release 3.23.38 -------------------------- * Fixed a bug when `SELECT' from `MERGE' table sometimes results in incorrectly ordered rows. * Fixed a bug in `REPLACE()' when using the ujis character set. * Applied Sleepycat BDB patches 3.2.9.1 and 3.2.9.2. * Added option `--skip-stack-trace' to `mysqld'. * `CREATE TEMPORARY' now works with `InnoDB' tables. * `InnoDB' now promotes sub keys to whole keys. * Added option `CONCURRENT' to `LOAD DATA'. * Better error message when slave `max_allowed_packet' is too low to read a very long log event from the master. * Fixed bug when too many rows where removed when using `SELECT DISTINCT ... HAVING'. * `SHOW CREATE TABLE' now returns `TEMPORARY' for temporary tables. * Added `Rows_examined' to slow query log. * Fixed problems with function returning empty string when using together with a group functions and a `WHERE' that didn't match any rows. * New program `mysqlcheck'. * Added database name to output for administrative commands like `CHECK', `REPAIR', `OPTIMIZE'. * Lots of portability fixes for InnoDB. * Changed optimizer so that queries like `SELECT * FROM table_name,table_name2 ... ORDER BY key_part1 LIMIT #' will use index on `key_part1' instead of `filesort'. * Fixed bug when doing `LOCK TABLE to_table WRITE,...; INSERT INTO to_table... SELECT ...' when `to_table' was empty. * Fixed bug with `LOCK TABLE' and BDB tables. Changes in release 3.23.37 -------------------------- * Fixed a bug when using `MATCH' in `HAVING' clause. * Fixed a bug when using `HEAP' tables with `LIKE'. * Added `--mysql-version' to `safe_mysqld' * Changed `INNOBASE' to `InnoDB' (because the `INNOBASE' name was already used). All `configure' options and `mysqld' start options are now using `innodb' instead of `innobase'. This means that you have to change any configuration files where you have used `innobase' options before upgrading to this version! * Fixed bug when using indexes on `CHAR(255) NULL' columns. * Slave thread will now be started even if `master-host' is not set, as long as `server-id' is set and valid `master.info' is present * Partial updates (terminated with kill) are now logged with a special error code to the binary log. Slave will refuse to execute them if the error code indicates the update was terminated abnormally, and will have to be recovered with `SET SQL_SLAVE_SKIP_COUNTER=1; SLAVE START' after a manual sanity check/correction of data integrity. * Fixed bug that erroneously logged a drop of internal temporary table on thread termination to the binary log - bug affected replication. * Fixed a bug in `REGEXP()' on 64-bit machines. * `UPDATE' and `DELETE' with `WHERE unique_key_part IS NULL' didn't update/delete all rows. * Disabled `INSERT DELAYED' for tables that support transactions. * Fixed bug when using date functions on `TEXT'/`BLOB' column with wrong date format. * UDFs now also work on Windows. (Patch by Ralph Mason) * Fixed bug in `ALTER TABLE' and `LOAD DATA INFILE' that disabled key-sorting. These commands should now be faster in most cases. * Fixed performance bug where reopened tables (tables that had been waiting for `FLUSH' or `REPAIR') would not use indexes for the next query. * Fixed problem with `ALTER TABLE' to Innobase tables on FreeBSD. * Added `mysqld' variables `myisam_max_sort_file_size' and `myisam_max_extra_sort_file_size'. * Initialize signals early to avoid problem with signals in Innobase. * Applied patch for the `tis620' character set to make comparisons case-independent and to fix a bug in `LIKE' for this character set. *NOTE*: All tables that uses the `tis620' character set must be fixed with `myisamchk -r' or `REPAIR TABLE' ! * Added `--skip-safemalloc' option to `mysqld'. Changes in release 3.23.36 -------------------------- * Fixed a bug that allowed you to use database names containing a `.' character. This fixes a serious security issue when `mysqld' is run as root. * Fixed bug when thread creation failed (could happen when doing a LOT of connections in a short time). * Fixed some problems with `FLUSH TABLES' and `TEMPORARY' tables. (Problem with freeing the key cache and error `Can't reopen table...'). * Fixed a problem in Innobase with other character sets than `latin1' and another problem when using many columns. * Fixed bug that caused a core dump when using a very complex query involving `DISTINCT' and summary functions. * Added `SET TRANSACTION ISOLATION LEVEL ...' * Added `SELECT ... FOR UPDATE'. * Fixed bug where the number of affected rows was not returned when `MySQL' was compiled without transaction support. * Fixed a bug in `UPDATE' where keys weren't always used to find the rows to be updated. * Fixed a bug in `CONCAT_WS()' where it returned wrong results. * Changed `CREATE ... INSERT' and `INSERT ... SELECT' to not allow concurrent inserts as this could make the binary log hard to repeat. (Concurrent inserts are enabled if you are not using the binary or update log). * Changed some macros to be able to use fast mutex with glibc 2.2. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to mysql-3.23.35. Enable use of tcp_wrappers in the server. BDB and Innobase table types are not configured in, so no transaction support yet. The 3.23 release has several major features that are not present in previous versions. We have added new table types: MyISAM, a new ISAM library which is tuned for SQL and supports large files; BDB, which uses the Berkeley DB library from Sleepycat Software to implement transaction-safe tables; INNOBASE, which uses the Innobase database backend to implement transaction-safe tables. The 3.23 release also includes support for database replication between a master and many slaves, full-text indexing, and much more. For a detailed list of changes see appendix E of the online documentation at http://www.mysql.com/. The replication code and BerkeleyDB code is still not as tested and as the rest of the code, so we will probably need to do a couple of future releases of 3.23 with small fixes for this part of the code. As long as you don't use these features, you should be quite safe with MySQL 3.23! Note that the above doesn't mean that replication or Berkeley DB doesn't work; We have done a lot of testing of all code, including replication and BDB without finding any problems. It only means that not as many users uses this code as the rest of the code and because of this we are not yet 100 % confident in this code. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1 2001/01/10 06:03:14 briggs Exp $ d3 11 a13 17 *** mit-pthreads/config/configure.in.orig Tue Jan 9 21:34:16 2001 --- mit-pthreads/config/configure.in Tue Jan 9 22:41:49 2001 *************** *** 174,179 **** --- 174,185 ---- # hpux-9.03.mk seems to be missing; what should this be? except="fork" ;; + powerpc-*-netbsd1.*) + name=powerpc-netbsd + sysincludes=netbsd-1.1 + except="fork lseek ftruncate pipe fstat" + available_syscalls="sigprocmask sigaction sigsuspend" + ;; sparc-*-sunos4.1.3* | sparc-*-sunos4.1.4*) name=sparc-sunos-4.1.3 sysincludes=sunos-4.1.3 @ 1.1 log @Add support for NetBSD-*-powerpc to embedded mit-pthreads, and enable this package for same. @ text @d1 1 a1 1 $NetBSD$ @