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
Backport from 4.0: fix potential bug if store_lock is called with TL_IGNORE in the middle of a query
sql/ha_innobase.cc:
Backport from 4.0: fix potential bug if store_lock is called with TL_IGNORE in the middle of a query
This fixes some Errcode 13 errors on Windows when deleting tables.
sql/mysql_priv.h:
Moved lower case conversion of database names to check_db_name()
sql/mysqld.cc:
Fix to be able to use 4.0 error message files
sql/sql_db.cc:
Moved lower case conversion of database names to check_db_name()
sql/sql_parse.cc:
Moved lower case conversion of database names to check_db_name()
Added checking of lower_case_table_names for mysql_table_dump() and
mysql_list_fields()
sql/sql_show.cc:
Moved lower case conversion of database names to check_db_name()
sql/table.cc:
Convert database names to lower case in check_db-name() if --lower-case-table-names is used.
made bisone 1.75 compatible code
mysql-test/r/group_by.result:
test of function with agregate function inside
mysql-test/t/group_by.test:
test of function with agregate function inside
sql/item_cmpfunc.cc:
fixed functions to be able work with group function as argument
sql/item_cmpfunc.h:
fixed functions to be able work with group function as argument
sql/item_func.cc:
fixed functions to be able work with group function as argument
sql/item_func.h:
fixed functions to be able work with group function as argument
sql/item_strfunc.cc:
fixed functions to be able work with group function as argument
sql/item_strfunc.h:
fixed functions to be able work with group function as argument
sql/sql_yacc.yy:
made bisone 1.75 compatible code
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
so it's part of the distribution (manual.texi includes this file)
It will be replaced with the correct one from the mysqldoc tree before
building the distribution
- removed generation and inclusion of MIRRORS file, since the mirror list
is no longer part of manual.texi anyway
- replaced YFLAGS with AM_YFLAGS in sql/Makefile.am to make automake happy
- Redirect standard error when checking for dpkg-architecture in ltconfig
to avoid error message showing during configuration
Docs/Makefile.am:
- added reservedwords.texi (which gets included by manual.texi)
- removed MIRRORS (mirror list is not part of the manual anymore)
Docs/reservedwords.texi:
- Updated wording a bit after adding it to the tree
Makefile.am:
- removed MIRRORS from EXTRA_DIST (it's not part of the manual anymore)
ltconfig:
- Redirect standard error when checking for dpkg-architecture
to avoid error message showing during configuration (thanks to
John Wythe for the patch)
sql/Makefile.am:
- replaced YFLAGS with AM_YFLAGS to make automake happy
Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
sql/ha_innobase.cc:
Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
This fixes a possible core dump problem in SHOW PROCESSLIST
sql/slave.cc:
Only set thd->query to 0 if LOCK_thread_count is hold
sql/sql_db.cc:
Only set thd->query to 0 if LOCK_thread_count is hold
Also first set query_length, then query
sql/sql_parse.cc:
Indentation changes
packet is issued.
BitKeeper/deleted/.del-net.c~ef21d6402bb882f9:
Delete: libmysql/net.c
sql/sql_select.cc:
reversing a fix, but we shall yet see about this one ...
Safety fix to not cause conflicts with extended packages in 4.0.
sql/mysqld.cc:
Safety fix to not allow one to specify too big max_alloc_packet
sql/net_serv.cc:
Safety fix to not cause conflicts with extended packages in 4.0.
(Should not cause any notable changes for 3.23 servers)
sql/log.cc:
Fix for a bug in query logging ...
sql/mysqld.cc:
Fix for a bug with max_allowed_packt
sql/sql_select.cc:
Fix for a bug which is caused when a single table is scanned by
entire index and WHERE clause is so broad that JOIN type is JT_ALL.
Better error message to help users who created tables with < 3.23.54 where MySQL implicitly added a PRIMARY KEY definition
sql/ha_innobase.cc:
Better error message to help users who created tables with < 3.23.54 where MySQL implicitly added a PRIMARY KEY definition
sql/sql_show.cc:
Fixed rare bug in show processlist which could cause core dump if a new thread was connecting.
(We where calling mutex_unlock() without having ever called mutex_lock)
sql/sql_udf.cc:
Fixed warning from valgrind
sql/mysqld.cc:
With the introduction of Pro release version the InnoDB table engine
was added for all binaries and not more define only the max package
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
sql/ha_innobase.cc:
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/include/db0err.h:
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/dict/dict0dict.c:
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
innobase/row/row0mysql.c:
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
- sql_analyse.cc: Fixed bug in decimal handling
configure.in:
- Portability fix for HP compiler on HPUX11
libmysql/password.c:
- Portability fix for HP compiler on HPUX11
mysys/hash.c:
- Portability fix for HP compiler on HPUX11
mysys/my_static.c:
- Portability fix for HP compiler on HPUX11
mysys/my_static.h:
- Portability fix for HP compiler on HPUX11
mysys/my_tempnam.c:
- Portability fix for HP compiler on HPUX11
sql/sql_analyse.cc:
- Fixed bug in decimal handling