Some optimization to reduce rules number in sql_yacc.yy
mysql-test/r/create.result:
Now table and database inhirited a character set from a level above at CREATE time
mysql-test/r/fulltext.result:
Now table and database inhirited a character set from a level above at CREATE time
mysql-test/r/innodb.result:
Now table and database inhirited a character set from a level above at CREATE time
mysql-test/r/merge.result:
Now table and database inhirited a character set from a level above at CREATE time
mysql-test/r/show_check.result:
Now table and database inhirited a character set from a level above at CREATE time
mysql-test/r/symlink.result:
Now table and database inhirited a character set from a level above at CREATE time
mysql-test/r/type_enum.result:
Now table and database inhirited a character set from a level above at CREATE time
mysql-test/r/type_set.result:
Now table and database inhirited a character set from a level above at CREATE time
sql/sql_yacc.yy:
Now table and database inhirited a character set from a level above at CREATE time
Some optimization to reduce rules number
New class Item_func_set_collation()
Fixed that "SELECT CONVERT(expr USING charset) GROUP BY 1" was not working
New COLLATION syntax: <expr> COLLATE latin1
mysql-test/r/ctype_many.result:
New test slot has been added
mysql-test/t/ctype_many.test:
New test slot has been added
sql/item_strfunc.cc:
"SELECT CONVERT(expr USING another_charset) GROUP BY 1" was not working as expected
New Item_func_set_collation class
sql/item_strfunc.h:
"SELECT CONVERT(expr USING another_charset) GROUP BY 1" was not working as expected
New Item_func_set_collation class
sql/lex.h:
New keyword
sql/sql_yacc.yy:
Stupid bug fixes
COLLATION syntax
- removoved getopt.h (has been replaced by my_getopt.h)
BitKeeper/deleted/.del-getopt.h~a9ae679fa84f395:
Delete: include/getopt.h
include/Makefile.am:
- Added missing file my_getopt.h to distribution
sql/Makefile.am:
- Added missing files spatial.h adn gstream.h to distribution
mysql-test/r/subselect.result:
added test suite of EXISTS clause
mysql-test/t/subselect.test:
added test suite of EXISTS clause
sql/item_subselect.cc:
added checking out of memory
fixed bug in exists subselect
New fields in CHARSET_INFO for more nice SHOW CHARACTER SET
Dynamic charsets are now handled in faster way
SHOW CHARACTER SET now displays not only compiled charsets but dynamic charsets too
include/m_ctype.h:
Renamed constant
New fields in CHARSET_INFO
include/my_sys.h:
Constant have been moved to m_ctype.h
libmysqld/lib_sql.cc:
Renamed constant
mysys/charset.c:
Dynamic charsets are now handled in new way to speedup things
mysys/test_charset.c:
Renamed constant
sql/mysqld.cc:
Renamed constant
sql/sql_show.cc:
SHOW CHARACTER SET now displays not only compiled charsets but dynamic charsets too
strings/ctype.c:
New fields in CHARSET_INFO
Small fixes in database default charset code
sql/mysql_priv.h:
SHOW CREATE DATABASE name;
sql/sql_db.cc:
SHOW CREATE DATABASE name;
sql/sql_lex.h:
SHOW CREATE DATABASE name;
sql/sql_parse.cc:
SHOW CREATE DATABASE name;
sql/sql_yacc.yy:
SHOW CREATE DATABASE name;
into sanja.is.com.ua:/home/bell/mysql/work-having-4.1
sql/item_strfunc.h:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
fixed bug in sum function in subselect
mysql-test/r/subselect.result:
subselect in having clause
mysql-test/t/subselect.test:
subselect in having clause
sql/item.cc:
subselect in having clause
sql/item.h:
subselect in having clause
sql/item_cmpfunc.cc:
subselect in having clause
sql/item_cmpfunc.h:
subselect in having clause
sql/item_func.cc:
subselect in having clause
sql/item_func.h:
subselect in having clause
sql/item_strfunc.h:
subselect in having clause
sql/item_subselect.cc:
subselect in having clause
sql/item_subselect.h:
subselect in having clause
sql/item_uniq.h:
subselect in having clause
sql/sql_base.cc:
subselect in having clause
sql/sql_class.cc:
subselect in having clause
sql/sql_class.h:
subselect in having clause
sql/sql_handler.cc:
subselect in having clause
sql/sql_lex.cc:
subselect in having clause
sql/sql_lex.h:
subselect in having clause
sql/sql_prepare.cc:
subselect in having clause
sql/sql_yacc.yy:
subselect in having clause
Fixed that MyISAM were not working properly with non-8bit charsets in some cases
CONVERT() function now works properly
myisam/mi_unique.c:
Fix for non-8bit charsets
sql/field.cc:
Initialize blobs with charset
sql/field.h:
Initialize blobs with charset
sql/field_conv.cc:
Initialize blobs with charset
sql/item_strfunc.cc:
CONVERT() function now has working fix_lenght_and_dec(), and it's own
fix_fields()
sql/item_strfunc.h:
CONVERT() function now has working fix_lenght_and_dec(), and it's own
fix_fields()
sql/sql_select.cc:
Fixes for BLOBs
Fixed that wrong charset was used in some cases
CREATE TABLE a (field,...) TYPE=type CHARSET=cset;
sql/handler.h:
New flag to remember whether new table default charset
has been passed in ALTER TABLE
sql/lex.h:
New language symbol
sql/sql_show.cc:
Display default table charset if exists
sql/sql_table.cc:
Check table charset before default server charset
sql/sql_yacc.yy:
New create table option: default table character set
sql/table.cc:
Table charset
sql/unireg.cc:
field->charset must be initialized before. So assumes it is not NULL