mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Move handler dependent tests to the specific handler (myisam, bdb, innodb)
Enabled VARCHAR testing for innodb NOTE: innodb.test currently fails becasue of a bug in InnoDB. I have informed Heikki about this and expect him to fix this ASAP mysql-test/include/varchar.inc: Move handler dependent tests to the specific handler (myisam, bdb, innodb) mysql-test/r/innodb.result: Added varchar tests mysql-test/r/myisam.result: Update results mysql-test/t/bdb.test: Move handler dependent tests to the specific handler (myisam, bdb, innodb) mysql-test/t/innodb.test: Enabled VARCHAR testing mysql-test/t/myisam.test: Move handler dependent tests to the specific handler (myisam, bdb, innodb) sql/sql_parse.cc: Indentation fixes sql/sql_table.cc: Fixed bug introduced when doing cleanup
This commit is contained in:
@@ -5845,12 +5845,14 @@ bool st_select_lex::init_nested_join(THD *thd)
|
||||
TABLE_LIST *st_select_lex::end_nested_join(THD *thd)
|
||||
{
|
||||
TABLE_LIST *ptr;
|
||||
NESTED_JOIN *nested_join;
|
||||
DBUG_ENTER("end_nested_join");
|
||||
|
||||
DBUG_ASSERT(embedding);
|
||||
ptr= embedding;
|
||||
join_list= ptr->join_list;
|
||||
embedding= ptr->embedding;
|
||||
NESTED_JOIN *nested_join= ptr->nested_join;
|
||||
nested_join= ptr->nested_join;
|
||||
if (nested_join->join_list.elements == 1)
|
||||
{
|
||||
TABLE_LIST *embedded= nested_join->join_list.head();
|
||||
@@ -5860,11 +5862,10 @@ TABLE_LIST *st_select_lex::end_nested_join(THD *thd)
|
||||
join_list->push_front(embedded);
|
||||
ptr= embedded;
|
||||
}
|
||||
else
|
||||
if (nested_join->join_list.elements == 0)
|
||||
else if (nested_join->join_list.elements == 0)
|
||||
{
|
||||
join_list->pop();
|
||||
DBUG_RETURN(0);
|
||||
ptr= 0; // return value
|
||||
}
|
||||
DBUG_RETURN(ptr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user