- 26 Apr, 2005 1 commit
-
-
unknown authored
include/my_global.h: As we have a new CPP symbol, this should be "undef"ed explicitly.
-
- 22 Apr, 2005 1 commit
-
-
unknown authored
Change "configure.in". The branches for Tru64 (ex: OSF/1) and Linux are separated, and for Linux 'getconf GNU_LIBPTHREAD_VERSION' is used to tell between Linuxthreads and NPTL. configure.in: Step 3 of the switch to support configuration with NPTL: Change "configure.in". 1) Separate the branches checking for thread libraries on OSF/1 (now: Tru64) and on Linux, as these are different things. In the Tru64 branch, remove the obsolete part for OSF/1 3.2, because that is gone since long (about a decade?); we are at 5 now. Adapt the comment. 2) For Linux, the thread libraries are "Linuxthreads" (older) and "NPTL" (newer). Until now, we cared only about "Linuxthreads", and we did so by checking a comment in the header file '/usr/include/pthread.h'. With NPTL as an alternative or only thread package, this is not secure any more, there are distributions where the header file still contains that comment but the lib is NPTL. For all current distributions, the way to check is the 'getconf' command. On old distributions, 'getconf' exists but does not understand the 'GNU_LIBPTHREAD_VERSION' parameter. It is unlikely that such an old system should have NPTL, so the header file check is sufficient if the getconf inquiry fails. For both Linuxthreads and NPTL, '-lpthread' is the linker option to use. 3) To detect problems as early as possible, on Linux a link test using '-lpthread' is done. The code is copied from a later check where the thread functions are searched in '-lc', '-lpthread', and '-lpthreads', but this later search would not be executed after the lib was already determined. So if the test is not done here, it will be detected only during the real build. This is too late.
-
- 20 Apr, 2005 2 commits
-
-
unknown authored
Define a new CPP symbol that the target OS is Linux, and use it where only the OS matters and not the threads Library. Until now, 'HAVE_LINUXTHREADS' was used to indicate "Target is Linux" in many places. When we support configuration with NPTL but no Linuxthreads, this misuse must cease. configure.in: Step 2 of the switch to support configuration with NPTL: Define a new CPP symbol that the target OS is Linux. Until now, 'HAVE_LINUXTHREADS' was used to indicate "Target is Linux" in many places. When we support configuration with NPTL but no Linuxthreads, this misuse must cease. include/my_global.h: Step 2 of the switch to support configuration with NPTL: Use the new 'TARGET_OS_LINUX' where only the OS matters and not the threads Library. mysys/thr_mutex.c: Step 2 of the switch to support configuration with NPTL: Use the new 'TARGET_OS_LINUX' where only the OS matters and not the threads Library. sql/stacktrace.c: Step 2 of the switch to support configuration with NPTL: Use the new 'TARGET_OS_LINUX' where only the OS matters and not the threads Library. sql/stacktrace.h: Step 2 of the switch to support configuration with NPTL: Use the new 'TARGET_OS_LINUX' where only the OS matters and not the threads Library. tools/mysqlmanager.c: Step 2 of the switch to support configuration with NPTL: Use the new 'TARGET_OS_LINUX' where only the OS matters and not the threads Library.
-
unknown authored
Rename 'IS_LINUX' configuration variable to 'TARGET_LINUX'.
-
- 18 Apr, 2005 3 commits
-
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-4.1-bg8086
-
unknown authored
into mysql.com:/home/dlenev/src/mysql-4.1-bg8086
-
unknown authored
Backported from 5.0.3. innobase/row/row0ins.c: If the SQL-query will update or replace duplicate records we take X-lock for duplicate records. sql/ha_innodb.cc: INSERT ON DUPLICATE KEY UPDATE will also update duplicate records and we should take X-lock in this case for duplicate records.
-
- 17 Apr, 2005 3 commits
- 16 Apr, 2005 9 commits
-
-
unknown authored
into mysql.com:/home/psergey/mysql-4.1-look-range
-
unknown authored
minimum of lower bounds of two joined intervals. mysql-test/r/range.result: Testcase for BUG#9348 mysql-test/t/range.test: Testcase for BUG#9348
-
unknown authored
Changed type of "Sub_part" column in SHOW KEYS from TINYINT to SMALLINT (as MAX_KEY_LENGTH=1024) (this is the final cset with proper tests) mysql-test/r/show_check.result: Testcase for BUG#9439 mysql-test/t/show_check.test: Testcase for BUG#9439 sql/sql_show.cc: Fix for BUG#9439: Changed type of "Sub_part" column in SHOW KEYS from TINYINT to SMALLINT (as MAX_KEY_LENGTH=1024)
-
unknown authored
into mysql.com:/home/mydev/mysql-4.1-bug9188
-
unknown authored
into mysql.com:/home/mydev/mysql-4.1-bug9487
-
unknown authored
into mysql.com:/home/mydev/mysql-4.1-bug9188
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
-
unknown authored
Don't abort on bootstrap if a wrong --default-storage-engine is specified sql/handler.cc: Combined code sql/mysqld.cc: Fixed core dump with long timezone names Don't abort on bootstrap if a wrong --default-storage-engine is specified Don't print strange messages if one sends 'kill' to a mysqld --bootstrap sql/set_var.cc: Indentaion change
-
- 15 Apr, 2005 11 commits
-
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
sql/sql_lex.cc: ul
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean sql/mysqld.cc: Auto merged
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
into mysql.com:/home/jimw/my/mysql-4.1-clean
-
unknown authored
Fixed some casts for 64-bit systems. Fixed a possible buffer overflow. myisam/myisampack.c: Bug#9487 - myisampack segmentation violation and bus error Added or changed proper casts for the argument of flush_buffer(). Added a check for the counterstrike of the trick to have file_buffer.end some bytes below the real end of the buffer.
-
unknown authored
don't set lex->lock_option=TL_READ in the parser for SELECT
-
unknown authored
into mysql.com:/home/mydev/mysql-4.1-bug9188
-
unknown authored
-
unknown authored
-
unknown authored
for LSB init functions when they aren't available. (Bug #9852) support-files/mysql.server.sh: Use shell function instead of less portable alias command to create replacements for LSB functions, and also use argument in our replacements.
-
- 14 Apr, 2005 10 commits
-
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.1
-
unknown authored
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
-
unknown authored
mysql-test/r/innodb.result: Auto merged mysql-test/t/innodb.test: Auto merged
-
unknown authored
Add fault tolerance in the scan of .ibd files at a crash recovery; formerly a single failure of readdir_get_next caused the rest of the directory to be skipped innobase/fil/fil0fil.c: Add fault tolerance in the scan of .ibd files at a crash recovery; formerly a single failure of readdir_get_next caused the rest of the directory to be skipped
-
unknown authored
bug#8151
-
unknown authored
into mysql.com:/space/my/mysql-4.0
-
unknown authored
into mysql.com:/space/my/mysql-4.1
-
unknown authored
into mysql.com:/space/my/mysql-4.1-build
-
unknown authored
into mysql.com:/export/space/pekka/ndb/version/my41
-
unknown authored
into mysql.com:/usr/home/ram/work/mysql-4.1 client/mysqltest.c: Auto merged
-