Correction for min/max optimization of queries with outer joins
sql/opt_sum.cc:
Correction for min/max optimization of queries with outer joins
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
fixed error handling in HANDLER ... READ FIRST
sql/sql_handler.cc:
fix error handling in HANDLER ... READ FIRST
sql/sql_table.cc:
ALTER TABLE closes all open HANDLER's for the table in question
configure.in - there are 32bit installations of HPUX11 out there
and compiling for these by manually adding +DAportable to CFLAGS
did not work. Better add +DD64 manually, if you need it.
distribution
- added Bootstrap, logger.pm and Do-pkg to Build-tools:
Bootstrap is used to build the source distribution for the binary builds
logger.pm includes some helper functions
Do-pkg converts a binary distribution into a Mac OS X PKG (still needs
some polishing)
support-files/MacOSX/Description.plist.sh:
- Shortened IFPkgDescriptionDescription a bit
support-files/MacOSX/Makefile.am:
- Added more files (StartupParameters.plist, postinstall, preinstall) to
distribution
Print a warning if MySQL uses a partial-field key value prefix in a search; that would not work if the search flag would happen to be HA_READ_PREFIX_LAST
innobase/row/row0sel.c:
Print a warning if MySQL uses a partial-field key value prefix in a search; that would not work if the search flag would happen to be HA_READ_PREFIX_LAST
commands" again, since this problem had been fixed differently
already (Thanks to Serg for spotting this)
sql/share/english/errmsg.txt:
Reverted Sinisa's patch again, since this problem had been fixed differently
already (Thanks to Serg for spotting this)
sql/sql_acl.cc:
Reverted Sinisa's patch again, since this problem had been fixed differently
already (Thanks to Serg for spotting this)
Add comment about how to modify InnoDB to deal with partial-field prefixes of key value in the future
sql/ha_innodb.cc:
Add comment about how to modify InnoDB to deal with partial-field prefixes of key value in the future
Add comment about what kind of key value prefixes HA_READ_KEY_PREFIX_LAST etc. allow as a search key
include/my_base.h:
Add comment about what kind of key value prefixes HA_READ_KEY_PREFIX_LAST etc. allow as a search key
Prepare for 5.x where HA_READ_PREFIX_LAST may pass only a few first bytes of the last field in a key value
ha_innodb.cc:
In 4.0 always assume HA_READ_PREFIX_LAST passes a complete-field prefix of a key value; LIKE queries use a padding trick
sql/ha_innodb.cc:
In 4.0 always assume HA_READ_PREFIX_LAST passes a complete-field prefix of a key value; LIKE queries use a padding trick
innobase/page/page0cur.c:
Prepare for 5.x where HA_READ_PREFIX_LAST may pass only a few first bytes of the last field in a key value
Reverted wrong patch for mysqld_safe.sh
client/mysqldump.c:
Patch for novell.
scripts/mysqld_safe.sh:
Reverted wrong patch.
(We must delete the files first as otherwise we will get a problem if the files has the wrong permissions or if the machine went down without removing the socket file)
Replaced mysql.de.texi in mysql-4.0 tree with dummy placeholder.
Moved world.sql sample database to mysqldoc tree.
BitKeeper/deleted/.del-world.sql~6603b5c62c5bac53:
Delete: Docs/world.sql
Docs/manual.de.texi:
Moved mysql.de.texi from mysql-4.0 tree to mysqldoc tree.
Replaced mysql.de.texi in mysql-4.0 tree with dummy placeholder.
sql/sql_class.cc:
backporting Peter's fix for better RAND() initialization from 4.0
to see what it does try
perl -e 'while($N=shift) { printf "N=%-10d",$N; @b=@c=(); for (1..$N) { @a=split(" ",`mysql -BNe "select rand(), rand(), rand(), rand()"`); for(0..3) { $b[$_]+=$a[$_]; $c[$_]+=$a[$_]*$a[$_]; }} for (0..3) { printf "%15.14f ",($c[$_]-$b[$_]*$b[$_]/$N)/$N } print "\n" }' 10 10 10 100 100 10 100 1000
before and after the fix