Bug #35724 Non-found left join data passed as a parameter to a function in WHERE
Submitted: 31 Mar 2008 22:24 Modified: 4 Mar 2009 18:42
Reporter: Tomas Valenta Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: Optimizer Severity:S2 (Serious)
Version:MySQL 5.0.51a-community-nt, 5.1, 6.0 BK OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution, functions, join, null, Parameter, stored procedures, where
Triage: Triaged: D3 (Medium)

File: Maximum allowed size is 3MB.

If the data you need to attach is more than 3MB, you should create a compressed archive of the data and a README file that describes the data with a filename that includes the bug number (recommended filename: mysql-bug-data-35724.zip) and upload one to sftp.oracle.com. A free Oracle Web (SSO) account (the one you use to login bugs.mysql.com) and a client that supports SFTP are required in order to access the SFTP server.

To upload the file to sftp.oracle.com:

  1. Open an SFTP client and connect to sftp.oracle.com. Specify port 2021 and remote directory /support/incoming/.
  2. Log in with your newly created Oracle Web account (email address) and password.
  3. Upload the archive to /support/incoming.
  4. Once you have uploaded the file, add a comment to this bug to notify us about it.
Example: sftp -oPort=2021 -oUser=email sftp.oracle.com:/support/incoming

Usage Notes: This directory is unlistable, which means that once you have uploaded your file, you will not be able to see it. A file cannot be uploaded more than once with the same filename. The filename must be changed before attempting to upload the file again. The filename should always start with mysql-bug- prefix. Files are retained on the SFTP server for 7 days and then permanently removed.

[4 Mar 2009 12:15] Bugs System
Bug #35724 Patch(1 of 8)

Attachment: mysql_system_tables.sql (text/x-sql), 20.45 KiB.

[4 Mar 2009 12:16] Bugs System
Bug #35724 Patch(2 of 8)

Attachment: lex.h (text/x-chdr), 22.74 KiB.

[4 Mar 2009 12:17] Bugs System
Bug #35724 Patch(3 of 8)

Attachment: sql_lex.h (text/x-chdr), 58.58 KiB.

[4 Mar 2009 12:18] Bugs System
Bug #35724 Patch(4 of 8)

Attachment: sql_yacc.yy (application/octet-stream, text), 417.93 KiB.

[4 Mar 2009 12:19] Bugs System
Bug #35724 Patch(5 of 8)

Attachment: item_func.h (text/x-chdr), 48.22 KiB.

[4 Mar 2009 12:20] Bugs System
Bug #35724 Patch(6 of 8)

Attachment: item_func.cc (text/x-c++src), 155.41 KiB.

[4 Mar 2009 12:21] Bugs System
Bug #35724 Patch(7 of 8)

Attachment: sp.h (text/x-chdr), 3.88 KiB.

[4 Mar 2009 12:21] Bugs System
Bug #35724 Patch(8 of 8)

Attachment: sp.cc (text/x-c++src), 61.27 KiB.

[5 Mar 2009 11:28] Bugs System
Revised Patch (6 of 8), please discard the previous patch (6 of 8).

Attachment: item_func.cc (text/x-c++src), 155.43 KiB.