- 31 Jan, 2007 1 commit
-
-
unknown authored
Thirty five seconds is entirely too short of a period to wait for a server to exit. Instead, make a valliant effort to make sure it exits, and only give up after a very long period (arbitrarily chosen as 15 minutes). In addition, if we're being asked to restart the server, then don't try to start again if trying to stop the server failed. --- Return zero by default, when the script exits. --- Set return-/exit-value based on whether we successfully dealt with the PID-file. --- Don't wait that long if the program we're waiting on exits. It should only exit if the server is not going to be started. support-files/mysql.server.sh: Raise timeout to a pessimistic value, 15 minutes. We should only be willing to give up and exit after an extraordinary effort. --- Return zero by default, when the script exits. --- Set return-/exit-value based on whether we successfully dealt with the PID-file. --- Don't wait that long if the program we're waiting on exits. It should only exit if the server is not going to be started.
-
- 26 Dec, 2006 1 commit
-
-
unknown authored
In func_group.test, round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations. This is for bug #22555. mysql-test/r/func_group.result: Round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations. This is for bug #22555. mysql-test/t/func_group.test: Round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations. This is for bug #22555.
-
- 22 Dec, 2006 17 commits
-
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/50
-
unknown authored
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint BitKeeper/etc/collapsed: auto-union sql/item_sum.cc: Auto merged sql/item_sum.h: Auto merged mysql-test/r/func_group.result: Manual merge. mysql-test/t/func_group.test: Manual merge.
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/50 scripts/mysqld_multi.sh: Auto merged
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/50 mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
When only one row was present, the subtraction of nearly the same number resulted in catastropic cancellation, introducing an error in the VARIANCE calculation near 1e-15. That was sqrt()ed to get STDDEV, the error was escallated to near 1e-8. The simple fix of testing for a row count of 1 and forcing that to yield 0.0 is insufficient, as two rows of the same value should also have a variance of 0.0, yet the error would be about the same. So, this patch changes the formula that computes the VARIANCE to be one that is not subject to catastrophic cancellation. In addition, it now uses only (faster-than-decimal) floating point numbers to calculate, and renders that to other types on demand. mysql-test/r/func_group.result: Test that the bug is fixed, and that no unexpected behavior arises from the changes. mysql-test/t/func_group.test: Test that the bug is fixed, and that no unexpected behavior arises from the changes. sql/item_sum.cc: Serg's suggestion: Force all VARIANCE calculations to be done with floating- point types. It's faster, and the SQL standard says we may implement these functions any way we want. Additionally, use a form of variance calculation that is not subject to catastrophic cancellation. http://static.flickr.com/108/311308512_5c4e1c0c3d_b.jpg sql/item_sum.h: Remove unused members and add a comment describing the recurrence relation.
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/41
-
unknown authored
into polly.local:/home/kaa/src/maint/mysql-5.0-maint
-
unknown authored
into polly.local:/home/kaa/src/maint/mysql-4.1-maint
-
unknown authored
into polly.local:/tmp/maint/bug24037/my50-bug24037 strings/conf_to_src.c: Auto merged strings/ctype-extra.c: Auto merged
-
unknown authored
Added definitions for the following Hebrew characters as specified by the ISO/IEC 8859-8:1999: LEFT-TO-RIGHT MARK (LRM) RIGHT-TO-LEFT MARK (RLM) sql/share/charsets/hebrew.xml: Added definitions for the following Hebrew characters as specified by the ISO/IEC 8859-8:1999: LEFT-TO-RIGHT MARK (LRM) RIGHT-TO-LEFT MARK (RLM) strings/conf_to_src.c: Added a warning comment in the generated C source file. strings/ctype-extra.c: Re-generated from sql/share/charsets/hebrew.xml mysql-test/r/ctype_hebrew.result: Added the test case for bug #24037 "Lossy Hebrew to Unicode conversion" mysql-test/t/ctype_hebrew.test: Added the test case for bug #24037 "Lossy Hebrew to Unicode conversion"
-
unknown authored
mysql-test/t/rpl_openssl.test: Exclude
-
unknown authored
into pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/50 mysql-test/Makefile.am: Auto merged mysql-test/mysql-test-run.pl: Auto merged scripts/make_binary_distribution.sh: Auto merged scripts/mysqld_multi.sh: Auto merged sql/field.cc: Auto merged sql/field.h: Auto merged sql/sql_class.h: Auto merged
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/41 scripts/mysqld_multi.sh: Auto merged
-
unknown authored
into pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
-
unknown authored
into pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
-
- 21 Dec, 2006 4 commits
-
-
unknown authored
into pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
-
unknown authored
- Skip tests using chmod when running as root mysql-test/t/information_schema_chmod.test: Use mysqltest builtin "chmode" mysql-test/t/mysqltest.test: Dont run as root - test chmod mysql-test/t/rpl_rotate_logs.test: Use mysqltest builtin "chmode" Use 'write_file' and 'chmod' instead of system mysql-test/t/trigger.test: Don't run as root Use 'write_file' and 'chmod' mysql-test/t/varbinary.test: Don't run as root
-
unknown authored
- Don't call SSL_shutdown a second time vio/viossl.c: SSL_shutdown might return 0 indicating that it should be called once again for a graceful shutdown. Since the socket are going to be closed anyway ther is no need for the second call.
-
unknown authored
configure.in: Fix an omission: Version number for NDB is still kept separate (up to 5.0) and must be changed in sync with the general version number in AM_INIT_AUTOMAKE.
-
- 20 Dec, 2006 13 commits
-
-
unknown authored
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint mysql-test/lib/mtr_cases.pl: Auto merged mysql-test/lib/mtr_process.pl: Auto merged mysql-test/mysql-test-run.pl: Auto merged
-
unknown authored
many as neeeded
-
unknown authored
into bk-internal.mysql.com:/data0/bk/mysql-5.0-build
-
unknown authored
mysqld and valgrind to tracefile.
-
unknown authored
-
unknown authored
-
unknown authored
into trift2.:/MySQL/M50/push-5.0
-
unknown authored
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/50-build
-
unknown authored
cmd-line-utils/readline/histfile.c: Remove warning (compare signed & unsigned) sql/udf_example.c: Remove warning (cast integer to pointer of different size) strings/decimal.c: Remove warning (%lx format, double arg)
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/50-build sql/ha_innodb.cc: Auto merged
-
unknown authored
into siva.hindu.god:/usr/home/tim/m/bk/50-release
-
unknown authored
more similar to my_strtod() (and maybe even a bit faster due to less floating point divisions). This should at least partially fix Bug #23260 for DECIMALs with a moderate number of total digits.
-
- 19 Dec, 2006 4 commits
-
-
unknown authored
InnoDB timeout behavior (Bug #24200) mysql-test/t/innodb_mysql-master.opt: Set --innodb-lock-wait-timeout=2, since test for bug #24200 times out. This *could* cause random test failures if some long-running transaction concurrency is being tested. However, such a test really should go in innodb-big or some other test file.
-
unknown authored
Handling of large signed/unsigned values was not consistent, so some string functions could return bogus results. The current fix is to simply patch up the val_str() methods for those string items. It would be good clean this code up in general, to make similar problems much harder to make. This is left as an exercise for the reader. mysql-test/r/func_str.result: Update test results for bug #24947 mysql-test/t/func_str.test: Add test case for bug #24947 sql/item_strfunc.cc: Adjust some string function Items' val_str() methods to handle large signed/unsigned arguments properly
-
unknown authored
into qualinost.(none):/home/mtaylor/src/mysql-5.0-maint
-
unknown authored
into mysql.com:/data0/mysqldev/my/build-200612151202-5.0.32/mysql-5.0-release sql/ha_innodb.cc: Auto merged
-