lp:~prafulla-t/drizzle/drz-bugfix-608416

Created by PrafullaT and last modified
Get this branch:
bzr branch lp:~prafulla-t/drizzle/drz-bugfix-608416
Only PrafullaT can upload to this branch. If you are PrafullaT please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
PrafullaT
Project:
Drizzle
Status:
Merged

Recent revisions

1692. By PrafullaT

In Sub-query print, Select_Lex::print
session was not initialized, Fixed it by initializing session
to current_session.
Test now fails with un-resolved col reference (which looks expected)

1691. By PrafullaT

Adding previously (accidentally) deleted code to the condition
in simplify_join

1690. By PrafullaT

Fix for Bug 585644,585628

There was problem in dependency flags setting in a table which is
used to sort tables automatically in case of straght_join option.
These dependency flags are set in simplify_join method.
For a case like (a join b) LEFT JOIN c, c was not getting set to
depend on both a AND b, it was getting set only for either a or b,
as specified in original query.
Fixed it properly. Both bug queries now works fine and
also tested some subquery tests, all looks clean.

1689. By PrafullaT

Fixing build error due to re-arrangement of comments.

1688. By PrafullaT

Fix for Bug 586051

1. test_if_ref method which checks whether predicate is already evaluated
   due to ref/eq_ref access or not was incorrectly removing a predicate
   that was not implicitly evaluated due to ref access (due to presence of filesort ?)
   It was field=NULL predicate.
   Such predicate should be kept and execution engine will filter out rows
   correctly. Removal of such predicate led to returning of rows which had
   NULL for join/predicate columns.
2. field COMP_OP NULL will always false for all fields except when COMP_OP
   is NULL-safe equality operator. Modified range optimizer to return zero
   row count in such cases.
   Query now does not even run. It returns zero result. As such Fix(1) is not
   required but we might hit that case in some other query (I have not tried it
   yet)
3. Fixed Field::val_str to print "NULL" for literal NULL instead of "0". It
   added lot of confusion while debugging.

1687. By lbieber <lbieber@orisndriz03>

Merge Brian - custom lock encapsulation, and myisam lock removel code

1686. By lbieber <lbieber@orisndriz03>

Merge Stewart's branch which now runs all the drizzleslap tests for embedded innodb and Monty's branch which has VJ's branches merged up without the POTFILES.in changes

1685. By Brian Aker <brian@gaz>

Merge Stewart.

1684. By Brian Aker <brian@gaz>

Removes LOCK_system_variables_hash, one goto, drops internall new for std
new (so possible performance regression), fixes bug where Session was not
unlocked correctly.

1683. By Brian Aker <brian@gaz>

Merge Monty/Brian (intltool optional, Tabe Fucntions do case insensitive
comparisons)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~drizzle-trunk/drizzle/development
This branch contains Public information 
Everyone can see this information.

Subscribers