Merge lp:~ziminq/drizzle/fix-bug550090 into lp:~drizzle-trunk/drizzle/development
Proposed by
ziminq
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Monty Taylor | ||||
Proposed branch: | lp:~ziminq/drizzle/fix-bug550090 | ||||
Merge into: | lp:~drizzle-trunk/drizzle/development | ||||
Diff against target: |
23 lines (+5/-1) 1 file modified
drizzled/statement/select.h (+5/-1) |
||||
To merge this branch: | bzr merge lp:~ziminq/drizzle/fix-bug550090 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Aker | Disapprove | ||
Review via email: mp+22863@code.launchpad.net |
Description of the change
This bug is caused due to the member used without being initialized at first.
The calling path can be reached to the execution of 'select' statement by 'select * from show_tables' and 'show tables'. On the later case, the select statement is setShowPredicate() at first, while for the former case, it's not. Hence, it causes the bug.
To post a comment you must log in.
Unmerged revisions
- 1442. By ziminq
-
fix bug 550090
Hi!
Thanks, you were right on the bug.I applied a different solution to the problem though. Inside of the table function if schema was not found, then the current schema should be used. If that is not found? Then the table function should return zero rows.
Thanks!
Cheers,
-Brian