doing it in sql_yacc.yy does not work
this commit contains fixes for other tests
there are fixes in subselect test which will have to be changed
once fix_fields is fixed to work with aliased derived tables
mysql-test/r/subselect.result:
Auto merged
mysql-test/t/subselect.test:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/item.cc:
after review changes
sql/item.h:
after review changes
sql/item_subselect.cc:
after review changes
sql/mysql_priv.h:
after review changes
sql/sql_base.cc:
after review changes
include/m_ctype.h:
Typo fix
sql/field.cc:
Use new string-to-number functions
strings/ctype-bin.c:
Use new string-to-number functions
strings/ctype-simple.c:
Use new string-to-number functions
strings/ctype-utf8.c:
Use new string-to-number functions
sql/item.cc:
Auto merged
sql/item.h:
Auto merged
sql/item_cmpfunc.cc:
Auto merged
sql/item_cmpfunc.h:
Auto merged
sql/item_subselect.cc:
Auto merged
sql/item_subselect.h:
Auto merged
sql/item_sum.cc:
Auto merged
sql/item_sum.h:
Auto merged
sql/lex.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_parse.cc:
Auto merged
Added my_global.h to compile after my_list.h is added to mysql.h
sql_prepare.cc:
Handle close stmt from client
Minor fixups to make SET variable=? to work
sql_parse.cc:
Added missed COM_CLOSE_STMT
mysql_priv.h:
Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
libmysql.c:
Clean all open stmts during mysql_close() implicitly
libmysql/libmysql.c:
Clean all open stmts during mysql_close() implicitly
sql/mysql_priv.h:
Handle close_stmt from client
Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
sql/sql_parse.cc:
Added missed COM_CLOSE_STMT
sql/sql_prepare.cc:
Handle close stmt from client
Change mysql_stmt_close to mysql_stmt_free to not to conflict with client type
Minor fixups to make SET variable=? to work
client/insert_test.c:
Added my_global.h to compile after my_list.h is added to mysql.h
client/select_test.c:
Added my_global.h to compile after my_list.h is added to mysql.h
sql/sql_delete.cc:
new order in global select list
sql/sql_derived.cc:
removed recursion from derived tables
sql/sql_insert.cc:
new order in global select list
sql/sql_lex.h:
pointer to global select list
sql/sql_select.cc:
new order in global select list
sql/sql_update.cc:
new order in global select list
sql-bench/crash-me.sh:
Add tests:
- If double double quotes are allowed in identifiers.
- Rollback rolls back meta data
- NULL sort and NULL sort perserve.
- remove one check of "serial".
- (Column,Table,Named constraints) new test to crash me if the check syntax is
only supported by the parser, but not done for real.
- For all ..USER tests, (like current_user), add an extra test if
...USER() is supported.
- Add tests for constants TRUE and FALSE
- Add test of LIMIT # OFFSET (PostgreSQL syntax)
- tests of a lot of new functions
mysql-test/r/subselect.result:
Multi-delete with subselect test
mysql-test/t/subselect.test:
Multi-delete with subselect test
sql/sql_parse.cc:
multi-delete with subselects
mysql-test/r/subselect.result:
test of insert/replace with subselects
mysql-test/t/subselect.test:
test of insert/replace with subselects
sql/sql_insert.cc:
subselects in insert/replace
sql/sql_yacc.yy:
subselects in insert/replace
sql/mysql_priv.h:
Auto merged
sql/sql_base.cc:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_parse.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_update.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
mysql-test/r/subselect.result:
SCCS merged
mysql-test/t/subselect.test:
SCCS merged
sql/item.h:
Auto merged
sql/item_create.cc:
Auto merged
sql/item_func.h:
Auto merged
sql/item_strfunc.cc:
Auto merged
sql/opt_range.cc:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_lex.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
sql/item.h:
Made some virtual functions non virtual (as they are not used virtually)
sql/item_strfunc.cc:
Optimizations.
sql/item_strfunc.h:
Fixed BINARY handling
sql/sql_string.h:
Indentation cleanups