LIMIT fixed
AVG & STD with subselect fixed
join_free fixed to be depended queries compatible
sort_default removed from SELECT_LEX
mysql-test/r/subselect.result:
new subselect tests
mysql-test/t/subselect.test:
new subselect tests
sql/item.cc:
marking as depended _ALL_ subselects under select from wich depend
sql/item_subselect.cc:
limit fixed
TODO added
sql/sql_class.cc:
AVG & STD function with subselects fixed
sql/sql_lex.h:
sort_default removed
sql/sql_parse.cc:
limit fixed
sql/sql_select.cc:
fixed to be subselect compatible
sql/sql_yacc.yy:
sort_default removed
All charset.conf files were extended to supply unicode mapping array
CONVERT() now uses more common order of arguments: CONVERT(expr,charset_from,charset_to)
Dynamic charset can be used as CONVERT() argument
mysys/charset.c:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/armscii8.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/cp1251.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/cp1257.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/croat.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/danish.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/dec8.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/dos.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/estonia.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/german1.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/greek.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/hebrew.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/hp8.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/hungarian.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/koi8_ru.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/koi8_ukr.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/latin1.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/latin2.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/latin5.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/swe7.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/usa7.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/win1250.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/win1251.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/share/charsets/win1251ukr.conf:
Added filling of unicode mapping arrays during charset.conf loading
sql/sql_yacc.yy:
Changed the order of arguments to Convert(expr,charset_from,charset_to)
Dynamic charsets are now resolved too for Convert() arguments
mysys/my_getopt.c:
Fixed two bugs in my_getopt:
- Didn't exit with error if a short option was not recognized. Fixed.
- If unrecognized short option was not the first one in the list,
printed "unknown option" error for wrong option. Fixed.
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name
Docs/manual.texi:
Update of TRUNCATE() information
configure.in:
Fix for HPUX
extra/resolveip.c:
Fix for SCO
include/my_net.h:
Fix for HPUX
libmysql/libmysql.c:
Removed warning on HPUX 10.20
mysql-test/r/func_math.result:
Test of new TRUNCATE handling
mysql-test/t/func_math.test:
Test of new TRUNCATE handling
mysys/my_gethostbyname.c:
Portability fix
sql/item_func.cc:
Change TRUNCATE(number) to truncate towards zero for negative numbers
sql/sql_show.cc:
Fix NULL handling for DESCRIBE table_name
Now it properly returns error.
Added respective test case.
sql/repl_failsafe.cc:
fixed bug: load table from master w/ empty master would hang.
Now it properly returns error.
sql/slave.cc:
Released some variables in non-debug version. These are needed
in mysqld.cc my_getopt struct, which defines some options,
which are used by mysql_test in a non-debug version.
sql/sql_repl.cc:
Released some variables in non-debug version. These are needed
in mysqld.cc my_getopt struct, which defines some options,
which are used by mysql_test in a non-debug version.
of an error in option handling. This can sometimes be useful in
scripts.
Changed some exit code names and corresponding numbers.
Fixed a bug in mysqld.cc, in replication related options.
Added a global flag in my_getopt, which can be set by any program
that is using my_getopt, which tells whether the client should
print the error message itself, or whether my_getopt should do it.
The default is that my_getopt will print the error messages.
client/mysql.cc:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqladmin.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqlbinlog.cc:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqlcheck.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqldump.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqlimport.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqlmanager-pwgen.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqlmanagerc.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqlshow.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/mysqltest.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
client/thread_test.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
extra/my_print_defaults.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
extra/mysql_install.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
extra/perror.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
extra/resolve_stack_dump.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
extra/resolveip.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
include/my_getopt.h:
Added global (flag) variable which tells my_getopt whether to
print errors or just silently exit with proper error code.
include/mysys_err.h:
Changed exit code names and corresponding numbers.
isam/isamchk.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
isam/pack_isam.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
myisam/ft_dump.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
myisam/ft_eval.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
myisam/ft_test1.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
myisam/mi_test1.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
myisam/myisamchk.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
myisam/myisampack.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
mysys/my_getopt.c:
Changed exit code names and corresponding numbers. Added a flag
for checking whether my_getopt should print the error message,
or whether it should be printed by the client itself.
sql/gen_lex_hash.cc:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
sql/mysqld.cc:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
Fixed a bug when compiling in non-debug mode, some replication
related options were not enabled while they should be. This made
'make test' to fail in rpl000010 when --with-debug was not used.
tools/mysqlmanager.c:
Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.
Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
sql/ha_innobase.cc:
Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
BitKeeper/etc/logging_ok:
auto-union
BUILD/SETUP.sh:
Auto merged
Docs/manual.texi:
Auto merged
extra/resolveip.c:
Auto merged
include/my_sys.h:
Auto merged
mysql-test/t/type_enum.test:
Auto merged
mysys/mf_strip.c:
Auto merged
mysys/raid.cc:
Auto merged
include/my_net.h:
merge
mysql-test/r/type_enum.result:
merge
mysql-test/t/type_decimal.test:
merge
mysys/Makefile.am:
merge
sql/sql_db.cc:
merge
sql/sql_parse.cc:
merge
Remove end space from ENUM and SET strings
mysql-test/t/type_enum.test:
Test of end space in enum's
Docs/manual.texi:
Changelog
include/my_sys.h:
Renamed stripp_sp -> strip_sp
mysql-test/r/type_enum.result:
Test of end space in enums
mysys/Makefile.am:
change stripp_sp -> strip_sp
mysys/mf_strip.c:
change stripp_sp -> strip_sp
sql/sql_db.cc:
change stripp_sp -> strip_sp
sql/sql_parse.cc:
change stripp_sp -> strip_sp
Remove end space from ENUM and SET strings
Fixed some portability things in my_gethostbyname_r
Portability fix for type_decimal.test
BUILD/SETUP.sh:
Fixes for gcc 3.1
extra/resolveip.c:
Cleanup
include/my_net.h:
Portability fix for SCO
mysql-test/t/type_decimal.test:
Portability fix for FreeBSD
mysys/Makefile.am:
Portability fix for OSF1
mysys/raid.cc:
Portability fix for OSF1
sql/item.cc:
Auto merged
sql/item.h:
Auto merged
sql/item_sum.cc:
Auto merged
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_select.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
sql/table.h:
Auto merged
sql/item_strfunc.h:
merge layout fixing
sql/sql_update.cc:
merge layout fixing
mysql-test/r/subselect.result:
depended subselect test
mysql-test/t/subselect.test:
depended subselect test
sql/item.cc:
resolving field names in depended queries
sql/item_subselect.cc:
move optimization just before execution, because we can't optimize inner depended subselect if have not optimized outer subselect
sql/item_subselect.h:
move optimization just before execution
sql/sql_lex.h:
some inline methods to hide internal SELECT_LEX structures
sql/sql_select.cc:
fixed error