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
include/violite.h:
port added to reported parameters
libmysqld/lib_vio.c:
port added to reported parameters
sql/sql_class.h:
port added to reported parameters
sql/sql_parse.cc:
port added to reported parameters
sql/sql_show.cc:
SHOW PROCESSLIST will report port number if it is possible
vio/viosocket.c:
port added to reported parameters
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
- re-added missing pre- and post(un)install scripts to server subpackage
- added config file /etc/my.cnf to the file list (just for completeness)
- make sure to create the datadir with 755 permissions
support-files/mysql.spec.sh:
- re-added missing pre- and post(un)install scripts to server subpackage
- added config file /etc/my.cnf to the file list (just for completeness)
- make sure to create the datadir with 755 permissions
libmysql/libmysql.c:
This is a fix for a bug in connect_timeout.
This bug manifested itself on operating systems that do support poll()
system call, which resulted in a timeout twice the value specified.
That is because timeout executed on both select() and poll().
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
Build-tools/Do-compile:
Auto merged
bdb/dist/configure.in:
Auto merged
scripts/mysqlhotcopy.sh:
Auto merged
sql/ha_innodb.cc:
Auto merged
sql/sql_acl.cc:
Auto merged
Don't make OLD_PASSWORD() a reserved word
mysql-test/r/explain.result:
Test select count(*)
mysql-test/r/func_crypt.result:
Test old_password()
mysql-test/t/explain.test:
Test select count(*)
mysql-test/t/func_crypt.test:
Test old_password()
sql/item_create.cc:
Don't make OLD_PASSWORD() a reserved word
sql/item_create.h:
Don't make OLD_PASSWORD() a reserved word
sql/lex.h:
Don't make OLD_PASSWORD() a reserved word
sql/opt_range.cc:
Remove blank space
sql/opt_sum.cc:
Fix problem in MIN/MAX optimisation
Disable PAGE_CUR_LE_OR_EXTENDS because it does not work for non-latin1 char sets now
innobase/page/page0cur.c:
Disable PAGE_CUR_LE_OR_EXTENDS because it does not work for non-latin1 char sets now
Clarify the meaning of HA_READ_PREFIX_LAST as a search flag. InnoDB assumed the meaning wrong.
sql/ha_innodb.cc:
Clarify the meaning of HA_READ_PREFIX_LAST as a search flag. InnoDB assumed the meaning wrong.